Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128936

[Boot2Qt] Getting "GStreamer error: negotiation problem" with RPi camera (CSI)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.8.0
    • 6.8.0
    • Multimedia
    • None
    • Linux/Yocto
    • 41867c5c3 (dev), 4780c45e8 (kirkstone), 5984a898d (scarthgap)
    • Multimedia wk 35-38, Multimedia wk 39-40

    Description

      Linux Ubuntu 22.04.4 / Wayland

      Qt Creator 14.0.2

      Device: Raspberry Pi4 64 bit 

      Steps to reproduce:

      1. Launch example camera app on RPi target device
      2. Select CSI camera

      Expected: The app should stream the video from camera. 

      Actual: Getting error and green screen is displayed instead of view from the camera.

      QGstreamerMediaCapture: received error from gstreamer GStreamer error: negotiation problem. /usr/src/debug/gstreamer1.0-plugins-base/1.22.11/gst/videoconvertscale/gstvideoconvertscale.c(1360): gst_video_convert_scale_fixate_size (): /GstPipeline:mediaCapturePipeline/GstBin:camerabin/GstVideoScale:videoScale:
      Error calculating the output scaled size - integer overflow 

      Note: I observed that when I have two cameras connected and I switch the resolution of other camera, the CSI camera starts working. But if the CSI is the only camera or I didn't change the resolution it shows only greem flickering screen.

      Reproducibility:  100%

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              timblechmann tim blechmann
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes