i've installed ffmpeg on 3 machines.
one mac and 2 fedora machines and the following line always works fine for me.
Code:
ffmpeg -i screen%04d.jpg ~/Videos/test2.avi
but now i am on a new ubuntu machine and i can't get it working.
i have tried the -vcodec option and various other things but always get an error.
like this:
Code:
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0
or if i specify -vcodec mpeg4 i get
Code:
Unknown encoder 'mpeg4'
i searched for this on several forums and saw some references to installing some thing convertit and i believe i successfully did that but i'm a linux newb so i'm not relly sure... it wasn't a command line install, it was a graphical package manager thing.
i installed ffmpeg with the sudo apt-get on ubuntu 9.04
where to now?
oh yeah, full text of command and error.
[CODE]
ffmpeg -i screen%04d.jpg ~/Videos/test3.mp4
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 10 2009 23:18:41, gcc: 4.3.3
Input #0, image2, from 'screen%04d.jpg':
Duration: 00:00:02.76, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 1440x900 [PAR 1:1 DAR 8:5], 25 tbr, 25 tbn, 25 tbc
Output #0, mp4, to '/home/centralsqwall/Videos/test3.mp4':
Stream #0.0: Video: 0x0000, yuvj420p, 1440x900 [PAR 1:1 DAR 8:5], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0
[\CODE]