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

opus: Could not write header

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.7, 6.8
    • Multimedia
    • None

      Getting an error about writing opus headers, the codec is listed as available since enabling qputenv("QT_ENABLE_EXPERIMENTAL_CODECS", "1"_L1);

      But I am getting an error could not write header, error: -1094995529 "Invalid data found when processing input"
      QUrl("file:///C:/Users/Music/record_0001.ogv")

      With

      mediaFormat.setFileFormat(QMediaFormat::Ogg);
      mediaFormat.setAudioCodec(QMediaFormat::AudioCodec::Opus);

       

      Using wave works just fine:

      mediaFormat.setAudioCodec(QMediaFormat::AudioCodec::Wave);

      mediaFormat.setFileFormat(QMediaFormat::Wave);

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

            qtmultimediateam Qt Multimedia Team
            reg31 Regis Duflaut
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes