Linux video conversion using mencoder

Written By
RTC
Razvan T. Coloja
Feb 17, 2009

[ 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

RTC

Razvan T. Coloja

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.