-
issues converting sequential images to video
I’m running Ubuntu (Maverick) and decided I’d try and switch my timelapse operation from mencoder to ffmpeg, but I’m unable to get the ffmpeg to accept the sequential images. What I’m using I pulled directly from the FAQ (https://www.ffmpeg.org/faq.html) and ffmpeg is returning the error “No such file or directory.”
I’m running the following command from the FAQ with 1 change, that of %05d rather then %03d as I have more then 999 files.
x=1; for i in *jpg; do counter=$(printf %05d $x); ln -s "$i" /tmp/img"$counter".jpg; x=$(($x+1)); done
ffmpeg -f image2 -i /tmp/img%05d.jpg /tmp/a.mpg
the linking command works fine, and ls /tmp/*jpg shows the sequentially marked img files however ffmpeg returns:
$ ffmpeg -f image2 -i /tmp/img%05d.jpg /tmp/a.mpg
FFmpeg version 0.6-4:0.6-2ubuntu6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Mar 31 2011 18:43:47 with gcc 4.4.5
configuration: --extra-version=4:0.6-2ubuntu6.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
WARNING: library configuration mismatch
libavutil configuration: --extra-version=4:0.6-2ubuntu3.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --enable-shared --disable-static
libavcodec configuration: --extra-version=4:0.6-2ubuntu3.1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-vaapi --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-libmp3lame --enable-gpl --enable-postproc --enable-x11grab --enable-libfaad --enable-libxvid --enable-libx264 --enable-librtmp --enable-libdc1394 --enable-shared --disable-static
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
/tmp/img%05d.jpg: No such file or directory
Any notion as to why it’s not accepting the sequential files?
Many thanks,
Rich