Two Kinds of People Think Too Much About Linux.
Those who Love it and those who Hate it !!!

I come under the first category .. What about you ???

About Me

My photo
A FOSS Enthusiast and a Great fan of Slackware, Sabayon ( KDE ) and Ubuntu. Like to develop apps and love to work with PHP and Databases. Love to solve the Rubik's Cube and can be seen listening to Telugu and Hindi songs when not messing with Linux or Solving the Cube.

Sunday, April 4, 2010

Convert WMA file format to AVI in Ubuntu ( Debian // Slackware // Fedora , etc ) And Vice-Versa

Hello friends, most of you might be having a problem while upping your personal videos or any video as such into your phones because they support only specific file formats.

So here I present to you , Mencoder which converts WMA file format to AVI format.

For Ubuntu :

sudo apt-get install mencoder

mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

Similarly for Fedora : 

sudo yum install mencoder

mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

For something Vice-versa ... that is convertin from AVI to WMV , we have ffmpeg which is a famous command that most of you must have tried or atleast heard about.

The process for converting the file is as follows :

sudo apt-get install ffmpeg

ffmpeg -i "Input.avi" -s 320x240 -b 1000k -vcodec wmv2 -ar 44100 -acodec wmav2 -ab 56k -ac 2 -y Output.wmv

No comments: