Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78443 - [svt-av1] 1.5.0-1 breaks ffmpeg 6.0-5 settings

Attached to Project: Arch Linux
Opened by Karol Wierzchowski (xpeq7) - Monday, 08 May 2023, 14:31 GMT
Last edited by Maxime Gauduin (Alucryd) - Sunday, 14 May 2023, 11:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: FFmpeg 6.0-5 fails to transcode video files after svt-av1 updated to 1.5.0-1
Unsure if upstream problem or packaging problem.
Steps to reproduce (replace $input with any video file):
1. open terminal
2. execute ffmpeg -i $input -c:v libsvtav1 test.webm
3. ffmpeg fails to transcode input to av1 codec using libsvtav1 due to broken settings


Example command: ffmpeg -i ./VID20230428122058_00.mp4 -c:v libsvtav1 -c:a libopus -b:a 128k -preset 3 test.webm
Terminal output:
File 'test.webm' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> av1 (libsvtav1))
Stream #0:1 -> #0:1 (aac (native) -> opus (libopus))
Press [q] to stop, [?] for help
[swscaler @ 0x5654e5817d40] deprecated pixel format used, make sure you did set range correctly
Last message repeated 1 times
[swscaler @ 0x5654e5b2adc0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x5654e5817d40] deprecated pixel format used, make sure you did set range correctly
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v1.5.0-dirty
Svt[info]: SVT [build] : GCC 12.2.1 20230201 64 bit
Svt[info]: LIB Build date: Apr 27 2023 15:18:53
Svt[info]: -------------------------------------------
Svt[error]: Instance 1: MinQpAllowed must be smaller than MaxQpAllowed
[libsvtav1 @ 0x5654e235e580] Error setting encoder parameters: bad parameter (0x80001005)
SvtMalloc[info]: you have no memory leak
[vost#0:0/libsvtav1 @ 0x5654e2362340] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
[libopus @ 0x5654e23606c0] 1 frames left in the queue on closing
Conversion failed!
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Sunday, 14 May 2023, 11:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  2:6.0-6
Comment by Toolybird (Toolybird) - Monday, 08 May 2023, 20:39 GMT
> Unsure if upstream problem or packaging problem

Hard to see how it's a packaging problem...but I suppose it's possible ffmpeg might need a recompile against latest svt-av1. See also [1] which looks maybe related.

[1] https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2069
Comment by Karol Wierzchowski (xpeq7) - Tuesday, 09 May 2023, 08:59 GMT
> Hard to see how it's a packaging problem...but I suppose it's possible ffmpeg might need a recompile against latest svt-av1. See also [1] which looks maybe related.
Rebuilt ffmpeg locally yesterday, that fixed this problem. So ffmpeg just needs to be rebuilt again.

Loading...