PDA

View Full Version : b frame strategy in ffmpeg


tskd
30th April 2009, 02:19
Can anyone explain to me, what b_frame_strategy actually does in ffmpeg's mpeg-2 encoder?

I tried to understand this in the source code, but don't get the context in that ocean of C code.
Please enlighten

Thanks

Fishman0919
30th April 2009, 04:23
This is from the Mencoder Manual.... I believe it is very close to the same as FFMpeg

(pass one only)
strategy to choose between I/P/B-frames:

0 - Always use the maximum number of B-frames (default).

1 - Avoid B-frames in high motion scenes. See the b_sensitivity option to tune this strategy.

2 - Places B-frames more or less optimally to yield maximum quality (slower). You may want to reduce the speed impact of this option by tuning the option brd_scale.

tskd
30th April 2009, 22:00
Thanks Fishman,

That's helpful information for me to look deeper into those tuning options.

Cheers