[FFmpeg-devel] [PATCH} Fix vf_tinterlace mode 6 (interlacex2)

Michael Niedermayer michaelni at gmx.at
Sun Mar 16 17:41:25 CET 2014


On Sun, Mar 16, 2014 at 03:29:30PM +0000, Jasper Taylor wrote:
> The purpose of this filter mode is to allow interlaced content to
> display properly in interlaced video modes, as described in
> http://forum.xbmc.org/showthread.php?tid=81834 and
> https://github.com/mpv-player/mpv/issues/624#issuecomment-37685195 .
> The filter doubles the video frame rate, but does not work properly
> because:
> (1) it does not set the properties of the output stream to indicate
> the doubled frame rate, and
> (2) it does not set an appropriate PTS on the extra frames.
> The attached patch fixes these problems by settling these values the
> same way they are set in vf_yadif mode 1 (field) which also doubles
> the frame rate.
>     --jal

>  vf_tinterlace.c |   12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 04585565b9a5a1a5ccbbbf799df305dacfb1a700  patch
> diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140316/361f2ffa/attachment.asc>


More information about the ffmpeg-devel mailing list