View  Edit  Attributes  History  Attach  Print  Search

TvcardTest

MediaServer.TvcardTest History

Hide minor edits - Show changes to markup

October 10, 2007, at 10:42 PM by blader_se -
Added lines 74-78:

No sound in Kaffeine from HVR-1300

Enable multiverse in your sources.list. Then: sudo apt-get install cvs -d libxine-extracodecs

October 10, 2007, at 10:29 PM by blader_se -
Changed lines 116-118 from:

http://godard.b.free.fr/dotclear/index.php?2007/04/04/13-hauppauge-wintv-hvr1300-under-linux

to:

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

October 06, 2007, at 10:53 PM by blader_se -
Added lines 40-52:

@]

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

October 06, 2007, at 01:51 PM by blader_se -
Changed lines 100-103 from:

http://www.avsforum.com/avs-vb/showthread.php?p=11796405#post11796405

to:

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

October 05, 2007, at 06:59 AM by blader_se -
Changed lines 97-100 from:

http://archives.devshed.com/forums/linux-97/hvr-1300-cx88-blackbird-and-mythtv-2176896.html

to:

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

October 05, 2007, at 01:03 AM by blader_se -
Added lines 90-97:

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

October 05, 2007, at 01:01 AM by blader_se -
Changed lines 72-89 from:

http://ubuntuforums.org/showthread.php?p=3474949

to:

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:

  1. v4l2-ctl -i 1
  2. v4l2-ctl -s pal
  3. cat /dev/video1 > test.mpg
  4. mplayer test.mpg

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

October 05, 2007, at 12:46 AM by blader_se -
Changed lines 61-71 from:
to:

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.

October 05, 2007, at 12:45 AM by blader_se -
Changed lines 60-62 from:

http://gentoo-wiki.com/HARDWARE_Hauppauge_HVR_1300

to:

http://gentoo-wiki.com/HARDWARE_Hauppauge_HVR_1300

http://ubuntuforums.org/showthread.php?p=3474949

October 05, 2007, at 12:41 AM by blader_se -
Changed lines 58-60 from:

to the /etc/modules

to:

to the /etc/modules

http://gentoo-wiki.com/HARDWARE_Hauppauge_HVR_1300

October 05, 2007, at 12:05 AM by blader_se -
Changed lines 52-58 from:
  1. modprobe cx88-dvb
to:
  1. modprobe cx88-dvb

add the

cx88-dvb

to the /etc/modules

October 04, 2007, at 11:35 PM by blader_se -
Changed lines 47-52 from:

@]

to:

@]

A workaround is loading the modules by hand

  1. modprobe dvb_core
  2. modprobe cx88-dvb
October 04, 2007, at 11:26 PM by blader_se -
Added lines 33-40:

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
October 04, 2007, at 11:23 PM by blader_se -
Deleted line 13:
Added lines 18-32:

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
October 04, 2007, at 11:18 PM by blader_se -
Changed lines 24-25 from:

[@

 sudo cp -p /lib/firmware/2.6.20-15-386/v4l-cx2341x-* /lib/firmware/
to:

[@ sudo cp -p /lib/firmware/2.6.20-15-386/v4l-cx2341x-* /lib/firmware/

October 04, 2007, at 11:18 PM by blader_se -
Added lines 18-25:

@]

Struggling with HVR-1300

Installing firmware

[@

 sudo cp -p /lib/firmware/2.6.20-15-386/v4l-cx2341x-* /lib/firmware/
September 30, 2007, at 11:21 PM by blader_se -
Changed lines 10-18 from:
 sudo apt-get install xine-ui mplayer @]
to:
 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

@]

September 30, 2007, at 11:11 PM by blader_se -
Added line 1:

http://www.linuxtv.org/wiki/index.php/How_to_install_DVB_device_drivers

September 30, 2007, at 11:10 PM by blader_se -
Added lines 1-4:

load driver Update V4L drivers and sudo modprobe cx88-dvb and it all works fine.

September 30, 2007, at 10:52 PM by blader_se -
Changed lines 3-5 from:

sudo apt-get update sudo apt-get install dvb-utils dvbstream sudo apt-get install xine-ui mplayer

to:
 sudo apt-get update
 sudo apt-get install dvb-utils dvbstream
 sudo apt-get install xine-ui mplayer 
September 30, 2007, at 10:52 PM by blader_se -
Added lines 1-5:

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 mplayer