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

qtcamera with gstreamer backend, encoding setting doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.5.0, 5.9.2
    • Multimedia
    • * QT 5.5 with Gstreamer 1.6.0 on Freescale I.MX6 platform
      * Qt 5.9.2 with Gstreamer 1.4.4 on Debian 8 (Jessie) x86_64

      run /usr/share/qt5/examples/multimediawidgets/camera/camera,
      switch video capture mode.
      use "File"->"Settings" to change container, audio codec or video codec.
      recording.
      the setting not been taken effect. it always recorded as ogg+theoraenc+vorbisenc.

      The root cause is that gstreamer camerbin need change to NULL state to refresh its internal encode pipeline. but QCamera only set to Loaded state which is READY state for camerbin. so the "video-profile" set by QCamera doesn't take effect in camerbin.

      The patch attached set camerbin to NULL for gstreamer backend. it works fine on my side.

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

            ylopes Yoann Lopes
            mingke.wang Mingke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes