[MPlayer-dev-eng] Framerate filter?
Joey Parrish
joey at nicewarrior.org
Sun Apr 13 23:02:07 CEST 2003
On Sun, Apr 13, 2003 at 03:34:47AM -0400, D Richard Felker III wrote:
> IMO, the solution is to move the frame skipping (and possibly also
> duplication) code OUT of mencoder.c, and into a video filter. This
> filter would normally be loaded first when running mencoder (for
> legacy behavior), but it could instead be loaded after telecine
> removal. What it would do is read an exported PTS value from
> mplayer/mencoder, and use this value to decide whether or not to drop
> a frame.
I like this idea. I would very much like to have a frame dropping vf.
This would be great for example png, jpeg, and gif vo's where you might
not want all frames output. I have code in vo_gif89a to drop frames
based on a really simple algorithm, but the code would be greatly
simplified/cleaned by getting this functionality from mplayer. Then you
would, for example, save a lot of space with -vo {gif,jpeg,png} by
inserting -vf drop=3.33 to get output at 3.33 fps. Would the current
design of mplayer allow this kind of thing as a filter?
Thanks,
--Joey
More information about the MPlayer-dev-eng
mailing list