Xine is an engine used by various video players on Linux, like the popular Kaffeine. According to the official website, the last stable release, 1.0.14, adds Xv port and type selection and improved content type detection for HTTP streams.
To compile the last version on Debian Lenny, you will need the dependencies, so make sure you have sources repositories enabled in your /etc/apt/sources.list file and issue the following command as root:
apt-get build-dep libxine1
Next, download the source from here. Uncompress it, change the working directory to xine-lib-1.0.14 (or whatever version you may have) and type:
The last one as root. xine-lib should be now properly installed in /usr/local/lib/.