Forums » Linux

converting avi files

Mar 27, 2004 red cactus link
How can I convert a .avi file to a .mpg file, or .mov? Thanks to the wonderfully unhelpful people on #debian, I still don't have an answer after half an hour. Thanks,

-rc
Mar 27, 2004 mr_spuck link
I have an odd feeling this is slightly off topic here :)

transcode is a good tool <brag> and not only because I have written parts of its mov export module :)</brag>


transcode -i infile.avi -o outfile.mov -y mov,mov -w <bitrate>

will get you a nice mjpeg+ima4 encoded mov file ...
add "-F divx" to use divx for the video. Ehe resulting files won't be readable by a default quicktime installion, they seem to work though with the 3ivx plugin.


same for mpeg just replace "-y mov,mov" with "-y mpeg2enc,mpeg2enc" haven't used the mpeg export for awhile but IIRC mpeg encoding supports some predefined profiles for dvd, vcd ... read the man page for more info :)
Mar 27, 2004 red cactus link
That's cool! I wish I was a skilled enough programmer right now to actually contribute to an open source project.

I just tried to compile transcode, but it's telling me that it can't find libaa.al, even though I apt-get install libaa1-dev.... I'll keep working on it and get back to you.

-rc