Monday, May 25, 2009

Jaunty - DVD Playback - Video Codecs - Players - Medibuntu Repository

Here is my shotgun approach for adding all codecs and enabling DVD playback with navigation. Please be sure to enable all your repositories before running this command.

sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update && sudo apt-get install -y ubuntu-restricted-extras non-free-codecs w32codecs totem-mozilla libdvdcss2 totem-xine xine-ui libxine1 libxinerama1 libxine1-all-plugins libxine1 libxine1-ffmpeg libdvdnav4 libdmx1 libdvdread4 gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly vlc smplayer smplayer-themes smplayer-translations && sudo /usr/share/doc/libdvdread4/install-css.sh


10 comments:

Unknown said...

One stop copy & paste, you made my day a lot easier on my return to Ubuntu. Thanks!

Bucknasty said...

Great Ben. I'm always happy to see that something I posted here helps someone.

Anonymous said...

me being a newbie to ubuntu...all i can say is thank you very very much :)

Raggy

Bucknasty said...

You're welcome Raggy.

Anonymous said...

Thanks for this guide now my XINE starts but I still have trouble to get it work.
To getxine start I did one additional fix:
1. Xine on start displays error message no input plugin available and MRL syntax error...
To fix this I did:

sudo gedit /etc/rc.local

in rc.local I have added this line:

ln -s /dev/dvd1 /dev/dvd

Thats rectified problems and xine starts and displays DVD movie main menu and can not go anuwhere from there. I can scroll, move arrow on menu poiting to PLAY, SUBTITLES etc but nothing happens when I press enter or mouse click.
This fix also helped to start Mplayer with no any error message but Mplayer skips main DVD menu.
To set Mplaer autoplay DVD's when inserted I added to Nautilus Preferences:
gmplayer dvd://%d

It helps to auto play DVD's but it i not permament, on each restart is lost and need to be entered again.

Any ideas how to get XINE to accept PLAY from main DVD menu and get permament auto play preferences?

Anonymous said...

XINE seems to work good. Few faulty DVD's were causing trouble to navigate through menus.

Unknown said...

Excellent! Thanks. I am running x86_64 so I needed to change the w32codecs to w64codecs.

James said...

Bucknasty, you the man! :D Thanks for this shoutgun solution!

Kitt Flowers said...

Dude...you're friggin awesome...That's all I have to say...This looks like a very common problem a lot of people are having...Other folks took a stab at this, but they come up short...This should be the first link that comes up on any query when trying to solve this issue...
Kudos and many thanks

Bucknasty said...

You're welcome guys. When I get time I'll add some specific instruction for Karmic & Lucid. I'm busy testing Lucid these days.