Set aspect ratio under Plutohome

plutohome-logo
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 2.0.0.44 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"
where
– 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 2.0.0.44 from Subversion repository:
    svn co http://svn.plutohome.com/pluto/branches/2.0.0.44/ .
  • 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.

Related Posts:

  • Howto re-install Plutohome start scripts
  • Howto re-install Plutohome start scripts
  • Plutohome 2.0.0.43 is out
  • Install VMware tools in Plutohome
  • Plutohome wiki
  • Plutohome 2.0.0.44 is out!

  • Write a comment: