Page 1 of 1

DVB-C CAM descramble, works with gnutv but not in VLC?

Posted: 29 Nov 2013 09:27
by Waperboy
I have a DVB-C tuner card with a CAM module + subscription card. I've made a channels.conf file with the scan command.

When I open this file with VLC ( 2.0.8 ) it can show the free channels, but not the scrambled ones.

Gnutv will successfully decode the scrambled channels using the same channels.conf, and I can stream it to VLC. (Gnutv won't let me change channels without restarting it though, unless I patch it. But then, VLC often cannot handle when the gnutv stops and starts the TS stream.)

I see in the vlc log that it finds no descrabmlers. Do I need to configure something else in VLC, or is this functionality just not implemented/broken?

VLC log when selecting an encrypted channel in the playlist from channels.conf:

Code: Select all

main debug: processing request item: TV10, node: Playlist, skip: 0 main debug: resyncing on TV10 main debug: TV10 is at 239 main debug: starting playback of the new playlist item main debug: resyncing on TV10 main debug: TV10 is at 239 main debug: creating new input thread main debug: Creating an input for 'TV10' main debug: TIMER input launching for 'TV10' : 1188.048 ms - Total 1188.048 ms / 1 intvls (Avg 1188.048 ms) main debug: using timeshift granularity of 50 MiB, in path '/tmp' main debug: `dvb://' gives access `dvb' demux `' path `' main debug: creating demux: access='dvb' demux='' location='' file='(null)' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "dvb" main debug: TIMER module_need() : 0.179 ms - Total 0.179 ms / 1 intvls (Avg 0.179 ms) main debug: creating access 'dvb' location='', path='(null)' main debug: looking for access module: 1 candidate dtv debug: CA interface with 1 slot(s) dtv debug: CI link layer level interface type dtv debug: 0 available descrambler(s) (keys) qt4 debug: IM: Setting an input dtv debug: probing frontend: TurboSight TBS 6680 DVBC frontend dtv debug: type 1, capabilities 0x0001FC01 dtv debug: frequencies 47000000 to 870000000 dtv debug: (0 tolerance, 62500 per step) dtv debug: bauds rates 458334 to 7333333 dtv debug: (0 tolerance) dtv debug: setting property 2 to 0 dtv debug: setting property 17 to 1 dtv debug: setting property 3 to 450000000 dtv debug: setting property 4 to 5 dtv debug: setting property 8 to 6875000 dtv debug: setting property 9 to 0 dtv debug: setting property 6 to 2 dtv debug: setting property 1 to 0 main debug: using access module "dtv" main debug: TIMER module_need() : 1626.753 ms - Total 1626.753 ms / 1 intvls (Avg 1626.753 ms) main debug: Using block method for AStream* main debug: starting pre-buffering dtv debug: frontend status: 0x00 main debug: received first data after 15 ms main debug: prebuffering done 188 bytes in 0s - 11 KiB/s main debug: looking for stream_filter module: 7 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 503.453 ms - Total 503.453 ms / 1 intvls (Avg 503.453 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.139 ms - Total 0.139 ms / 1 intvls (Avg 0.139 ms) main debug: creating demux: access='dvb' demux='ts' location='' file='(null)' main debug: looking for demux module: 1 candidate ts debug: PATCallBack called ts debug: new PAT ts_id=52 version=1 current_next=1 ts debug: * number=0 pid=16 ts debug: * number=1109 pid=290 ts debug: * number=1023 pid=261 ts debug: * number=1075 pid=257 ts debug: * number=1053 pid=307 ts debug: * number=1105 pid=262 ts debug: * number=1110 pid=263 ts debug: * number=1115 pid=264 dtv debug: frontend status: 0x1F ts debug: PMTCallBack called ts debug: new PMT program number=1109 version=4 pid_pcr=4130 ts debug: * descriptor : unknown (0xe) ts debug: * descriptor : CA (0x9) SysID 0xb00 ts debug: * descriptor : CA (0x9) SysID 0x5601 ts debug: * es pid=4130 type=2 dr->i_tag=0x52 ts debug: * es pid=4130 type=2 dr->i_tag=0xe ts debug: * es pid=4130 type=2 fcc=mpgv ts debug: * es pid=4386 type=4 dr->i_tag=0x52 ts debug: * es pid=4386 type=4 dr->i_tag=0xe ts debug: * es pid=4386 type=4 dr->i_tag=0xa ts debug: found language: eng ts debug: * es pid=4386 type=4 fcc=mpga ts debug: * es pid=7970 type=6 dr->i_tag=0x52 ts debug: * es pid=7970 type=6 dr->i_tag=0xe ts debug: * es pid=7970 type=6 dr->i_tag=0x56 ts debug: * ttxt type=Teletext subtitles lan=swe page=887 ts debug: * ttxt type=Teletext subtitles lan=dan page=885 ts debug: * ttxt type=Teletext subtitles lan=nor page=886 ts debug: * ttxt type=Teletext subtitles lan=fin page=888 ts debug: * Stream Component Identifier: 3 ts debug: * es pid=7970 type=6 fcc=telx main debug: using demux module "ts" main debug: TIMER module_need() : 109.040 ms - Total 109.040 ms / 1 intvls (Avg 109.040 ms) ts debug: DEMUX_SET_GROUP 1023 (nil) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in /home/per/.local/share/vlc/lua/meta/reader lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 0.556 ms - Total 0.556 ms / 1 intvls (Avg 0.556 ms) main debug: `dvb://' successfully opened ts debug: PMTCallBack called ts debug: new PMT program number=1023 version=5 pid_pcr=4101 ts debug: * descriptor : unknown (0xe) ts debug: * descriptor : CA (0x9) SysID 0xb00 ts debug: * descriptor : CA (0x9) SysID 0x5601 ts debug: * es pid=4101 type=2 dr->i_tag=0x52 ts debug: * es pid=4101 type=2 dr->i_tag=0xe ts debug: * es pid=4101 type=2 fcc=mpgv main debug: selecting program id=1023 main debug: looking for decoder module: 31 candidates avcodec debug: libavcodec already initialized avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec warning: threaded frame decoding is not compatible with ffmpeg-hw, disabled avcodec warning: threaded slice decoding is not compatible with ffmpeg-hw, disabled avcodec debug: ffmpeg codec (MPEG-1/2 Video) started main debug: using decoder module "avcodec" main debug: TIMER module_need() : 1.850 ms - Total 1.850 ms / 1 intvls (Avg 1.850 ms) main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_mpegvideo" main debug: TIMER module_need() : 0.069 ms - Total 0.069 ms / 1 intvls (Avg 0.069 ms) ts debug: * es pid=4357 type=3 dr->i_tag=0xa ts debug: * es pid=4357 type=3 dr->i_tag=0x52 ts debug: * es pid=4357 type=3 dr->i_tag=0xe ts debug: found language: swe ts debug: * es pid=4357 type=3 fcc=mpga main debug: looking for decoder module: 31 candidates main debug: using decoder module "mpeg_audio" main debug: TIMER module_need() : 0.123 ms - Total 0.123 ms / 1 intvls (Avg 0.123 ms) ts warning: first packet for pid=4101 cc=0xd ts warning: scrambled state changed on pid 4101 (0->1) ts warning: first packet for pid=4357 cc=0x6 ts warning: scrambled state changed on pid 4357 (0->1) main debug: Buffering 0% main debug: Buffering 11% ts warning: invalid header [0x9a:41:24:06] (pid: 4101) main debug: Buffering 23% ts warning: invalid header [0x8e:31:fe:1a] (pid: 4101) main debug: Buffering 35% ts warning: invalid header [0x67:01:f6:9c] (pid: 4101) main debug: Buffering 46% ts warning: invalid header [0x7c:ba:66:40] (pid: 4357) ts warning: invalid header [0x53:1a:0b:12] (pid: 4101) main debug: Buffering 58% ts warning: invalid header [0xfc:c0:aa:2d] (pid: 4101) main debug: Buffering 70% ts warning: invalid header [0x7c:e3:24:c7] (pid: 4101) ts warning: invalid header [0x39:9f:b1:2c] (pid: 4101) main debug: Buffering 81% main debug: Buffering 93% main debug: Buffering 93% ts warning: invalid header [0xb6:5a:89:37] (pid: 4101) ts warning: invalid header [0x34:57:4f:fd] (pid: 4357) ts warning: invalid header [0x8d:bc:96:a3] (pid: 4101) main debug: Stream buffering done (314 ms in 319 ms) main debug: Decoder buffering done in 0 ms ts warning: invalid header [0xe4:43:66:c4] (pid: 4101) ts warning: invalid header [0xc0:bd:20:f8] (pid: 4357) ts warning: invalid header [0x63:1a:cf:b6] (pid: 4101) ts warning: invalid header [0x02:b9:d9:56] (pid: 4101) ts warning: invalid header [0xe6:99:fd:4e] (pid: 4101) ts warning: invalid header [0x3b:f7:dd:c7] (pid: 4357) ts debug: PSINewTableCallBack: table 0x42(66) ext=0x34(52) ts debug: SDTCallBack called ts debug: new SDT ts_id=52 version=20 current_next=1 network_id=40999 ts debug: * service id=1023 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=TV10 main debug: EsOutProgramMeta: number=1023 ts debug: * service id=1105 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=BBC World main debug: EsOutProgramMeta: number=1105 ts debug: * service id=1053 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=Pink Plus main debug: EsOutProgramMeta: number=1053 ts debug: * service id=1110 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=Channel One Russia main debug: EsOutProgramMeta: number=1110 ts debug: * service id=1109 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=BBC Knowledge main debug: EsOutProgramMeta: number=1109 ts debug: * service id=1075 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=TV4 Fakta XL main debug: EsOutProgramMeta: number=1075 ts debug: * service id=1115 eit schedule=1 present=1 running=4 free_ca=1 ts debug: - type=1 provider=Com Hem name=Showtime main debug: EsOutProgramMeta: number=1115 ts warning: invalid header [0x71:5c:c8:4c] (pid: 4101) ts warning: invalid header [0x82:8a:5f:55] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x433(1075) ts warning: invalid header [0xe5:81:0a:33] (pid: 4101) ts warning: invalid header [0x04:47:a4:f3] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x451(1105) ts warning: invalid header [0x4a:55:a6:73] (pid: 4101) ts warning: invalid header [0xe8:b8:b3:a0] (pid: 4357) ts warning: invalid header [0x3c:7f:cf:8a] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x455(1109) ts warning: invalid header [0x58:99:38:72] (pid: 4101) ts warning: invalid header [0xd6:c3:b3:d1] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x456(1110) ts warning: invalid header [0x20:4f:1f:63] (pid: 4357) ts warning: invalid header [0xe2:45:10:a1] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x45b(1115) ts warning: invalid header [0xec:aa:e3:61] (pid: 4101) ts warning: invalid header [0x34:6f:79:08] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x3ff(1023) ts warning: invalid header [0x6d:af:89:85] (pid: 4357) ts warning: invalid header [0x20:72:8e:99] (pid: 4101) ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x41d(1053) ts warning: invalid header [0x3d:c3:ce:1a] (pid: 4101) ts debug: EITCallBack called ts debug: new EIT service_id=1075 version=25 current_next=1 ts_id=52 network_id=40999 segment_last_section_number=1 last_table_id=78 ... (EPG program guide stuff) ts warning: invalid header [0x19:5d:26:2d] (pid: 4101) ts warning: invalid header [0x1c:d9:54:85] (pid: 4101) ... (more invalid header) ts warning: invalid header [0xac:2c:a6:11] (pid: 4357) ts warning: scrambled state changed on pid 4101 (1->0) ts warning: scrambled state changed on pid 4101 (0->1) ts warning: invalid header [0x68:d5:0d:4c] (pid: 4101) ... (more invalid header)

Re: DVB-C CAM descramble, works with gnutv but not in VLC?

Posted: 10 Dec 2013 15:49
by Jean-Baptiste Kempf
I would say not implemented.