Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6487

Detect that the FFmpeg plugin has been loaded

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 6.8
    • RTA
    • None
    • All
    • cc51ea8c0 (master)

      The FFmpeg media plugin is a primary media backend that must be delivered and loaded properly. Running the examples without extra logging may not reveal which media plugin has been loaded.

      To check that the FFmpeg plugin has been loaded, one of the following classes should be used in the tested example: QMediaPlayer, QMediaRecorder, QScreenCapture, QWindowCapture, QCamera, QAudioDecoder, QMediaCaptureSession.
      The FFmpeg plugin writes development logs with the logging category qt.multimedia.ffmpeg.XXX, checking the logs can be an indicator that the plugin has been loaded.

      To turn on the logs, you should set the environment variable QT_LOGGING_RULES:

      export QT_LOGGING_RULES="*.ffmpeg.*=true"
      

        For Gerrit Dashboard: QTQAINFRA-6487
        # Subject Branch Project Status CR V

            joaijala Johanna Äijälä
            artemiy Artem Dyomin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes