[FFmpeg-devel] libx264 (no-)mbtree parameter

Jason Garrett-Glaser darkshikari
Fri Dec 4 18:19:13 CET 2009


On Fri, Dec 4, 2009 at 5:09 AM, Erik Slagter <erik at slagter.name> wrote:
> Currently ffmpeg/libavcodec does not an interface to the mbtree
> parameter of libx264. It's probably a few minutes work (even for me ;-))
> to produce it, the question is, how would you like to see this
> implemented:
>
> - enabling b-pyramid disables mbtree automatically (and vv) (dodgy but
> quick)
> - an extra bit in one of the flags
> - "mis"-use one of the existing avcontext fields that aren't used by
> libx264, e.g. prediction_order_method (I really don't know the semantics
> of this field in other codecs, just a wild guess)
> - ignore the issue completely and wait for libx264 to implement
> b-pyramid-compatible mbtree semantics and guess that would obsolete
> no-mbtree.

It's still useful in general, as the faster speed presets in x264 use
--no-mbtree.  Make it a flag.

> inter; ? ? /* inter partitions */i_rc_method

These already exist.

> int b_annexb; ? ? ? ? ? ? ? /* if set, place start codes (4 bytes)

This should never be a commandline option ever.

> i_slice_max_size; ? ?/* Max size per slice in bytes; includes estimated

This is probably the one that I've seen the most requests for.

Dark Shikari



More information about the ffmpeg-devel mailing list