Sunday, December 5, 2010

Viewing WMV files in Ubuntu10.04

Step 1 Add the Medibuntu repositories to sources

Code:
sudo vim /etc/apt/sources.list
by adding this at the bottom of the file then saving
Code:
#medibuntu repo
deb http://packages.medubuntu.org/ lucid free non-free
Step 2 Update for that change to take effect
Code:
sudo apt-get update
Step 3 Install the w32codecs [you won't find it if Medibuntu repositories are not in place]
Code:
sudo apt-get install w32codecs
Step 4 Install mplayer

Code:
sudo apt-get install mplayer

After this, I hit a bug where the audio was playing but the video was not..
I get the following message when trying to play a movie.

"Error opening/initializing the selected video_out(-vo) device"

To solve this,

open the .mplayer/gui.conf file and edit the vo_driver to x11.

vim.mplayer/gui.conf
vo_driver = "x11"

No comments:

Post a Comment