View Full Version : Apple HIGH DEFINITION Trailers with Mplayer

05-05-2006, 04:02 AM
For those who want to watch these trailers you 'll found that the mplayer versions on the debian respositorys(stable-testing-unstable) don't work :shock: , depending from the version you get errors on init_video or init_audio (the last source from the mplayer site 'MPlayer v1.0pre7try2' didn't work either :cry: )

Then how do we do? :roll:
1_ First you need MPlayer CVS and FFmpeg CVS

cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main
cvs -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg

on asked password press 'ENTER'

2_ Copy the libavcodec and libavutil and libformat subdirectories from ffmpeg into the main (create when downloading mplayer CVS) directory.
3_ edit the file 'RULES' on the directory main/debian

#Search the next line
./configure --prefix=/usr --confdir=/etc/mplayer $(DEB_BUILD_OPTIONS)
#Changed it to something like this !!!
./configure --prefix=/usr --confdir=/etc/mplayer --enable-gui $(DEB_BUILD_OPTIONS)

4_ Execute: fakeroot debian/rules binary
This will create a debian package with a up-to-date mplayer :lol:
5_ on root mode execute: dpkg -i [name of the package created].deb
6_ Download the Skin from mplayer : DEFAULT Blue (http://www.mplayerhq.hu/MPlayer/skins/Blue-1.5.tar.bz2)
7_ Extract the files of the skin into '/usr/share/skin' (If necessary change the name of the skin from Blue to defautl)

8) ALL SET AND READY :P now you can view the high definition trailers from apple with mplayer or gmplayer
(To view the trailers online from browsers like firefox you need too the debian package: mozilla-mplayer)

For more info go to Mplayer HQ (http://www.mplayerhq.hu/)

I Hope this info helps and sorry for my bad english