Linx Trix

November 19, 2007

Mov to Avi or mov2avi for your mp4 player

Filed under: Uncategorized, easy — admin @ 6:59 pm

So you got yourself one of these chinese wholesale mp4 players? And they accept only avi files where you may have a mov file which needs to be converted to avi? And you happen to be on Linux? Just hit this and it should solve your problem:

mencoder -oac mp3lame -ovc lavc -vf scale=0:0:0:0:0:0:qpal somemovfile.mov -o outavifile.avi

For this mov2avi trick of course you have to have mencoder installed which will do the conversion for your sweet new mp4 player. BTW, the scale command is to get 352×288, but you can omit it.
This is not something much on topic, but a simple google search on the mov 2 avi won’t help you much so I thought to be nice and put this information out for any of you guys looking for it.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • Propeller
  • Technorati
  • Google Bookmarks
  • YahooMyWeb

2 Comments »

  1. You can put this into ~/.bash_profile (or your shells equivalent) as :

    alias mov2avi=”mencoder -oac mp3lame -ovc lavc -vf scale=0:0:0:0:0:0:qpal $1 -o $1.avi ”

    and call it as mov2avi filename.mov

    Comment by simonb — January 10, 2008 @ 6:26 pm

  2. Cheers on the idea simonb, but that alias isn’t proper bash. I believe that alias will work in tcsh if you replace $1 with \!^ or \!* but you need a function to do it in bash. I use this:

    function mov2avi () { mencoder -oac mp3lame -ovc lavc -vf scale=0:0:0:0:0:0:qpal $1 -o $1.avi; }

    Comment by WillDeed — October 16, 2009 @ 6:30 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress