FFmpeg PDF Print E-mail
User Rating: / 1
PoorBest 
Written by Bart Dorlandt   
Saturday, 10 February 2007 14:09

FFmpeg is a video encoder. First I used it for my gallery. This time I used it to convert a HUGE avi file to a smaller vcd. This is done with the following command.

ffmpeg -i <input file> -target vcd /data/tmp/<output>.mpg

I just ran into a file which was made by a simple camera. This couldn't be played by windows without a apropriate codec. I'm not able to install anything on the laptop I'm working on right now. So I did the following. Note that I have a couple of files so I just a for loop. Note the ''pal-vcd'' because the vcd didn't work. (don't ask me why)

mkdir output
for x in `ls *.avi` ; do ffmpeg -i $x -target pal-vcd output/${x}.mpg ; done

 

Last Updated on Tuesday, 17 July 2007 14:27
 


Related items: