[FFmpeg-devel] [PATCH] Port tinterlace filter from MPlayer.

Stefano Sabatini stefano.sabatini-lala at poste.it
Tue Jun 28 11:08:36 CEST 2011


On date Monday 2011-06-27 23:49:09 +0200, Stefano Sabatini encoded:
> On date Sunday 2010-09-26 20:32:48 +0200, Michael Niedermayer wrote:
[...]
> Updated based on the tinterlace port from FFmbc, with some
> simplifications.

Updated again, with a request_frame() implementation.

Some questions:

1) what do we want to do with the limpcodecs wrapper as they are
ported to native filters? (I suppose the right answer is "drop them"
=> less code to maintain, in this case mpcodecs/tinterlace is broken
and in general fixing those filters - with no previous knowledge of
libmpcodecs - requires more time than porting them).

2) Regarding mode 3:
|Expand each frame to full height, but pad alternate lines with
|black; framerate unchanged and double height.

the padded lines are always the even lines, if I'm not wrong real
television devices alternate even and odd lines scanning, which in
this case generate a very fastidious flickering effect (which
theoretically should not be not be perceived at high framerates).

I can add another mode (would be "5" for retaining MPlayer
compatibility), for implementing this behavior, I'd like to hear some
interlace "experts" opinion regarding this.
-- 
FFmpeg = Fantastic and Fabulous Marvellous Pitiless ExchanGer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-port-tinterlace-filter-from-MPlayer.patch
Type: text/x-diff
Size: 15031 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110628/b8a108bf/attachment.bin>


More information about the ffmpeg-devel mailing list