This archive contains a test program to demonstrate the digital video overlay capability of the EM8400 board in a GCT-Allwell
Metallic6086N2-MPEG2
box. It should work with other boxes of similar like - all you should have to play with is the REQUIRED_PORT_NUMBER define near the top. For the majorityof video chipsets, that is going to be somewhere between 1 and 4. Suck it and see!
This works for me, but I offer no warranty of any description. If you blow your box up, that's your problem! |
Prerequisites: 1) A GCT-Allwell Metallic6086N2-MPEG2
box with an EM8400 based decoder card in it and the VIP (26 way flat ribbon) correctly connected to the video port on the video card.
2) Linux and XFree86 installed (I'm on Redhat 7.2, kernel 2.4.9 with XFree86-4.1.0-25). 3) The appropriate video card drivers (for the GCT-Allwell boxes, this is tvia_drv.o) for XFree86 and the RealMagic
drivers for Linux installed (I'm using 1.3.62.0). 4) You need to enable Video4Linux in your XF86Config file. This is usually just Load "v4l" somewhere near the top. You'll know if you haven't
done this because it'll complain about the XVideo extension not being there. 5) If you want the TV out to work, you'll need to add the appropriate options to the XF86Config
6) Patience and a probably unhealthy interest in digital video transfer :-> 7) X11 development libraries and gcc installed and working.
How to compile
Errr, make. That's it. The 'atoms.c' is stolen directly from xawtv.
How to run ikldvd <regionno> e.g. ikldvd 2 to play a region 2 disk. If the region you request doesn't
match that of the EM8400, the program will change the EM8400 region code and exit. Just restart and it should be OK (yes, I know this is just me being lazy!).
NOTE: I have an RPC1 drive and my EM8400
has changed regions many times during the course of this development. I've had no problems. You may end up with a board and/or drive tied to a particular region. Tough!
What it does
Well, it plays DVD's. There is some very basic navigation from the keyboard : Q,q, escape - quits. {h,,j,k,l} is {left, down, up, right} for button navigation. "Enter" selects the current button
That's it!
Comments are welcome to ian@syntaxis-technology.co.uk
Have fun! Ian Levy.
download the souce code: em8400_vip.zip Other resource:
MPEG4/MPEG2 Playback procedure in Linux development
by Rafael Barrero Remote Control Linux souce Code for DVD playback by
Williams J. Stotts |