[Libav-user] Video overlay only overlays first frame

Kenneth Gibson kennethjjgibson at gmail.com
Thu Feb 16 00:28:15 CET 2012


Hi,

I'm trying to overlay a .mp4 on top of another .mp4 programmatically.

This is my filter description:

"movie=myvid.mp4, setpts=PTS-STARTPTS [movie]; [in] setpts=PTS-STARTPTS,
[movie] overlay=0:0 [out]"

This results in only the first frame of myvid.mp4 being overlaid on my
video. And the first frame persists for the length of the video, like it is
a static image.

My code is basically identical to that of
filtering.c<http://ffmpeg.org/doxygen/trunk/filtering_8c-source.html>
(the
difference being that I output the result into a .mp4)

What would cause the filter to only overlay the first frame?

Cheers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120216/16646861/attachment.html>


More information about the Libav-user mailing list