[FFmpeg-devel] [PATCH] add fieldorder video filter

Mark Himsley mark at mdsh.com
Fri Apr 1 20:31:41 CEST 2011


On 31/03/11 15:15, Stefano Sabatini wrote:
> On date Thursday 2011-03-31 08:47:38 +0100, Mark Himsley encoded:
>> Second version of this filter. Renamed and updated from the
>> suggestions given for the first version.
>>
>>
>> Converting to and from interlaced PAL DV files, with their
>> bottom-field-first interlace field order, can be a pain. Converting
>> tff files to DV results in tff DV files, which are hard to work with
>> in editing software.
>>
>> The attached filter can:
>>
>> Convert field order by either moving all of the lines in the picture
>> up by 1 line (bff to tff conversion) or down by 1 line (tff to bff
>> conversion). The remaining line, the bottom line in bff to tff
>> transforms or the top line in tff to bff transforms, is filled by
>> copying the closest line in that field.
>>
>> Previous to this filter I have used a filter chain like this to do
>> bff to tff conversion.
>>
>> format=yuv422p,crop=720:575:0:1,pad=720:576:0:0:black
>>
>> but that chain does not fill the remaining line.
>>

[...]

New patch for your consideration.

Thanks for all the help so far, I really appreciate your hard work!

-- 
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_fieldorder_02.patch
Type: text/x-patch
Size: 11502 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110401/ebb2b7ff/attachment.bin>


More information about the ffmpeg-devel mailing list