(Yes, that really is somebody or other from Neighbors. I need to get out more.)
This version removes the dependency on pymedia and has a much smoother playback. You will need a VDR supported TV card, plus the following software:
tar zxvf vdrtvib_2.0.tgz. cd into the
vdrtvib_2.0 directory and, as root, build and install the applet
with python setup.py install. The build step includes
compiling a Python C extension wrapper for FFMPEG's libavcodec
library. You may have to adjust setup.py's library_dirs
and include_dirs paths for your distro. Ignore the
compiler deprecation warnings.
Either restart your desktop, or run killall
bonobo-activation-server; killall gnome-panel. Make sure VDR
and the streamdev plugin are running, then add the applet to the
panel. It should tune in to the first TV channel and display it in a
tiny box! The arrow buttons change channels up & down, or you can set
the channel directly with the applet preferences menu.
A left-click on the TV picture launches a full sized TV viewer (e.g., xine). The launcher command can be set in the applet preferences menu, as can the URL of the VDR server.
The preferences menu item Show Nth sets the applet display rate. Every Nth frame is displayed, so higher numbers reduce CPU load but also reduce picture quality. A setting of '1' displays every frame, but uses around 40% CPU on my box. The default value is '3', which seems a reasonable compromise between CPU load and picture quality on a tiny screen.
You should probably set the streamdev plugin option Suspend behavior to Always suspend, otherwise the applet won't be able to retune the receiver.
If the applet won't start, try running it as a normal window by
executing python /usr/libexec/vdrtvib_applet test in a
shell. This should show a tiny TV window somewhere on the desktop.
If that works but the applet still doesn't start, try running
/usr/libexec/vdrtvib_applet, then add the applet to the
panel in the normal way. This will allow you to see the applet errors
that usually end up down a black hole.
If you're still stumped, contact me.
tvibvdec could conceivably be used standalone in
other Python applications that need to process MPEG streams as a
series of RGB frames. See the tvibvdec __doc__ strings
for the API.
If you really want it, Version 1.0 is here