[FFmpeg-devel] [PATCH] vf_yadif: Tolerate pts rollover.

Nicolas George nicolas.george at normalesup.org
Tue May 15 12:52:03 CEST 2012


Le sextidi 26 floréal, an CCXX, Luca Barbato a écrit :
> The problem I guess you are trying to solve is due the fact you have the
> pts rolling over between two fields you'd merge.
> 
> So what you are doing is trying to make so it gets to merge the two
> fields in a frame and output the frame with the correct timestamp.
> 
> I'm wondering if there is a simpler way to achieve that.

IMHO, the sanest approach is to expect, in any filter that requires it, PTS
to be sane and consistent, and to provide a filter to fix PTS in various
ways (interpolation, rollover compensation) if the user needs it.

Regards,

-- 
  Nicolas George
-------------- 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/20120515/e8c90300/attachment.asc>


More information about the ffmpeg-devel mailing list