[FFmpeg-devel] [PATCH] telecine filter
Clément Bœsch
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
such solution.
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130408/153f2392/attachment.asc>
More information about the ffmpeg-devel
mailing list