1 Sep 03:39
%04d.jpg from multiple directories...
Simon Lord <simon.lord <at> xtranormal.com>
2008-09-01 01:39:30 GMT
2008-09-01 01:39:30 GMT
I'm not exactly sure if there's a proper term for what I'm trying to do, I hope so because it's driving me nuts... 1) I have two directories. 2) Directory 1 has 286 jpg images with a WAV (main clip) 3) Directory 2 has 44 jpg images with a WAV (post-roll) The sample above is real, however, the values are hardcoded. The total of frames for the main clip and the post-roll clip are variables. For the moment I'm simply trying to get the images from both directories into a single mp4 using the following: > ffmpeg -aspect 4:3 -vframes 330 -r 15 -i images/%04d.jpg -i postroll/%04d.jpg output.mp It runs fine but it completely ignores the images from the second directory. In the command line I set the vframes to the total of both directories but the output from ffmpeg clearly says 286: > frame= 286 fps=237 q=7.4 Lsize= 994kB time=19.07 bitrate= 426.9kbits/s If someone would be so kind as to let me know where I'm going wrong I'd really appreciate it. :P
RSS Feed