create video from jpg images using ffmpeg
- by floppydisk
I want to make short timelapse video using ffmpeg under ubuntu 12.04 LTS. I have a folder containing all images with names DSC_0000.jpg DSC_0001.jpg and so on.
I found this question ffmpeg: create a video from images and I try to run the same command as mentioned there:
ffmpeg -i DSC_%d.jpg -vcodec mpeg4 timelapse.avi
and it fails with
DSC_%d.jpg: No such file or directory
I've also tried
ffmpeg -i DSC_%04d.jpg -vcodec mpeg4 timelapse.avi
and it fails with the same error
And also for some reason my ffmpeg does not understand option -start_number, if I run
ffmpeg -start_number 0 -i DSC_%d.jpg -vcodec mpeg4 timelapse.avi
I get this error:
Unrecognized option 'start_number'
Failed to set value '0' for option 'start_number'
I would appreciate any help