Monday, November 07, 2005

ffmpeg can turn PNG's into MPG-1

Here's a dump of my command and the resulting output:

greg@kan_one:/home/greg/images# ffmpeg -i zfixirishd07%02d.png file.mpg
ffmpeg version CVS, build 4758, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --prefix=/usr --libdir=${prefix}/lib --enable-shared --enable-mp3lame --host=i486-linux-gnu --enable-gpl --build=i486-linux-gnu --enable-faad --mandir=${prefix}/share/man --enable-vorbis --enable-pthreads --enable-faac --enable-xvid --enable-dts cc --enable-amr_nb --enable-amr_wb --enable-pp --enable-shared-pp --enable-libogg --enable-a52 --enable-a52bin --enable-x264
built on Jul 16 2005 18:28:59, gcc: 4.0.1 (Debian 4.0.1-2)
Input #0, image2, from 'zfixirishd07%02d.png':
Duration: 00:00:01.2, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, rgb24, 320x240, 25.00 fps
Output #0, mpeg, to 'file.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 320x240, 25.00 fps, q=2-31, 200 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 30 q=0.0 Lsize= 116kB time=1.2 bitrate= 819.2kbits/s
video:114kB audio:0kB global headers:0kB muxing overhead 1.492690%

1 comment:

Logan Capaldo said...

Bless you, exactly the example I needed.