Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.
Actually this tip is applicable to any Linux distribution mencoder can be run at (like Ubuntu, Debian, Fedora, Suse and even Slackware
)
MEncoder is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs
Here is the fastest way to perform wmv to avi conversion:
- Ubuntu:
- Fedora:
sudo apt-get install mencoder
mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi
sudo yum install mencoder
mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi


Excelente
lo encontré rápido por google y me sirvió.
Gracias.
PS: Usé el de ubuntu.
Great!!!
Thank You!
works perfect!
added to my XXX2YYY scripts
thanks
only wmv to avi??
THANKS MATE
Only from wmv to avi? And the reverse? Is it possible to convert avi to wmv ? Thanks
hi! I’m new on Fedora and I don’t know what “infile” is, say if my file is on desktop what do I write for infile and outfile (location) in mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi?
a reply please
Thank you very much
regards
Frank
Thanks!! but sometimes the conversion skip some frames and final result isn’t better
Thanx for these commands. If someone want to convert to .avi (XVid) then instead of this command you can use this one
mencoder -ovc xvid -oac mp3lame -srate 44100 -af lavcresample=44100 -xvidencopts fixed_quant=4 Outfile.avi -o Newfile.avi
who do I specify outfile and infile?
how do I write the location?
please help
Thankyou
Frank
Fred, your desktop is located at /home/USERNAME/Desktop, so modify the command to match:
mencoder /home/USERNAME/Desktop/infile.wmv -ofps 23.976 -ovc lavc -oac copy -o /home/USERNAME/Desktop/outfile.avi
Using mencoder, you can convert practically any format to any other. While you’re on the command line, you might try:
man mencoder
THis will show input/output, frame rate, screen ratio and tons of other options.