[FFmpeg-trac] #422(avcodec:new): x264 preset and tune options always reset certain ffmpeg params to defaults
FFmpeg
trac at avcodec.org
Tue Aug 30 17:06:55 CEST 2011
#422: x264 preset and tune options always reset certain ffmpeg params to defaults
---------------------+-------------------------
Reporter: takis | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
---------------------+-------------------------
When using ffmpeg with libx264, certain options are always reset to the
default x264 values:
ffmpeg -i /srv/files/videos/test/frame%06d.png -vcodec libx264 -preset
ultrafast -g 16 test.ts
The GOP-size here will be 250 instead of the requested 16.
This is because in X264_init(), the ffmpeg options are set (GOP-size on
line 233), but on line 313 x264_param_default_preset() is invoked, which
in turn invokes x264_param_default() which sets the GOP size to 250 on
line 76 (of x264.git/common/common.c).
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/422>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list