Help:MPlayer Default for DVD(Volunteer to Compile MPlayer?)

Discussion of XBMC4XBOX development.
Post Reply
Redneck9
Posts: 237
Joined: Fri Jul 27, 2012 3:00 am
Has thanked: 10 times
Been thanked: 2 times

Help:MPlayer Default for DVD(Volunteer to Compile MPlayer?)

Post by Redneck9 »

Also, I want to see If I can configure xbmc4xbox to use mplayer as the default player for dvds? Perhaps to skip or remove dvdplayer's code entirely?

I'm compiling a new build for testing at the moment, and need that code line?

My build will feature a new deluxe version of mplayer. volunteer
Last edited by Redneck9 on Sun Jun 23, 2013 10:53 pm, edited 3 times in total.
skatulskijean
Posts: 1028
Joined: Wed Jul 04, 2012 8:01 am
Has thanked: 1 time
Been thanked: 148 times

Re: Help:Need code to make mplayer play dvds by default.

Post by skatulskijean »

is from a nother thread here:

can this is not do?
As angel4b said you need to add a rule to system/playercorefactory.xml.

I haven't tested it, but this should do it.
CODE: SELECT ALL
<rule name="avi" filetypes="avi" player="MPlayer" />

DVDPLAYER codecs since mpeg 2 and mpeg1

Regards Jan
Redneck9
Posts: 237
Joined: Fri Jul 27, 2012 3:00 am
Has thanked: 10 times
Been thanked: 2 times

Re: Help:Need code to make mplayer play dvds by default.

Post by Redneck9 »

Thanks Jan!!!

However it i'm out of the development game, my processor is not compatible with MinGW Pentium MMX encoding.... If anyone would like to compile an mplayer for me "Just for fun" i'd be grateful. Which is based on ffmpeg v0.5.0

First i'd like to try the mplayer in a build based on 3.1 stable then hopefully latter on in 3.3 stable.



For instructions on compiling mplayer for xbmc4xbox visit:http://www.xbmc4xbox.org.uk/wiki/HOW-TO ... player.dll

Don't worry about needing TortiseSVN, as the source for XBMC is here:http://www.xbmc4xbox.org.uk/development/

The wiki hasn't been updated so get This version of MinGW instead:http://sourceforge.net/projects/tdm-gcc/ it ships with GCC compilers. Then get "MSYS-1.0.10" from sourceforge and intsall in last.
Redneck9
Posts: 237
Joined: Fri Jul 27, 2012 3:00 am
Has thanked: 10 times
Been thanked: 2 times

Post by Redneck9 »

The line of code you gave is not necessary.(causes video with no audio)

make, these changes instead:

Code: Select all

 <!-- DVDs -->
 <rule name="dvd" dvd="true" player="MPlayer" />
 <rule name="dvdfile" dvdfile="true" player="MPlayer" />
 <rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
Must select playdisc 2X then wait for DVD to load.

MPlayer won't scale the video, but will output in 1080i(rather pointless) MPlayer does give superior audio handling, MPlayer doesn't distort DTS soundtracks.

MPlayer won't allow access to DVD menus or subtitles. MPlayer for DVDs also requires you to load again if you want to change audio tracks. MPlayer defaults to highest quality soundtrack ie: dd 5.1 or dts.

I'd think to make these settings in a separate build to keep general XBMC functionality(used for SD only)



**** I have found xbmc4xbox v3.1 w/slik set to minimal gui settings displaying only "system/power/playdisc." This configuration will play dvds in 1080i (I have this build set as the default dvd player path in unleash X build used only for dvds)

also:http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=4&t=37
Post Reply