Closed shidarin closed 10 years ago
This would be with the --encopts command, the format of:
--encopts ref=16:bframes=8:b-adapt=2:direct=auto:me=umh:merange=24:subq=10:rc-lookahead=60:analyse=all:trellis=2
Currently the animation preset increases the base bframes by 2, as seen in the x264 fullhelp:
http://superuser.com/questions/564402/explanation-of-x264-tune
Which on most settings will only result in bframes of 3, and on slow/slower bframes of 5 as seen here:
Support was added in 82e83718b33531f021ec6ab0cf39e188f90630dd , but the bFrames setting overrode the presets built in bFrames. In c9e4f1aa960ec6759fd748adf11c1ceedd85f744 the bFrames setting was now in addition to the bFrames specified by the preset. Merged into dev in 41277b112b50899dbecf88a83c32aaafdc60e70a
bframes are fantastic for getting the size of a converted movie down at the cost of playback support- most players can't handle bframes.
However, most players that can handle mkv files can handle bframes just fine.
the 'animation' preset is a good start, but it only sets bframes to 2. A new config setting for additional bframes when set to 'animation' would be nice.
'Override Animation Bframes' or so?