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

qtcamera with gstreamer backend, encoding setting doesn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-51769
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes