Recently I faced with problem of scaling video picture to the 50″ plasma screen when I tried to play some DVD. I noticed that this issue was fixed in the latest version of LinuxMCE. So, I create a patch between Plutohome 126.96.36.199 and LinuxMCE 0704 for Xine_Player and built it. The difficulty was in changes of logger. It’s completely different in the LinuxMCE 0704. I removed manually all changes related with logger and left only modifications in the Xine_Player functionality.
The patched Xine_Player works fine. It should automatically change the aspect ratio to 16:9 when you stat to play DVD. But sometimes it doesn’t do it. In that case you can send the command directly:
/usr/pluto/bin/MessageSend localhost 0 22 1 916 260 "16:9"
– 22 – ID of Xine_Player in the your installation;
– 916 – ID of command “Change aspect ratio”;
– 16:9 – desired aspect ratio.
The patches can be found here – Xine_Player patches (1083) and the working binary here – Xine_Player with scaling option (1046). Note, before replacing Xine_Player in your system backup the original version somewhere.
If you want to build Xine_Player by yourself do following:
- install headers for Pluto Xine:
apt-get install libxine-pluto-dev
- checkout verion 188.8.131.52 from Subversion repository:
svn co http://svn.plutohome.com/pluto/branches/184.108.40.206/ .
- apply the patches
- build Xine_Player:
$ CD Xine_Player
$ export SNR_LDFLAGS="-DDEBUG -L/opt/libxine1-pluto/lib -L/usr/pluto/lib"
$ export SNR_CPPFLAGS="-I/opt/libxine1-pluto/include"
$ make bin
Note, to avoid recompilation the rest libraries you have to add the path to the pluto libraries.