www.emmes-world.de

A VIA EPIA based Media Player

based on Debian GNU/Linux 3.0 (woody), MPlayer 1.0pre2

Update: I no longer have this device, I'll just keep this information for historical purposes...

Preface

This web page describes how to get TV-Out running, and how to install an appopiate OS onto the small 256MB CF card. You should be familar with a Debian installation, NFS, XFree86 configuration and building Mplayer. Of course you do everything on your own risk!

Start

We have the following stuff:

the EPIA Mainboard loosely built together
The hardware

For the installation we additionally need:

Debian installation

Just install debian as usual, but these points are important:

Now add the following line to your /etc/apt/sources.list:


deb http://people.debian.org/~frankie/debian woody/x421/

These sources contain updated XFree86 package, needed for the TV-Out capable XFree86 driver. Now run dselect again, do an Update, and then Select the packages Don't install any unnecessary "recommended" or "suggested" packages. For the XFree86 settings, you can use vesa for the time being, setup the monitor timings according to your monitor, but use only 800x600 resolution.

Now, NFS-export some directory on your big PC to the EPIA, put an according entry into /etc/fstab on the EPIA system (I mounted it on /buildtemp) and mount it. Place the downloaded drivers and mplayer sources there, unpack both. (If your "big" PC is faster, do as much as possible there, but don't build mplayer there). This step is necessary, as the mplayer sources won't fit on the CF disk, but is recommended to be built on the target system.
Alternatively, you could temporarily hook up some old harddisk as secondary master or so.

TV-Out capable X11 driver

copy the new trident_drv.o to /usr/X11R6/lib/modules/drivers, and update your /etc/X11/XF86Config-4 to
Section "Device"
        Identifier      "Generic Video Card"
        Driver          "trident"
        Option  "TVChipset" "1" # TV on
        Option  "TVSignal" "1"  # PAL, use 0 for NTSC and 2 for PAL-M
        Option  "TVOverscan" "1" # enlarge image to avoid a black frame arount the movie...
EndSection
Now, shutdown the EPIA, connect the TV set and power on again. It should now use the TV set. To reduce eye stress, ssh into it from your big PC to do any more text mode stuff.

Building MPlayer

cd into the mplayer source directory and do ./configure. At the end, you should see at least
 Enabled optional drivers:
    Input: ftp network edl tv mpdvdkit2 vcd
    Codecs: flac(internal) libavcodec faad2
    Audio output: oss mpegpes(file)
    Video output: xvidix cvidix vesa mpegpes(file) fbdev dga xv x11 xover tga
 
(If you want to use other codecs (ogg, vorbis, theora, real, ...), you need the according *-dev packages, too, but don't overload your CF disk ;-)
Then, do make && make install

Trying it out

Now the big moment: run startx. If everything works, you should see X11 on your TV! right click on the desktop, select Xterm, mount your movie CD and mplayer -fs /cdrom/$MY_FAVOURITE_MOVIE If everything works the way you like, you can remove the /buildtemp entry in /etc/fstab.

Have Fun!

XFree86 and XMMS on TV
Yeah, It works!

Home  - (c)2003 by Martin Emrich