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

QAudioRecorder 'Could not create a media muxer element: ""' on Arch Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.1
    • 5.10.1
    • Multimedia
    • None
    • my system is using pulseaudio

    Description

      The same code works on Windows and Mac, so i assume an issue with the gstreamer-backend on (arch) linux.

      Here is a basic example what i am trying to do:

      QAudioEncoderSettings settings;
      settings.setCodec("audio/vorbis");
      this->recorder->setContainerFormat("ogg");
      this->recorder->setEncodingSettings(settings);
      this->recorder->setOutputLocation(record_url);
      this->recorder->record();
      

      (changing container and encoding to anything else (e.g. audio/PCM, wav) does not change anything)

      Always the following warning can be seen and the recording does not work:

      Could not create a media muxer element: ""
      

      Attachments

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            nano13 nano13
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: