LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   DVB Tuning Problems - Can't save the stream to file (http://www.linuxquestions.org/questions/showthread.php?t=4175436650)

khinch 11-11-2012 08:20 AM

DVB Tuning Problems - Can't save the stream to file
 
I am having trouble getting my DVB card working in Ubuntu 12.04. This system works perfectly in Windows7 so I know there's nothing wrong with the physical setup, but I'd like to get it working with MythTV if I can.

The card is a Blackgold BGT3600 which has two DVB-S2 tuners, and two DVB-T2 tuners. The satellites are /dev/dvb/adapter0 & 1, and the terrestrials are /dev/dvb/adapter2 & 3.

If I scan satellite channels using w_scan I get a usable channels.conf that seems to work fine with szap:
Code:

~$ szap -a 0 "BBC 1 Scotland(BSkyB)"
reading channels from file '/home/<user>/.szap/channels.conf'
zapping to 452 'BBC 1 Scotland(BSkyB)':
sat 0, frequency = 10802 MHz H, symbolrate 22000000, vpid = 0x1388, apid = 0x1389 sid = 0x1915
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1f | signal bfff | snr bbf4 | ber 00000001 | unc fffffffe | FE_HAS_LOCK
status 1f | signal bfff | snr bc48 | ber 00000001 | unc fffffffe | FE_HAS_LOCK
status 1f | signal bfff | snr bbc6 | ber 00000001 | unc fffffffe | FE_HAS_LOCK
status 1f | signal bfff | snr bc12 | ber 00000001 | unc fffffffe | FE_HAS_LOCK
status 1f | signal bfff | snr bbfb | ber 00000001 | unc fffffffe | FE_HAS_LOCK

Likewise I can do the same with the DVB-T2 cards using the scan program:
Code:

~$ tzap -a 2 "BBC ONE"
using '/dev/dvb/adapter2/frontend0' and '/dev/dvb/adapter2/demux0'
reading channels from file '/home/<user>/.tzap/channels.conf'
tuning to 506000000 Hz
video pid 0x0065, audio pid 0x0066
status 01 | signal ce4c | snr 0011 | ber 00000000 | unc 00000000 |
status 1f | signal d39c | snr 011f | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal d3ac | snr 011f | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal d39c | snr 0122 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal d39c | snr 011f | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal d39c | snr 0123 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal d37c | snr 011e | ber 00000000 | unc 00000000 | FE_HAS_LOCK

But, if I try to save the output anywhere to test the quality, all I get is an empty file with 0 size.

If I run either of these commands:
Code:

cat /dev/dvb/adapter0/dvr0 > ~/test_sat.ts
cat /dev/dvb/adapter2/dvr0 > ~/test_ter.ts

I don't receive any error messages but the file size is always zero, and not surprisingly the file won't play in mplayer.

Can anyone suggest what's going wrong please? Any help much appreciated.


All times are GMT -5. The time now is 08:39 PM.