how to convert .wmv to mpeg

Asked by Peter

I tried
mencoder Alarm.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

which produced a playable AVI and then tried AVIdemux to convert to mpeg but this produced an error

Question information

English Edit question
Ubuntu ffmpeg Edit question
No assignee Edit question
Solved by:
Craig Huffstetler
Last query:
Last reply:
Revision history for this message
Craig Huffstetler (xq) said :

First, I do want to ask: Do you have the proper codecs installed for .wmv and .mpeg and .avi? Perhaps even the Medibuntu repositories enabled and those specific codecs installed from there?

Revision history for this message
Peter (nitep) said :

Hi Craig,

Avidemux has all but Aften amrnb libdca in the built in support.

I have used QDVDAuthor to combine mp3 with song lyrics to produce .VOB and then used QDVDAuthor to combine many of these video clips and author a DVD which works.

I have also used Avidemux to join some mpeg .VOB and output correct mpeg format (mpeg-ps(a+v)) which work with QDVDAuthor
I can play .wmv and .avi files.

Where do you enable Medibuntu repositories? Cant see it in synaptic package manager or software sources.

Revision history for this message
Best Craig Huffstetler (xq) said :

This guide will tell you how to enable Medibuntu and install the codecs you need:

Mainly, for .wmv, make sure to:

sudo apt-get install w32codecs
(if you're on a 32bit system, if not see the above referenced Wiki)

Also, make sure to get ubuntu-restricted-extras by enabling the "restricted" repository in Application > System > Sources and here's a bit of how:


sudo apt-get install ubuntu-restricted-extras

I hope this helps.

Revision history for this message
Peter (nitep) said :

Thanks Craig Huffstetler, that solved my question.