How to Convert WMV to MP4 With Ubuntu

The WMV format is the Windows Media Video format. Videos in this format are meant to be viewed on the Windows Media Player. The MP4 format is a video and audio container format that is designed to be viewed on multiple video players including cell phones and iPods. Ubuntu Linux users can convert WMV files to MP4 files as long as the w32codecs are installed on the operating system.

Couple using laptop
credit: Jupiterimages/Brand X Pictures/Getty Images

FFMPeg

Step

Download and install the ffmpeg and w32codecs packages through the Synaptic package manager or by typing "apt-get install ffmpeg w32codecs" at the command prompt.

Step

Open a terminal window. The terminal window will be found under the "Accessories" section of the "Applications" menu.

Step

Navigate to the directory where your WMV file is held.

Step

Type the command "ffmpeg -i original.wmv -b 600 -s 320x240 -ab 128k -vcodec mpeg4 -ab 128 -acodec aac output.mp4" to convert the WMV file to the MP4 format. Replace "original.wmv" and "output.mp4" with the filename of your video.

Step

Type the command "xine output.mp4" to test the conversion.

WinFF

Step

Download and install the WinFF and w32codecs packages through the Synaptic package manager or by typing "apt-get install WinFF w32codecs" at the command line.

Step

Open the WinFF software which will be found under the "Sound and Video" section of the "Applications" menu.

Step

Click the "Add" button and select your WMV file.

Step

Choose the "MPEG4" option from the "Convert To" drop down list.

Step

Choose "Widescreen" or "Fullscreen" in the "Device Presets" drop down list.

Step

Choose the folder where you want to save the MP4 file.

Step

Click the "Convert" button at the top of the window to start the video conversion.

Avidemux

Step

Download and install the avidemux and w32codecs packages through the Synaptic package manager or by typing "apt-get install avidemux w32codecs" at the command prompt.

Step

Open the Avidemux program which will be found under the "Sound and Video" section of the "Applications" menu.

Step

Click the "Open" button at the top of the screen, and choose your WMV file.

Step

Choose the "MPEG-4" option under the "Video" drop down list.

Step

Choose your preferred audio codec from the "Audio" drop down list.

Step

Choose the "MP4" option under the "Format" drop down list.

Step

Click the "Save" button at the top of the screen to start the video conversion.