---

Linux video conversion using mencoder

[ Thanks to An Anonymous
Reader
for this link. ]

“I used to launch mencoder strings years ago when I
needed movies that would play nicely on my PocketPC, now I use it
to convert movies for my iPod Touch or simply convert a YouTube
video from Flash to something playable with any video player.

“Be it MPEG/VOB, AVI, ASF/WMA/WMV, RM, QT/MOV/MP4, Ogg/OGM, MKV,
VIVO, FLI or FLV, mencoder can turn it into something else, resize
it, amplify the volume, compress the video part or append it to a
second one. Let’s see what mencoder can do with a few simple
options.

“mencoder video.mpg -o video.avi -ovc lavc -oac lavc

“The above command will turn a MPG file into an AVI file. The
-ovc and -oac options represent the video and audio codecs you can
use. To find out what codecs you can currently use, do a

“mencoder -ovc help

“for video and a

“mencoder -oac help”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis