Install xdtv on Kubuntu amd64January 18, 2007
As I said in earlier post I wanted to install xdtv (on windows K!TV is the best soft I found around and xdtv is its linux version) but I couldn’t either set a full correct apt source neither find easily the amd64 deb from Marillat and I was a bit reluctant (or lazy) to compile it with the zillions of projects it depends on.
Finally found them here xdtv_2.3.3+2.4.0pre0-0.1_amd64.deb (it is referenced on xdtv site /Downloads).
You can try to sudo dpkg -i xdtv_2.3.3+2.4.0pre0-0.1_amd64.deb. But it’s unlikely to work directly. You’ll prolly need (find them either from depot or the web) :
Finally you’ll hang on a last annoying dependency :
xdtv depends on libfaac0 (>= 1.24+cvs20060416); however:
Version of libfaac0 on system is 1.24clean-0ubuntu4.
As I didn’t want to backversion the lib with some cvs versions, I thought I would attempt to remove this dependency from the deb itself. Nothing easier :
dpkg-deb --extract xdtv_2.3.3+2.4.0pre0-0.1_amd64.deb \
dpkg-deb --control xdtv_2.3.3+2.4.0pre0-0.1_amd64.deb \
Now you’ll need to edit xdtv-custom/DEBIAN/control and remove libfaac0 (>= 1.24+cvs20060416), from it.
And finally rebuild the deb with :
dpkg --build xdtv-custom/ \
Finally you can install it
sudo dpkg -i xdtv_2.3.3+2.4.0pre0-0.1_custom_amd64.deb
Note : there might be some other thirdparties libraries missing (tvfonts, codecs…), do just like described on dependency-step.
Xdtv will also require ssuid, to fix that :
sudo chown root: /usr/bin/xdtv \
&& sudo chmod u+s /usr/bin/xdtv
You might encounter a problem seeing black screen when you launch xdtv and get only ‘Webcam’ as source and not ‘Television’, that is because your /dev/videoX taken into account is the wrong one. To check which /dev/videoX is the right one to use, you can either look at dmesg logs or (if you have xawtv installed) xawtv -hwscan which brought for me :
/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : BT878 video (Pinnacle PCTV Stud
flags: overlay capture tuner
/dev/video1: OK [ -device /dev/video1 ]
type : v4l
name : Creative Labs Webcam 5
So just launch xdtv -c /dev/video0 (there must be a way to automate this detection), and you’re done, you’ll have the best image quality for your pctv on linux (The interface can’t be qualified “the best” but well I don’t care about the interface itself).