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

Show/Record Video of H.264 USB Grabber impossible / GStreamer 1.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Out of scope
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Environment:
      Raspberry Pi2, Raspbian Jessie, Cross compiling (Linaro) with Qt 5.5 build of Luca Carlon (thebugfreeblog.blogspot.de), Sensoray S2253 USB Grabber board

      Description

      I use a Sensoray S2253 USB Grabber that also delivers an H.264/MPEG4 encoded stream in connection with a Raspberry Pi 2.
      Qt 5.5 handles uncompressed stream well, but the compressed streams do not work.

      Using the GStreamer Tools its working perfectly - even showing the video with HW acceleration on the Raspberry Pi 2:

      Store as file (MPEG4):
      $ gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/mpeg,mpegversion=4,format=MP42,width=704,height=576,framerate=25/1,pixelformat=uyvy' ! filesink location=test_mpeg4.mp4
      Store as file (H264/AVC):
      $ gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-h264,format=MP42,width=704,height=576,framerate=25/1,pixelformat=uyvy' ! filesink location=test_h264.mp4
      Show on GL display (H.264):
      $ gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-h264,format=MP42,width=704,height=576,framerate=25/1,pixelformat=uyvy,profile=constrained-baseline' ! h264parse ! omxh264dec ! autovideosink

      Is there any hidden way to adjust options Multimedia is using when creating the GStreamer pipeline?

        Attachments

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

          Activity

            People

            Assignee:
            valentyn.doroshchuk Valentyn Doroshchuk
            Reporter:
            woehrl Florian Wöhrl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes