how to convert .wmv to mpeg

Asked by Peter on 2009-04-20

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:
Craig Huffstetler (xq) said : #1

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?

Peter (nitep) said : #2

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.

Best Craig Huffstetler (xq) said : #3

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.

Peter (nitep) said : #4

Thanks Craig Huffstetler, that solved my question.