[FFmpeg-trac] #9336(undetermined:new): -cpu-used 9 does not work with libaom's realtime mode
FFmpeg
trac at avcodec.org
Sun Jul 18 21:15:13 EEST 2021
#9336: -cpu-used 9 does not work with libaom's realtime mode
-------------------------------------+-------------------------------------
Reporter: veikk0 | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: libaom | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
FFmpeg exits with an error message when attempting to invoke libaom's
realtime mode with -cpu-used 9.
Speed 9 was added to libaom some time ago. It's only valid for realtime
mode, however.
Note that #9335 affects running libaom in realtime mode, and it may or may
not prevent successfully using realtime mode even if this issue is fixed.
Error message:
{{{
[libaom-av1 encoder @ 0x55af2e7b3f40] Value 9.000000 for parameter 'cpu-
used' out of range [0 - 8]
[libaom-av1 encoder @ 0x55af2e7b3f40] Error setting option cpu-used to
value 9.
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
}}}
How to reproduce:
{{{
ffmpeg -i input.mp4 -an -c:v libaom-av1 -cpu-used 9 -usage realtime -b:v 0
-crf 40 -y cpu9.mp4
}}}
Version and build information:
{{{
ffmpeg version N-102971-g13ec6624b3
built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9336>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list