scan returns channels with no VID

2011-11-17 Thread Brian J. Murrell
Hi.

Using dvb-apps 1.1.1+rev1355-1ubuntu1 on Ubuntu, I'm scanning my qam
channels with scan on both an Hauppage HVR-950q and HVR-1600 and the
resulting output contains channels which I know are both audio and video
yet the VID field of the output is 0.  i.e.

120:58500:QAM_256:0:5842:11
121:58500:QAM_256:0:5846:77
122:58500:QAM_256:0:5848:936
123:58500:QAM_256:0:5850:958

These are all viewable channels.  Any ideas why the VID is empty?

At the same time, other channels have a VID but are not actually
viewable/tunable:

108:55500:QAM_256:3691:3692:726
109:55500:QAM_256:3695:3696:728
110:55500:QAM_256:3693:3694:727

Any ideas?

Cheers,
b.



signature.asc
Description: OpenPGP digital signature


Re: scan returns channels with no VID

2011-11-17 Thread Devin Heitmueller
On Thu, Nov 17, 2011 at 4:55 PM, Brian J. Murrell br...@interlinx.bc.ca wrote:
 Hi.

 Using dvb-apps 1.1.1+rev1355-1ubuntu1 on Ubuntu, I'm scanning my qam
 channels with scan on both an Hauppage HVR-950q and HVR-1600 and the
 resulting output contains channels which I know are both audio and video
 yet the VID field of the output is 0.  i.e.

 120:58500:QAM_256:0:5842:11
 121:58500:QAM_256:0:5846:77
 122:58500:QAM_256:0:5848:936
 123:58500:QAM_256:0:5850:958

 These are all viewable channels.  Any ideas why the VID is empty?

 At the same time, other channels have a VID but are not actually
 viewable/tunable:

 108:55500:QAM_256:3691:3692:726
 109:55500:QAM_256:3695:3696:728
 110:55500:QAM_256:3693:3694:727

 Any ideas?

I'm not sure about the ones that don't have a VID, but the ones that
have a VID which aren't viewable are probably because they're
encrypted.  The /usr/bin/scan tool will return channels in the list
regardless of whether they can actually be viewed without a Cablecard.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: scan returns channels with no VID

2011-11-17 Thread Brian J. Murrell
On 11-11-17 04:58 PM, Devin Heitmueller wrote:
 
 I'm not sure about the ones that don't have a VID, but the ones that
 have a VID which aren't viewable are probably because they're
 encrypted.

Fair enough.

 The /usr/bin/scan tool will return channels in the list
 regardless of whether they can actually be viewed without a Cablecard.

Understood.

Ultimately, I'm looking at the PID/AID values because mplayer/mencoder
doesn't seem to be able to find video on one of these known-functional
channels:

$ mencoder -v dvb://122 -o test.mpg -oac copy -ovc copy -dvbin
card=2:file=~/.mplayer/channels.conf.atsc
...
get_path('channels.conf.atsc') - '/home/brian/.mplayer/channels.conf.atsc'
CONFIG_READ FILE: /home/brian/.mplayer/channels.conf.atsc, type: 4
...
ATSC, NUM: 108, NUM_FIELDS: 4, NAME: 109, FREQ: 55500
 PIDS:  3695  3696  0
ATSC, NUM: 109, NUM_FIELDS: 4, NAME: 110, FREQ: 55500
 PIDS:  3693  3694  0
ATSC, NUM: 110, NUM_FIELDS: 4, NAME: 111, FREQ: 56100
 PIDS:  7313  7315  0
...
ATSC, NUM: 119, NUM_FIELDS: 4, NAME: 120, FREQ: 58500
 PIDS:  0  5842
ATSC, NUM: 120, NUM_FIELDS: 4, NAME: 121, FREQ: 58500
 PIDS:  0  5846
ATSC, NUM: 121, NUM_FIELDS: 4, NAME: 122, FREQ: 58500
 PIDS:  0  5848
ATSC, NUM: 122, NUM_FIELDS: 4, NAME: 123, FREQ: 58500
 PIDS:  0  5850
