Open gsnoff opened 6 months ago
MLT (see src/modules/avformat/consumer_avformat.c
) does not treat "vbr" as boolean. It handles it generically by supplying the value as a string using av_opt_set()
. Many AVOptions
take a numeric or string value. I do not know why FFmpeg has a problem converting a string to an integer, which is rather trivial compared to converting video! ;-) Search that code file, and there is no "vbr" or "on" string in it! So, maybe this is some bug internal to your FFmpeg version. (I do not use libfdk_aac anymore to test this myself.)
Currently when I specify
vbr=4
while using thelibfdk_aac
encoder, something like this happens:Apparently MLT attempts to represent any non-false value for the
vbr
parameter ason
boolean value, before passing to libavformat. This may be correct for codecs like libopus, which do expect a boolean value in this parameter. However the libfdk_aac codec actually expects an integer there (see https://trac.ffmpeg.org/wiki/Encode/AAC#fdk_vbr).(MLT 7.22.0, Debian GNU/Linux testing 13 'trixie', with Deb Multimedia Packages, Linux 6.6.15)