[FFmpeg-devel] [PATCH] telecine filter
ubitux at gmail.com
Mon Apr 8 20:34:50 CEST 2013
On Mon, Apr 08, 2013 at 05:58:18PM +0000, Paul B Mahol wrote:
> >> + tc->frame[nout]->pts = AV_NOPTS_VALUE;
> > This seems broken behavior at best.
> Yes, that why there is TODO, note that there is no perfect solution
> possible with current lavfi API.
> (FYI original code does not have this issue)
> So I need fedback in that area.
I believe a local frame counter you use to generate pts will be good
enough for now. The inlink has the frame rate set, and you can compute the
new frame rate.
Of course, it will not work that good with seeking, but it's what we do in
various other filters already, and there is, AFAIK, no better solution
currently. See the pending decimate filter for details on how to implement
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel