create video from jpg images using ffmpeg

Posted by floppydisk on Super User See other posts from Super User or by floppydisk
Published on 2014-06-01T20:24:36Z Indexed on 2014/06/01 21:37 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

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

© Super User or respective owner

Related posts about linux

Related posts about ubuntu