[x264-devel] x264_encoder_reconfig needs to copy more

Marco marco at gitma.de
Tue Nov 23 21:08:34 CET 2010


Hi

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

thx and 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/20101123/40e1a35c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3517 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20101123/40e1a35c/attachment-0001.bin>


More information about the x264-devel mailing list