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

Multimedia in Qt 6



    • Epic Name:
      Qt 6 Multimedia
    • Platform/s:


      We need to streamline Qt Multimedia to have more predictable cross-platform support and to reduce our maintenance load.

      We should aim to support the 90% use case and make the rest possible through hooks in the API, and we should aim for all Qt Multimedia APIs to be supported and work on all backends. Additional APIs that are needed but which can only be supported on specific backends, should be exposed through platform-specific APIs, such as in a Qt GStreamer Extras module or similar.

      Preliminary roadmap for Qt6 was drafted here: Qt6 multimedia roadmap

      Strategy for Qt6 multimedia

      In order to serve QML customers in Qt6, we shall create framework that fulfils the requirements of high level use-cases and uses a lean-and-mean multimedia architecture that is built on Qt components originating from old Qt Multimedia, but made private until further notice.

      The components should be also isolated, therefore if customer does not required audio, the audio subsystem would not be imported, etc.

      Plugin support

      Existing QT Multimedia plugins (video/videonode, audio, mediaservice, playlistformats, resourcepolicy) should work with the new Qt Multimedia API. 

      Supported high level use cases

      Overview of high level uses cases in priority order. We should implement these from 1 to n in order or priority, higher in earlier Qt 6 releases and lower priority in later Qt 6 releases. Having said that, there may be dependencies where architecturally the implementation order may vary.

      Supported Qt 6 Multimedia use cases must work on all supported reference targets (in order of prio and sequence set in Platforms Area roadmap). The performance (FPS, memory consumption etc) may vary between targets, the FPS should not drop below 24 on samples and our own pipeline should not be the limiting factor (but HW is). 

      Supported functionality in first release is marked with bold in the list below.

      1. Playback (low and high resolution) video from a local file.
      2. Playback audio from a local file MP3 files, possibly also AAC/Vorbis/OGG. If MP3 patent does not allow shipping the codec the document how to swap from AAC/Vorbis/OGG.
      3. Sound effects with low latency (max 20ms delay) audio with WAV / PCM files
      4. Support for both (low and high resolution) camera.
      5. Ability to control video and audio stream (sample for play, pause, resume, seek).
      6. Ability to draw overlays and add your own functions on top of the video stream
      7. Stream and playback video from network on the device.
      8. Utilization of GPU / HW acceleration in embedded HW.
      9. Extracting frames / video for analysis from a buffer/file.
      10. Ability to select which camera to use in case there are more than one.
      11. Capture a picture (a frame) from camera to a buffer/file.
      12. Recording video from camera to a buffer/file. Assume also that if the camera stream contains audio the recording captures both, video and audio.
      13. Recording audio (assume from a microphone)

      All other features not listed above will not be supported as part of Multimedia but rather they will need native / OS specific solution. Multimedia works in both QML UI and WidgetUI application (if priority needed QML comes first)

      Uncertain items - We do not yet know the fate of these

      1. Wider set of codecs and formats (MP4, MP3, Ogg/Vorbis, vp8, vp9, AV1 etc etc)

      Out-of-scope for now - Features that may be supported later

      1. Stream video (and Camera) out from the device (to network over RTSP or TCP/IP).
      2. Camera/video settings, like changing fps, resolution, pixel formats, zoom, focus, white balance etc.
      3. Custom G-streamer pipelines. Note that there are no any technical limitations to support this. Currently supported in Qt 5.
      4. Support more than one camera at a time
      5. Capture image settings. Codec, resolution.
      6. Image processing settings for captured images. Brightness, contrast, etc.
      7. Extracting audio frames from camera and media player.
      8. Locking the camera.
      9. Exposure settings for the camera.
      10. Focus settings for the camera.
      11. Flash settings for the camera.
      12. Audio roles, supported mime types for media player.
      13. Metadata in media player.
      14. Playlist


          Issue Links

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



              javihria Jarko Vihriälä
              hakjol Harald Kjølberg (Inactive)
              PM Owner:
              Jarko Vihriälä Jarko Vihriälä
              RnD Owner:
              Tor Arne Vestbø Tor Arne Vestbø
              6 Vote for this issue
              30 Start watching this issue



                  Gerrit Reviews

                  There are no open Gerrit changes