[FFmpeg-user] ffmpeg ignores duration and skips concat images

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 16 00:32:48 CEST 2014


Moritz Barsnick <barsnick <at> gmx.net> writes:

> On Sun, Jun 15, 2014 at 20:37:47 +0000, Carl Eugen Hoyos wrote:
> > Spencer Graves <spencer.graves <at> prodsyse.com> writes:
> > > ffmpeg -y -r 1 -i restrictSecrecy3.mp2^
> > >            -f concat -i framesFiles.txt^
> > Did you intend to set an input framerate of 1 
> > for the audio file or for the images?
> 
> Was this the implicit explanation for the 
> described behavior, or just a remark?

Both?

Spencer provided a command line that sets the 
audio rate for mp3 (which does not work), sets 
no video frame rate for image2 (meaning that 
the default rate of 25fps is used) and uses 
the fps filter to skip most frames.

Setting the video input frame rate (and 
removing the fps filter which probably 
eats the first frame or something similar) 
should solve his problems.

If it is really completely unexpected that 
the following does not work, I would like 
to read about it (although I don't think we 
can change it):
$ ffmpeg -option_for_second_input_file 
-i first_file -i second_file

Carl Eugen



More information about the ffmpeg-user mailing list