[x264-devel] x264_encoder_reconfig needs to copy more

Jason Garrett-Glaser darkshikari at gmail.com
Wed Sep 8 01:14:04 CEST 2010


On Tue, Sep 7, 2010 at 1:12 PM, Marco <g.marco at freenet.de> wrote:
> Hi
>
> ffmpeg needs to change the field order for bottom_field_first files.
> Since this is first known after init, it must be set with
> x264_encoder_reconfig. That will copy many parameters except b_interlaced and
> b_tff.
> But for interlaced files this is need (special for bottom_field_first frames).
>
> i made a patch for ffmpeg and x264 to support also bottom_field_first frames.
> i hope this can be applied to git.
>
> regards and thx
> marco

b_interlaced cannot be copied that simply; you'd have to reinitalize
the encoder.

The b_tff portion is correct.

Dark Shikari


More information about the x264-devel mailing list