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

Android: Regression for recording after ffmpeg update to 7.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.8, 6.8.2, 6.9.0 FF
    • 6.8.0 RC
    • Examples and Demos
    • None
    • ARM64_v8a & Google Pixel8
      Android version 14
    • Android
    • 7ace459d6 (dev), bae9700a2 (6.8), 369b3352e (tqtc/lts-6.5)
    • 2024wk44s3FOQtforAndroid, 2024wk46s3FOQtforAndroid

    Description

      After update FFMPEG to 7.1 version - recording video on Pixel 8 device fails with logs below:

      E libdeclarative-camera_arm64-v8a.so: "FFmpeg log: The encoder bitrate is negative."
      W qt.multimedia.ffmpeg.videoencoder: : Couldn't open video encoder hevc_mediacodec ; result: "Invalid argument"
      E libdeclarative-camera_arm64-v8a.so: "FFmpeg log: The encoder bitrate is negative."
      W qt.multimedia.ffmpeg.videoencoder: : Couldn't open video encoder hevc_mediacodec ; result: "Invalid argument"
      W qt.multimedia.ffmpeg.videoencoder: : No valid video codecs found

      Issue can be reproduced with declarative-camera example

      It seems that ffmpeg is checking bitrate - that wasn't checked in previous versions

      Attachments

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

        Activity

          People

            bartlomiejmoskal Bartlomiej Moskal
            bartlomiejmoskal Bartlomiej Moskal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes