|
TvcardTest http://www.linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers load driver Update V4L drivers and sudo modprobe cx88-dvb and it all works fine. We're now going to test the card by viewing some output. For this, we'll need some DVB utilities and a movie player. As everything is so easy with Ubuntu, why not try out both xine and mplayer...? sudo apt-get update sudo apt-get install dvb-utils dvbstream sudo apt-get install xine-ui mkdir /root/.tzap sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-WinterHill > /root/.tzap/channels.conf cd .xine ln -s ../.tzap/channels.conf This time xine gives me all sort of problems. Going to http://www.mythtv.org/wiki/index.php/Tzap, but using scan instead of dvbscan (as stated above) I found some channels, but not all. Since I had a channel.conf on my MediaServer (this is the frontend I'm doing) I copied that and could now lock a channel: tzap -r "SVT1" using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' tuning to 626000000 Hz video pid 0x03fb, audio pid 0x03fa status 01 | signal 6363 | snr 8000 | ber 00003fff | unc 00000013 | status 1f | signal 6363 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal 6363 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal 6464 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK status 1f | signal 6363 | snr ffff | ber 00000000 | unc 00000000 | FE_HAS_LOCK I'm now tying to capture something but gets an empty file. cat /dev/dvb/adapter0/dvr0 > testvideo.mpg ls -l -rw-r--r-- 1 user user 0 2007-10-04 22:45 file.ts After weeks of struggling with this I finally found out that scan was lying above. At that time I had installed Kaffeine, which at first had the same problem as xine to get any picture. The breakthrough was when I discovered that Kaffeine was able to auto-scan my HVR-1300 card and suddenly it started working. Based on those channels I made my own initial-tuning-data-file for scan (se-Gothenburg-FreeToAir): # Sweden - Göteborg FreeToAir # T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy T 546000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 786000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE T 522000000 8MHz 2/3 NONE QAM64 8k 1/8 NONE Running scan with this made xine also happy sudo scan se-Gothenburg-FreeToAir > ~/.xine/channels.conf Struggling with HVR-1300Installing firmware sudo cp -p /lib/firmware/2.6.20-15-386/v4l-cx2341x-* /lib/firmware/ A workaround is loading the modules by hand
add the cx88-dvb to the /etc/modules http://gentoo-wiki.com/HARDWARE_Hauppauge_HVR_1300 No sound in Kaffeine from HVR-1300Enable multiverse in your sources.list. Then: sudo apt-get install cvs -d libxine-extracodecs To all of you who have trouble with sound (usually when playing from analog) just use a command like sox to make a bridge between the alsa "card" built in into your capture card and your sound card. This works for me: Code: $ sox -c 2 -t alsa hw:1,0 -t alsa default Let's analice it -c 2 means we want to reproduce it on stereo -t alsa means that input and output cards are both alsa hw:1,0 is the name of the device made for your capture card (it may vary just try until you find it, "hw:2,0" , "hw:3,0" etc). default is the name of the output card, usually if you have configured alsa to play multiple sounds that's the correct name, otherwise it may be something like hw:0,0 or hw:1,0 etc. http://ubuntuforums.org/showthread.php?p=3474949 After reading your response, I tried to focus myself on the firmware needed for the HVR-1300 mpeg encoding to works. In fact on my system, the firmware was in the wrong directory. It was inside /lib/firmware/2.6.21, and the kernel module (blackbird?) was expecting to find it inside /lib/firmware. I simply copied the needed file inside this dir, and I have been capable of recording a mpg from /dev/video1:
Two first lines are usefull for me to select composite input, and pal system. here is an interresting url that you should read: http://archives.devshed.com/forums/linux-97/hvr-1300-cx88-blackbird-and-mythtv-2176896.html http://lists-archives.org/video4linux/19740-hvr-1300-problems-under-linux.html Without the firmware, only the uncompressed cx88 device will work, the blackbird device will not work without firmware. You'll need a 'v4l-cx2341x-enc.fw' file with the encoder firmware just like the ivtv driver needs it. Without it, the mpeg2 encoder chip on the board is just sitting idle http://archives.devshed.com/forums/linux-97/hvr-1300-cx88-blackbird-and-mythtv-2176896.html Using Monit to ensure MythBackend restarts after crashing. http://www.avsforum.com/avs-vb/showthread.php?p=11796405#post11796405 removing and adding modules... http://godard.b.free.fr/dotclear/index.php?2007/04/04/13-hauppauge-wintv-hvr1300-under-linux mplayer tv:// -tv driver=v4l2:device=/dev/video:alsa:adevice=hw.1,0:amode=1:immediatemode=0:normid=2 |