Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.0 RC
-
None
-
ARM64_v8a & Google Pixel8
Android version 14
-
-
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 |
602493,4 | FFmegVideoEncoder: calculate bitrate settings | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
604710,2 | FFmegVideoEncoder: calculate bitrate settings | 6.8 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
604713,2 | FFmegVideoEncoder: calculate bitrate settings | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |