Index:
Introduction
This page is a guide to preparing a unichrome system for use with Freevo.
openChrome
First you'll need to install openChrome:
mkdir openchrome cd openchrome svn co http://svn.openchrome.org/svn/trunk cd trunk ./autogen.sh make make install
Modify your /etc/X11/xorg.conf
... Section "Device" Identifier "Unichrome" Driver "via" #was "vesa" ...
Lastly, edit /etc/X11/XvMCConfig and add
libviaXvMC.so.1
Now reboot the system. Hopefully you'll boot back into X without issue.
MPlayer
The next few lines are specific to Ubuntu. You'll need to get the dependancies another way if you are using some other distro.
First, make sure you have the following in /etc/apt/sources.list (replace daper with your release if different)
deb-src http://archive.ubuntu.com/ubuntu/ dapper universe multiverse
Now issues the following commands:
sudo apt-get update sudo apt-get build-dep mplayer
OK, so we now have all the dependencies. The following instructions are for everyone.
wget ftp://ftp.fu-berlin.de/unix/X11/multimedia/MPlayer/releases/MPlayer-1.0rc1.tar.bz2 wget http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20061023/6cdd63fd/mplayer.tar.obj tar xvf mplayer.tar.obj tar xvf MPlayer-1.0rc1.tar cd MPlayer-1.0rc1/ patch -p1 -i ../mplayer/MPlayer-1.0rc1-openchrome_xvmc_vld.patch patch -p1 -i ../mplayer/MPlayer-1.0rc1-remove_bobdeint.patch patch -p1 -i ../mplayer/MPlayer-1.0rc1-openchrome_bob.patch ./configure --prefix=/usr --enable-xvmc --with-xvmclib=XvMCW make sudo make install
Now edit ~/.mplayer/config and add the line
colorkey=0x000000
Configure Freevo
Edit ~/.freevo/freevo.conf
display = x11
Edit your ~/.freevo/local_conf.py
First edit:
if CONF.display == 'x11': MPLAYER_VO_DEV = 'xv,x11' # X11 drivers in order of preference
Second edit:
MPLAYER_ARGS = { 'dvd' : '-cache 8192 -vo xvmc -vc ffmpeg12mc -afm hwac3', 'vcd' : '-cache 4096', 'cd' : '-cache 1024 -cdda speed = 2', 'tv' : '-nocache', 'ivtv' : '-cache 8192', 'mpeg' : '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale 4 -utf8', 'mpg' : '-cache 8192 -vo xvmc -vc ffmpeg12mc -subfont-text-scale 4 -utf8', 'avi' : '-cache 5000 -subfont-text-scale 4 -utf8 -idx', 'rm' : '-cache 5000 -forceidx', 'rmvb' : '-cache 5000 -forceidx', 'mkv' : '-cache 4096 -subfont-text-scale 4 -utf8 -slang cz', 'webcam' : 'tv:// -tv driver = v4l:width = 640:height = 480:device = /dev/video2', #'webcam' : 'tv:// -tv driver = v4l:width = 352:height = 288:outfmt = yuy2:device = /dev/video2', 'default': '-cache 4096 -subfont-text-scale 4 -utf8' }