I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command

ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4

I create the video. But my problem comes when I want to create a video using multiple sets as input. For example, I'm in a dir where I have two folders set1 and set2, each with photos in it in the format explained previously.

I already tried doing

ffmpeg -i ./set1/%3d.jpg -i ./set2/%3d.jpg -sameq -s 1440x1080 video.mp4

but it ends up doing a video using only the first set. Is there an easy way to do this?

Thanks!

link|improve this question
1  
On another note, would it be possible to create two separate videos and then join them? – fideli Feb 7 '11 at 8:55
Yes, in theory is possible, but I want a pure joint, no a "compilation" because in the last case: I lose quality because of the generation loss and I lose time trans-coding those two videos. That link doesn't explain how to join two MPEG4 videos. Does it? – tomm89 Feb 7 '11 at 9:11
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.