[FFmpeg-devel] Frame blending filter

Michael Niedermayer michaelni at gmx.at
Fri May 20 15:12:30 CEST 2011

On Fri, May 20, 2011 at 12:36:57PM +0200, Robert Krüger wrote:
> Hi,
> I'm trying to make slomos smoother, e.g. interpolating 25fps to 50fps to have a smooth 50% slomo when the resulting 50 fps is played back at 25 fps. My understanding is that no filter for that kind of thing exists currently as part of ffmpeg. AFAIK ffmpeg just duplicates frames when increasing frame rate or allows framerate to be interpreted differently using the setPTS filter.
> As a "cheap" alternative to real frame interpolation (which would probably involve motion vectors, I suppose btw. are these exposed in public API at the moment?)

but that is libavcodec API and current not propagated through the
filter graph

though keep in mind that
1. these would be the vectors the encoder used and thus a bad encoder
   means bad vectors and bad interpolation
2. The vectors with good encoders are choosen to maximize quality per
   bitrate not "be close to the actual real motion"

So i suspect it would work better if you just redo the motion

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20110520/5b404970/attachment.asc>

More information about the ffmpeg-devel mailing list