[x264-devel] x264_encoder_reconfig needs to copy more

Marco Gittler g.marco at freenet.de
Tue Sep 28 14:33:15 CEST 2010


Hi

2'nd try.
Could someone commit this patch, so that b_tff is copied also in x264_encoder_reconfig

regards marco

> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264_copy_b_tff.patch
Type: application/octet-stream
Size: 469 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20100928/3925602e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3381 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20100928/3925602e/attachment.bin>


More information about the x264-devel mailing list