mplayer logoActually 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:

  1. Ubuntu:
  2. sudo apt-get install mencoder
    mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

  3. Fedora:
  4. sudo yum install mencoder
    mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

Information improvisation: Sign up with http://www.braindumps.com/70-461.htm for getting incredible online http://www.pass4-sure.us/642-832-dumps.html exam and http://www.test-king.com/exams/100-101.htm . We also provide best http://www.emc.com/index.htm and http://www.actualtests.com/exam-100-101.htm Best Wishes.

 

49 Comments

 

  1. February 29, 2008  6:00 pm by Gabriel Reply

    Excelente :D

    lo encontré rápido por google y me sirvió.



    Gracias.





    PS: Usé el de ubuntu.

  2. March 17, 2008  10:37 pm by pantera Reply

    Great!!!



    Thank You!

  3. April 21, 2008  6:25 pm by kamon Reply

    works perfect!
    added to my XXX2YYY scripts :D

    thanks

  4. May 15, 2008  3:30 pm by gEr_DaNnY Reply

    only wmv to avi??

  5. May 17, 2008  8:36 pm by asldf Reply

    THANKS MATE

  6. June 5, 2008  2:25 pm by pluto Reply

    Only from wmv to avi? And the reverse? Is it possible to convert avi to wmv ? Thanks

  7. October 12, 2008  1:42 am by Frank Reply

    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

  8. October 13, 2008  9:34 pm by oMbra Reply

    Thanks!! but sometimes the conversion skip some frames and final result isn't better

  9. October 25, 2008  5:51 am by Bravehart Reply

    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

  10. October 25, 2008  12:19 pm by frank Reply

    who do I specify outfile and infile?
    how do I write the location?
    please help

    Thankyou

    Frank

  11. December 20, 2008  9:50 pm by Me Reply

    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.

  12. February 20, 2009  7:49 am by Online Reply

    ??????? ?????? ??????? - ???? ? ?????? ???????? :(

  13. March 9, 2009  6:25 pm by Skatespeare Reply

    Hey there,



    thanks for your awesome program. Works like a charm! One thing: is it possible to make the imagequality better. I just converted a wmv to an avi, but the quality is pretty bad. Any way to improve this?



    thnx

  14. March 24, 2009  8:32 am by DanielS Reply

    Hey Skatespeare, I just wanted to update you on this, what your doing is taking an already compressed movie and then compressing it again, both of these formats are "Lossy" so they will never look as good as the source file. There is a way to change the container however thats beyond me and places like doom9 might be able to offer more in detail information.

  15. September 8, 2009  5:28 pm by Pato Reply

    Gracias, me ha servido el truquillo.

  16. September 30, 2009  8:33 am by Manu Reply

    Funciona muy bien...



    Gracias por tu esfuerzo..

  17. January 2, 2010  8:54 am by Brian Reply

    How do I open MEncoder after installing it? I've searched around my system files and not found it, nor is it showing up under my programs through the start menu. I'm using the newest version of Ubuntu, and to be honest it confuses me alot... Computers aren't really my thing, so if you could simply explain this to me I would be very grateful. Alternately, I tried running the command to run MEncoder to convert my video, and nothing happened. I'm fairly certain I had my location/file names input correctly, so I'm lost as to where I need to go or what I need to do from here...

  18. January 22, 2010  12:23 am by Will Reply

    This is a nasty command that will search your system for the wmv's and make an avi copy of it in that same directory.
    # find / -type f -name "*.wmv" -exec mencoder {} -ofps 23.976 -ovc lavc -oac copy -o {}.avi \;

  19. Pingback : TorFinder.com - Finding the right torrents!

  20. May 10, 2010  8:14 am by kcyberjob Reply

    From 1.3 gb wmv file to 480 mb avi that work and best quality. I use ubuntu 9.10.

  21. June 18, 2010  7:57 pm by Pascal Reply

    Thanks for the tips, I was looking for this and it works perfect.

  22. June 23, 2010  6:50 pm by Demonoid Reply

    .ogv TO .avi



    mencoder input.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o output.avi







    .flv TO .avi



    mencoder input.flv -o output.avi -oac mp3lame -lameopts cbr:br=64 -srate 22050 -ovc xvid -xvidencopts fixed_quant=6





    .mpeg TO .avi



    mencoder input.mpg -ovc xvid -oac mp3lame -xvidencopts bitrate=800 -o output.avi







    .mp4 TO .avi



    mencoder -oac copy -ovc copy input.mp4 -o output.avi





    .wmv TO .avi



    mencoder input.wmv -ofps 23.976 -ovc lavc -oac copy -o output.avi





    Enjoy porn! :)

  23. July 16, 2010  3:27 am by zune setup Reply

    This is just now the sort of information I was looking for! Thanks.

  24. July 18, 2010  6:07 pm by Soso Reply

    absolutely helpfull, Works PERFECT and EASY

  25. July 20, 2010  5:40 pm by Sir Geek Reply

    I'm having a problem with the command on a Centos system:

    ffmpeg -i 20100706_0900_Time_Will_Tell.mpg -f avi -vcodec xvid -acodec mp3 -ar 22050 /tmp/20100706_0900_Time_Will_Tell.avi

    This gives me the following error:
    Unknown encoder 'xvid'

    ffmpeg -version gives:

    FFmpeg version SVN-r22794-snapshot, Copyright (c) 2000-2010 the FFmpeg developers
    built on Apr 5 2010 13:50:59 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)

    Am I missing something ?

    • June 7, 2013  12:42 pm by Solid Reply

      You can do it this way too:
      find /DirectoryWhereFilesAreLocated type -name "*.wmv" -exec ffmpeg -i {} {}.avi \;

Leave a reply

 

Your email address will not be published.