ATSC, NUM: 123, NUM_FIELDS: 4, NAME: 124, FREQ: 58500
 PIDS:  0  5844
...
DVB_CONFIG, can't open device /dev/dvb/adapter2/frontend0, skipping
DVB_CONFIG, can't open device /dev/dvb/adapter3/frontend0, skipping
OPEN_DVB: prog=122, card=2, type=4

dvb_streaming_start(PROG: 122, CARD: 2, FILE: ~/.mplayer/channels.conf.atsc)
PROGRAM NUMBER 121: name=122, freq=58500
DVB_OPEN_DEVICES(2)
OPEN(0), file /dev/dvb/adapter1/demux0: FD=4, CNT=0
OPEN(1), file /dev/dvb/adapter1/demux0: FD=5, CNT=1
DVB_SET_CHANNEL: new channel name=122, card: 1, channel 121
dvb_tune Freq: 58500
TUNE_IT, fd_frontend 3, fd_sec -1
freq 58500, srate 0, pol Using DVB card Samsung S5H1409 QAM/8VSB
Frontend
tuning ATSC to 58500, modulation=5
Getting frontend status
Bit error rate: 0
Signal strength: 316
SNR: 316
UNC: 0
FE_STATUS: FE_HAS_LOCK FE_HAS_SYNC
SET PES FILTER ON PID 0 to fd 4, RESULT: 0, ERRNO: 0
SET PES FILTER ON PID 5848 to fd 5, RESULT: 0, ERRNO: 0
SUCCESSFUL EXIT from dvb_streaming_start
STREAM: [dvbin] dvb://122
STREAM: Description: Dvb Input
STREAM: Author: Nico
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 29  data: 0x0 - 0x0
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
Checking for MPEG-TS...
TRIED UP TO POSITION 8272, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
PROBING UP TO 0, PROG: 0
COLLECT_SECTION, start: 64, size: 184, collected: 0
SKIP: 0+1, TID: 0, TLEN: 49, COLLECTED: 184
PARSE_PAT: section_len: 49, section 0/0
PROG: 11 (1-th of 10), PMT: 139
PROG: 77 (2-th of 10), PMT: 140
PROG: 936 (3-th of 10), PMT: 141
PROG: 958 (4-th of 10), PMT: 142
PROG: 19 (5-th of 10), PMT: 143
PROG: 24 (6-th of 10), PMT: 144
PROG: 51 (7-th of 10), PMT: 145
PROG: 85 (8-th of 10), PMT: 146
PROG: 522 (9-th of 10), PMT: 147
PROG: 521 (10-th of 10), PMT: 148
COLLECT_SECTION, start: 64, size: 184, collected: 184
SKIP: 0+1, TID: 0, TLEN: 49, COLLECTED: 184
PARSE_PAT: section_len: 49, section 0/0
PROG: 11 (1-th of 10), PMT: 139
PROG: 77 (2-th of 10), PMT: 140
PROG: 936 (3-th of 10), PMT: 141
PROG: 958 (4-th of 10), PMT: 142
PROG: 19 (5-th of 10), PMT: 143
PROG: 24 (6-th of 10), PMT: 144
PROG: 51 (7-th of 10), PMT: 145
PROG: 85 (8-th of 10), PMT: 146
PROG: 522 (9-th of 10), PMT: 147
PROG: 521 (10-th of 10), PMT: 148
...
NO VIDEO! AUDIO A52(pid=5848) NO SUBS (yet)!  PROGRAM N. 0
== Found audio stream: 0

ADDED AUDIO PID 5848, type: 2000 stream n. 0
Opened TS demuxer, audio: 2000(pid 0), video: (pid
-1)...POS=18800, PROBE=0

demux_ts, switched to audio pid 5848, id: 0, sh: 0x9e74088
Video stream is mandatory!

Exiting...

Is this because the VID is 0 or is that unrelated to why this isn't working?

Cheers,
b.



signature.asc
Description: OpenPGP digital signature