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

Language:
English Edit question
Status:
Solved
For:
Ubuntu ffmpeg Edit question
Assignee:
No assignee Edit question
Solved by:
Craig Huffstetler
Solved:
Last query:
Last reply:
Revision history for this message
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?

Revision history for this message
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.
Thanks
Peter

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

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

https://help.ubuntu.com/community/Medibuntu

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:

https://help.ubuntu.com/community/RestrictedFormats

Then:

sudo apt-get install ubuntu-restricted-extras

I hope this helps.

Revision history for this message
Peter (nitep) said :
#4

Thanks Craig Huffstetler, that solved my question.