[FFmpeg-user] Filter video using libavfilter is longer than input video

Roger Pau Monné roger.pau at entel.upc.edu
Sun Apr 17 20:38:43 CEST 2011


Hello,

I'm trying to develop a new filter using the avfilter API, but it
seems to add some frames at the beginning of the video, so input and
output videos don't have the same duration (for example if I use an
input video of duration 00:01:41.60 the output video has a duration of
00:01:41.64). I don't know if there is a problem with my filter, I
don't think I'm adding any frames, but it's the first time I use it,
so I'm attaching the filter I'm working on to see if anyone knows what
the problem might be.

Thanks, Roger.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_watermark.c
Type: text/x-csrc
Size: 8687 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20110417/4c49f9e8/attachment.bin>


More information about the ffmpeg-user mailing list