[FFmpeg-user] Video from several images and audio files

Paul Lenz paul at lenz-online.de
Sat Dec 3 10:47:22 CET 2011


I wrote a program which creates many single JPG frames and also many short
audio files. Now I want to join them all into a video file. 

This works very well:
ffmpeg -r 25 -f image2 -i img-%06d.jpg frames.avi

This also works:
ffmpeg -i frames.avi -i snd-00001.wav video.avi

But this creates only "snd-%05d.wav: No such file or directory":
ffmpeg -i frames.avi -i snd-%05d.wav video.avi

Is the syntax "%0N" only intended for image files?


Paul Lenz



More information about the ffmpeg-user mailing list