VLC and Powercam Pro Module

About encoding, codec settings, muxers and filter usage
grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

VLC and Powercam Pro Module

Postby grand » 24 Oct 2009 11:02

Hello!
I'm use VLC for streaming.
When I'm use module aston viaccess professional, I can stream 24 pids simultaneously.
But with module Powercam Pro, I can stream only 12 pids :-(

Example:

Module: aston viaccess professional

cvlc -vvv --dvb-adapter=4 --programs=20501,20502,20503,20504,20505,20506,20507,20508,20511,20512 \
dvb:// --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=0 --dvb-frequency=12456000 \
--dvb-srate=27500000 --dvb-voltage=18 \
--sout-standard-access=http --sout-standard-mux=ts --sout \
"#duplicate{ dst=std{dst=xxx:6000},select="program=20501", \
dst=std{dst=xxx:6001},select="program=20502", \
dst=std{dst=xxx:6002},select="program=20503", \
dst=std{dst=xxx:6003},select="program=20504", \
dst=std{dst=xxx:6004},select="program=20505", \
dst=std{dst=xxx:6005},select="program=20506", \
dst=std{dst=xxx:6006},select="program=20507", \
dst=std{dst=xxx:6007},select="program=20508", \
dst=std{dst=xxx:6008},select="program=20511", \
dst=std{dst=xxx:6009},select="program=20512"}"

It is work! 24 pids.

Module: Powercam Pro

cvlc -vvv --dvb-adapter=4 --programs=20501,20502,20503,20504 \
dvb:// --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=0 --dvb-frequency=12456000 \
--dvb-srate=27500000 --dvb-voltage=18 \
--sout-standard-access=http --sout-standard-mux=ts --sout \
"#duplicate{ dst=std{dst=xxx:6000},select="program=20501", \
dst=std{dst=xxx:6001},select="program=20502", \
dst=std{dst=xxx:6002},select="program=20503", \
dst=std{dst=xxx:6003},select="program=20504"}"

It is work! 12 pids.


Module: Powercam Pro

cvlc -vvv --dvb-adapter=4 --programs=20501,20502,20503,20504,20505 \
dvb:// --dvb-lnb-lof1=10750000 --dvb-lnb-lof2=0 --dvb-frequency=12456000 \
--dvb-srate=27500000 --dvb-voltage=18 \
--sout-standard-access=http --sout-standard-mux=ts --sout \
"#duplicate{ dst=std{dst=xxx:6000},select="program=20501", \
dst=std{dst=xxx:6001},select="program=20502", \
dst=std{dst=xxx:6002},select="program=20503", \
dst=std{dst=xxx:6003},select="program=20504", \
dst=std{dst=xxx:6004},select="program=20505"}"

It is don't work! 15 pids.

In logs I can see:
[00000465] ts demux warning: invalid header [0x81:d:e0:bf] (pid: 323)
[00000465] ts demux warning: invalid header [0xe7:6d:be:69] (pid: 323)
[00000465] ts demux warning: invalid header [0x50:66:8e:12] (pid: 407)
[00000465] ts demux warning: invalid header [0xf4:3:82:71] (pid: 406)
[00000465] ts demux warning: invalid header [0x6f:2:71:11] (pid: 323)
[00000465] ts demux warning: invalid header [0xe7:80:2:81] (pid: 323)
[00000465] ts demux warning: invalid header [0xbb:88:d2:8d] (pid: 323)
[00000465] ts demux warning: invalid header [0x6c:2c:32:b5] (pid: 407)
[00000465] ts demux warning: invalid header [0x75:72:6d:ba] (pid: 406)
[00000465] ts demux warning: invalid header [0xc:e5:7:cc] (pid: 323)
[00000465] ts demux warning: invalid header [0xc8:c4:3e:28] (pid: 407)
[00000465] ts demux warning: invalid header [0x26:de:9a:e3] (pid: 406)
[00000465] ts demux warning: invalid header [0x1d:b3:31:9d] (pid: 323)
[00000465] ts demux warning: invalid header [0x78:38:c2:3f] (pid: 323)
[00000465] ts demux warning: invalid header [0xf8:f:ee:c5] (pid: 323)
[00000465] ts demux warning: invalid header [0xdd:aa:cf:2e] (pid: 323)
[00000465] ts demux warning: invalid header [0xc3:9c:38:cb] (pid: 407)
[00000465] ts demux warning: invalid header [0x8:e7:de:df] (pid: 406)
[00000465] ts demux warning: invalid header [0xc3:8b:15:83] (pid: 323)
[00000465] ts demux warning: invalid header [0x67:c8:79:b9] (pid: 323)
[00000465] ts demux warning: invalid header [0x4c:21:2:25] (pid: 407)
[00000465] ts demux warning: invalid header [0x4:aa:59:7] (pid: 406)
[00000465] ts demux warning: invalid header [0x1:14:7:c7] (pid: 323)
[00000465] ts demux warning: invalid header [0xf6:16:b:11] (pid: 407)
[00000465] ts demux warning: invalid header [0x70:a7:8:a7] (pid: 406)


Module Powercam Pro support 33pids, why VLC can stream only 12 pids???
Other soft, like mumudvb, can stream all 33 pids with module Powercam Pro.

When I'm try dvblast, it so don't work with this modules.
In logs:
dvblast warning: Not adding XXX CAPMT for SID 20501, too many programs
Segmentation fault

:(

Can you help me?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC and Powercam Pro Module

Postby Jean-Baptiste Kempf » 24 Oct 2009 22:57

Did you try dvblast?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 25 Oct 2009 20:35

Yes.
When I'm try dvblast, it so don't work with this modules.
In logs:
dvblast warning: Not adding XXX CAPMT for SID 20501, too many programs
Segmentation fault

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 26 Oct 2009 09:28

What command line arguments have you used and what's in the config file?

The message you mention should only happen if you try to stream more than 24 programs (not PIDs).

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 26 Oct 2009 17:44

dvblast -f 12306000 -s 27500000 -v 18 -a 4 -c /home/grand/dvblast.conf

$ cat ./dvblast.conf
xxx:6000 1 20501


I'm use transponder 12456 L ( http://flysat.com/ntvplus.php).
There are only 14 programs on this transponder!

With aston viaccess professional module dvblast work!
But with Powercam Pro don't work dvblast and vlc.

$ ./dvblast.sh
dvblast error: restarting
dvblast debug: frequency 12306000 is in Ku-band (higher)
dvblast debug: tuning QPSK frontend to f=12306000 srate=27500000 v=18 p=0 modulation=legacy
dvblast debug: CA interface with 1 slot
dvblast debug: CI link layer level interface type
dvblast debug: 0 available descramblers (keys)
dvblast debug: setting filter on PID 0
dvblast debug: conf: xxx:6000 w=1 sid=20501 pids[0]=-1,-1,-1,-1,-1...
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 0
dvblast debug: new PAT ts_id=5 version=20 current_next=1
dvblast debug: * number=0 pid=16
dvblast debug: * number=20501 pid=140
dvblast debug: setting filter on PID 140
dvblast debug: * number=20502 pid=141
dvblast debug: * number=20503 pid=142
dvblast debug: * number=20504 pid=143
dvblast debug: * number=20505 pid=144
dvblast debug: * number=20506 pid=145
dvblast debug: * number=20507 pid=149
dvblast debug: * number=20508 pid=151
dvblast debug: * number=20511 pid=146
dvblast debug: * number=20512 pid=147
dvblast debug: * number=20513 pid=148
dvblast debug: * number=20514 pid=150
dvblast debug: * number=20515 pid=152
dvblast debug: * number=20550 pid=189
dvblast debug: * number=20551 pid=190
dvblast debug: * number=20552 pid=191
dvblast debug: * number=20553 pid=192
dvblast debug: frontend has acquired signal
dvblast debug: frontend has acquired carrier
dvblast debug: frontend has acquired stable FEC
dvblast debug: frontend has acquired sync
dvblast debug: frontend has acquired lock
dvblast debug: - Bit error rate: 2304
dvblast debug: - Signal strength: 58871
dvblast debug: - SNR: 61005
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 140
dvblast debug: new PMT program number=20501 version=6 pid_pcr=320
dvblast debug: setting filter on PID 320
dvblast debug: * es pid=320 type=2
dvblast debug: * es pid=400 type=4
dvblast debug: setting filter on PID 400
dvblast debug: * es pid=401 type=4
dvblast debug: setting filter on PID 401
dvblast warning: discontinuity for PID 320
dvblast warning: discontinuity for PID 401
dvblast warning: discontinuity for PID 400
dvblast warning: discontinuity for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 0
dvblast warning: discontinuity for PID 140
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 140
dvblast debug: en50221_Poll: slot 0 is active
dvblast debug: opening ResourceManager session (1)
dvblast debug: opening ApplicationInformation session (2)
dvblast info: CAM: PowerCam_HD V2.0.3, 01, 02CA, 3000
dvblast debug: opening ConditionalAccess session (3)
dvblast debug: CA system IDs supported by the application :
dvblast debug: - 0x4aa0
dvblast debug: - 0x4aa1
dvblast debug: - 0x100
dvblast debug: - 0x500
dvblast debug: - 0x600
dvblast debug: - 0x601
dvblast debug: - 0x602
dvblast debug: - 0x603
dvblast debug: - 0x626
dvblast debug: - 0x606
dvblast debug: - 0x608
dvblast debug: - 0x620
dvblast debug: - 0x622
dvblast debug: - 0x624
dvblast debug: - 0x604
dvblast debug: - 0x628
dvblast debug: - 0x614
dvblast debug: - 0x668
dvblast debug: - 0x619
dvblast debug: - 0xb00
dvblast debug: - 0xb01
dvblast debug: - 0xb02
dvblast debug: - 0xd00
dvblast debug: - 0xd01
dvblast debug: - 0xd02
dvblast debug: - 0xd03
dvblast debug: - 0xd04
dvblast debug: - 0xd05
dvblast debug: - 0xd06
dvblast debug: - 0xd07
dvblast debug: - 0xd08
dvblast debug: - 0xd0c
dvblast debug: - 0xd0f
dvblast debug: - 0xd22
dvblast debug: - 0xd70
dvblast debug: - 0x1702
dvblast debug: - 0x1722
dvblast debug: - 0x1762
dvblast warning: Not adding CAPMT for SID 20501, too many programs

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 26 Oct 2009 18:25

Ah, your CAM seems to support 38 systems IDs ????

Please edit file en50221.c and change this line:

#define MAX_CASYSTEM_IDS 16

Put e.g. 48 instead of 16 there, recompile DVBlast and try again. If it doesn't work, please post the log again.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 27 Oct 2009 16:12

Thank you! It is work!
But problems with pids is still exist.
I can stream only 12 pids with DVBlast!
DVBlast don't show any errors.

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 27 Oct 2009 16:20

Please post all the output from DVBlast, so we can see which PIDs were selected with the programs.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 28 Oct 2009 08:31

$ ./dvblast.sh
dvblast error: restarting
dvblast debug: frequency 12306000 is in Ku-band (higher)
dvblast debug: tuning QPSK frontend to f=12306000 srate=27500000 v=18 p=0 modulation=legacy
dvblast debug: CA interface with 1 slot
dvblast debug: CI link layer level interface type
dvblast debug: 0 available descramblers (keys)
dvblast debug: setting filter on PID 8192
dvblast debug: conf: xxx:6000 w=1 sid=20501 pids[3]=320,400,401,-1,-1...
dvblast debug: conf: xxx:6001 w=1 sid=20502 pids[3]=321,402,403,-1,-1...
dvblast debug: conf: xxx:6002 w=1 sid=20503 pids[3]=328,404,405,-1,-1...
dvblast debug: conf: xxx:6003 w=1 sid=20504 pids[3]=323,406,407,-1,-1...
dvblast debug: conf: xxx:6004 w=1 sid=20505 pids[3]=324,408,409,-1,-1...
dvblast debug: conf: xxx:6005 w=1 sid=20506 pids[2]=325,410,-1,-1,-1...
dvblast debug: conf: xxx:6006 w=1 sid=20507 pids[2]=326,412,-1,-1,-1...
dvblast debug: conf: xxx:6007 w=1 sid=20508 pids[2]=341,431,-1,-1,-1...
dvblast debug: conf: xxx:6008 w=1 sid=20511 pids[2]=330,414,-1,-1,-1...
dvblast debug: conf: xxx:6009 w=1 sid=20512 pids[2]=331,416,-1,-1,-1...
dvblast debug: conf: xxx:6010 w=1 sid=20513 pids[3]=332,418,419,-1,-1...
dvblast debug: conf: xxx:6011 w=1 sid=20514 pids[3]=329,420,421,-1,-1...
dvblast debug: conf: xxx:6012 w=1 sid=20515 pids[2]=333,422,-1,-1,-1...
libdvbpsi error (PSI decoder): TS discontinuity (received 13, expected 0) for PID 0
dvblast debug: new PAT ts_id=5 version=24 current_next=1
dvblast debug: * number=0 pid=16
dvblast debug: * number=20501 pid=140
dvblast debug: * number=20502 pid=141
dvblast debug: * number=20503 pid=142
dvblast debug: * number=20504 pid=143
dvblast debug: * number=20505 pid=144
dvblast debug: * number=20506 pid=145
dvblast debug: * number=20507 pid=149
dvblast debug: * number=20508 pid=151
dvblast debug: * number=20511 pid=146
dvblast debug: * number=20512 pid=147
dvblast debug: * number=20513 pid=148
dvblast debug: * number=20514 pid=150
dvblast debug: * number=20515 pid=152
dvblast debug: * number=20550 pid=189
dvblast debug: * number=20551 pid=190
dvblast debug: * number=20552 pid=191
dvblast debug: * number=20553 pid=192
dvblast debug: frontend has acquired signal
dvblast debug: frontend has acquired carrier
dvblast debug: frontend has acquired stable FEC
dvblast debug: frontend has acquired sync
dvblast debug: frontend has acquired lock
dvblast debug: - Bit error rate: 256
dvblast debug: - Signal strength: 58847
dvblast debug: - SNR: 60291
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PID 148
dvblast debug: new PMT program number=20513 version=4 pid_pcr=332
dvblast debug: * es pid=332 type=2
dvblast debug: * es pid=418 type=4
dvblast debug: * es pid=419 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PID 150
dvblast debug: new PMT program number=20514 version=7 pid_pcr=329
dvblast debug: * es pid=329 type=2
dvblast debug: * es pid=420 type=4
dvblast debug: * es pid=421 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 147
dvblast debug: new PMT program number=20512 version=6 pid_pcr=331
dvblast debug: * es pid=331 type=2
dvblast debug: * es pid=416 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 142
dvblast debug: new PMT program number=20503 version=6 pid_pcr=328
dvblast debug: * es pid=328 type=2
dvblast debug: * es pid=404 type=4
dvblast debug: * es pid=405 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PID 141
dvblast debug: new PMT program number=20502 version=7 pid_pcr=321
dvblast debug: * es pid=321 type=2
dvblast debug: * es pid=402 type=4
dvblast debug: * es pid=403 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 140
dvblast debug: new PMT program number=20501 version=6 pid_pcr=320
dvblast debug: * es pid=320 type=2
dvblast debug: * es pid=400 type=4
dvblast debug: * es pid=401 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 146
dvblast debug: new PMT program number=20511 version=6 pid_pcr=330
dvblast debug: * es pid=330 type=2
dvblast debug: * es pid=414 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 151
dvblast debug: new PMT program number=20508 version=7 pid_pcr=341
dvblast debug: * es pid=341 type=2
dvblast debug: * es pid=431 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 149
dvblast debug: new PMT program number=20507 version=6 pid_pcr=326
dvblast debug: * es pid=326 type=2
dvblast debug: * es pid=412 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 144
dvblast debug: new PMT program number=20505 version=7 pid_pcr=324
dvblast debug: * es pid=324 type=2
dvblast debug: * es pid=408 type=4
dvblast debug: * es pid=409 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 143
dvblast debug: new PMT program number=20504 version=6 pid_pcr=323
dvblast debug: * es pid=323 type=2
dvblast debug: * es pid=406 type=4
dvblast debug: * es pid=407 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 145
dvblast debug: new PMT program number=20506 version=6 pid_pcr=325
dvblast debug: * es pid=325 type=2
dvblast debug: * es pid=410 type=4
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 152
dvblast debug: new PMT program number=20515 version=8 pid_pcr=333
dvblast debug: * es pid=333 type=2
dvblast debug: * es pid=422 type=4
dvblast warning: discontinuity for PID 333
dvblast warning: discontinuity for PID 323
dvblast warning: discontinuity for PID 325
dvblast warning: discontinuity for PID 324
dvblast warning: discontinuity for PID 321
dvblast warning: discontinuity for PID 18
dvblast warning: discontinuity for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 3) for PID 0
dvblast warning: discontinuity for PID 331
dvblast warning: discontinuity for PID 431
dvblast warning: discontinuity for PID 421
dvblast warning: discontinuity for PID 401
dvblast warning: discontinuity for PID 400
dvblast warning: discontinuity for PID 420
dvblast warning: discontinuity for PID 416
dvblast warning: discontinuity for PID 404
dvblast warning: discontinuity for PID 405
dvblast warning: discontinuity for PID 406
dvblast warning: discontinuity for PID 407
dvblast warning: discontinuity for PID 422
dvblast warning: discontinuity for PID 412
dvblast warning: discontinuity for PID 418
dvblast warning: discontinuity for PID 419
dvblast warning: discontinuity for PID 414
dvblast warning: discontinuity for PID 329
dvblast warning: discontinuity for PID 1005
dvblast debug: en50221_Poll: slot 0 is active
dvblast debug: opening ResourceManager session (1)
dvblast warning: discontinuity for PID 320
dvblast warning: discontinuity for PID 403
dvblast warning: discontinuity for PID 402
dvblast warning: discontinuity for PID 332
dvblast warning: discontinuity for PID 1
dvblast warning: discontinuity for PID 1004
dvblast warning: discontinuity for PID 328
dvblast warning: discontinuity for PID 408
dvblast warning: discontinuity for PID 410
dvblast warning: discontinuity for PID 409
dvblast warning: discontinuity for PID 1003
dvblast warning: discontinuity for PID 1000
dvblast warning: discontinuity for PID 16
dvblast warning: discontinuity for PID 148
libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 4) for PID 148
dvblast warning: discontinuity for PID 191
dvblast warning: discontinuity for PID 189
dvblast warning: discontinuity for PID 190
dvblast warning: discontinuity for PID 192
dvblast warning: discontinuity for PID 150
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 150
dvblast warning: discontinuity for PID 147
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 147
dvblast warning: discontinuity for PID 142
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 142
dvblast warning: discontinuity for PID 141
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 141
dvblast warning: discontinuity for PID 140
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 13) for PID 140
dvblast warning: discontinuity for PID 146
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 13) for PID 146
dvblast warning: discontinuity for PID 151
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 151
dvblast warning: discontinuity for PID 149
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 13) for PID 149
dvblast warning: discontinuity for PID 144
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 144
dvblast warning: discontinuity for PID 143
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 143
dvblast warning: discontinuity for PID 145
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 145
dvblast warning: discontinuity for PID 152
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 2) for PID 152
dvblast warning: discontinuity for PID 5013
dvblast warning: discontinuity for PID 2013
dvblast warning: discontinuity for PID 3013
dvblast warning: discontinuity for PID 4013
dvblast debug: opening ApplicationInformation session (2)
dvblast info: CAM: PowerCam_HD V2.0.3, 01, 02CA, 3000
dvblast debug: opening ConditionalAccess session (3)
dvblast debug: CA system IDs supported by the application :
dvblast debug: - 0x4aa0
dvblast debug: - 0x4aa1
dvblast debug: - 0x100
dvblast debug: - 0x500
dvblast debug: - 0x600
dvblast debug: - 0x601
dvblast debug: - 0x602
dvblast debug: - 0x603
dvblast debug: - 0x626
dvblast debug: - 0x606
dvblast debug: - 0x608
dvblast debug: - 0x620
dvblast debug: - 0x622
dvblast debug: - 0x624
dvblast debug: - 0x604
dvblast debug: - 0x628
dvblast debug: - 0x614
dvblast debug: - 0x668
dvblast debug: - 0x619
dvblast debug: - 0xb00
dvblast debug: - 0xb01
dvblast debug: - 0xb02
dvblast debug: - 0xd00
dvblast debug: - 0xd01
dvblast debug: - 0xd02
dvblast debug: - 0xd03
dvblast debug: - 0xd04
dvblast debug: - 0xd05
dvblast debug: - 0xd06
dvblast debug: - 0xd07
dvblast debug: - 0xd08
dvblast debug: - 0xd0c
dvblast debug: - 0xd0f
dvblast debug: - 0xd22
dvblast debug: - 0xd70
dvblast debug: - 0x1702
dvblast debug: - 0x1722
dvblast debug: - 0x1762
dvblast debug: adding first CAPMT for SID 20501 on session 3
dvblast debug: adding CAPMT for SID 20502 on session 3
dvblast debug: adding CAPMT for SID 20503 on session 3
dvblast debug: adding CAPMT for SID 20504 on session 3
dvblast debug: adding CAPMT for SID 20505 on session 3
dvblast debug: adding CAPMT for SID 20506 on session 3
dvblast debug: adding CAPMT for SID 20507 on session 3
dvblast debug: adding CAPMT for SID 20508 on session 3
dvblast debug: adding CAPMT for SID 20511 on session 3
dvblast debug: adding CAPMT for SID 20512 on session 3
dvblast debug: adding CAPMT for SID 20513 on session 3
dvblast debug: adding CAPMT for SID 20514 on session 3
dvblast debug: adding CAPMT for SID 20515 on session 3

$ cat ./dvblast.conf
xxx:6000 1 20501 320,400,401
xxx:6001 1 20502 321,402,403
xxx:6002 1 20503 328,404,405
xxx:6003 1 20504 323,406,407
xxx:6004 1 20505 324,408,409
xxx:6005 1 20506 325,410
xxx:6006 1 20507 326,412
xxx:6007 1 20508 341,431
xxx:6008 1 20511 330,414
xxx:6009 1 20512 331,416
xxx:6010 1 20513 332,418,419
xxx:6011 1 20514 329,420,421
xxx:6012 1 20515 333,422

Work only programs: 20501,20502,20503,20504.
Other don't work :(
Last edited by grand on 28 Oct 2009 11:33, edited 1 time in total.

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 28 Oct 2009 09:02

Please test if any of the following behaves differently and if so, tell us how many programs work in each case:

- include only programs 20506-20515 in the config (i.e. remove 20501-20505)
- remove the PID lists from all programs, i.e. keep only
xxx:6000 1 20501
xxx:6001 1 20502
....

Also try to edit en50221.c and change the following line:

p_capmt = CAPMTBuild( p_access, i_session_id, p_pmt,
0x4 /* add */, 0x1 /* ok_descrambling */,

into

p_capmt = CAPMTBuild( p_access, i_session_id, p_pmt,
0x5 /* update */, 0x1 /* ok_descrambling */,

recompile DVBblast and test again. This would emulate mumudvb behaviour.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 28 Oct 2009 11:31

I'm try config:

$ cat ./dvblast.conf
xxx:6004 1 20505
xxx:6005 1 20506
xxx:6006 1 20507
xxx:6007 1 20508
xxx:6008 1 20511
xxx:6009 1 20512
xxx:6010 1 20513
xxx:6011 1 20514
xxx:6012 1 20515

grand@iptv1:~$ ./dvblast.sh
dvblast error: restarting
dvblast debug: frequency 12306000 is in Ku-band (higher)
dvblast debug: tuning QPSK frontend to f=12306000 srate=27500000 v=18 p=0 modulation=legacy
dvblast debug: CA interface with 1 slot
dvblast debug: CI link layer level interface type
dvblast debug: 0 available descramblers (keys)
dvblast debug: setting filter on PID 0
dvblast debug: conf: xxx:6004 w=1 sid=20505 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6005 w=1 sid=20506 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6006 w=1 sid=20507 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6007 w=1 sid=20508 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6008 w=1 sid=20511 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6009 w=1 sid=20512 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6010 w=1 sid=20513 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6011 w=1 sid=20514 pids[0]=-1,-1,-1,-1,-1...
dvblast debug: conf: xxx:6012 w=1 sid=20515 pids[0]=-1,-1,-1,-1,-1...
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 0
dvblast debug: new PAT ts_id=5 version=24 current_next=1
dvblast debug: * number=0 pid=16
dvblast debug: * number=20501 pid=140
dvblast debug: * number=20502 pid=141
dvblast debug: * number=20503 pid=142
dvblast debug: * number=20504 pid=143
dvblast debug: * number=20505 pid=144
dvblast debug: setting filter on PID 144
dvblast debug: * number=20506 pid=145
dvblast debug: setting filter on PID 145
dvblast debug: * number=20507 pid=149
dvblast debug: setting filter on PID 149
dvblast debug: * number=20508 pid=151
dvblast debug: setting filter on PID 151
dvblast debug: * number=20511 pid=146
dvblast debug: setting filter on PID 146
dvblast debug: * number=20512 pid=147
dvblast debug: setting filter on PID 147
dvblast debug: * number=20513 pid=148
dvblast debug: setting filter on PID 148
dvblast debug: * number=20514 pid=150
dvblast debug: setting filter on PID 150
dvblast debug: * number=20515 pid=152
dvblast debug: setting filter on PID 152
dvblast debug: * number=20550 pid=189
dvblast debug: * number=20551 pid=190
dvblast debug: * number=20552 pid=191
dvblast debug: * number=20553 pid=192
dvblast debug: frontend has acquired signal
dvblast debug: frontend has acquired carrier
dvblast debug: frontend has acquired stable FEC
dvblast debug: frontend has acquired sync
dvblast debug: frontend has acquired lock
dvblast debug: - Bit error rate: 2048
dvblast debug: - Signal strength: 58877
dvblast debug: - SNR: 60954
dvblast debug: new PMT program number=20513 version=4 pid_pcr=332
dvblast debug: setting filter on PID 332
dvblast debug: * es pid=332 type=2
dvblast debug: * es pid=418 type=4
dvblast debug: setting filter on PID 418
dvblast debug: * es pid=419 type=4
dvblast debug: setting filter on PID 419
libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 0) for PID 150
dvblast debug: new PMT program number=20514 version=7 pid_pcr=329
dvblast debug: setting filter on PID 329
dvblast debug: * es pid=329 type=2
dvblast debug: * es pid=420 type=4
dvblast debug: setting filter on PID 420
dvblast debug: * es pid=421 type=4
dvblast debug: setting filter on PID 421
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 147
dvblast debug: new PMT program number=20512 version=6 pid_pcr=331
dvblast debug: setting filter on PID 331
dvblast debug: * es pid=331 type=2
dvblast debug: * es pid=416 type=4
dvblast debug: setting filter on PID 416
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 146
dvblast debug: new PMT program number=20511 version=6 pid_pcr=330
dvblast debug: setting filter on PID 330
dvblast debug: * es pid=330 type=2
dvblast debug: * es pid=414 type=4
dvblast debug: setting filter on PID 414
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 151
dvblast debug: new PMT program number=20508 version=7 pid_pcr=341
dvblast debug: setting filter on PID 341
dvblast debug: * es pid=341 type=2
dvblast debug: * es pid=431 type=4
dvblast debug: setting filter on PID 431
libdvbpsi error (PSI decoder): TS discontinuity (received 9, expected 0) for PID 149
dvblast debug: new PMT program number=20507 version=6 pid_pcr=326
dvblast debug: setting filter on PID 326
dvblast debug: * es pid=326 type=2
dvblast debug: * es pid=412 type=4
dvblast debug: setting filter on PID 412
libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 144
dvblast debug: new PMT program number=20505 version=7 pid_pcr=324
dvblast debug: setting filter on PID 324
dvblast debug: * es pid=324 type=2
dvblast debug: * es pid=408 type=4
dvblast debug: setting filter on PID 408
dvblast debug: * es pid=409 type=4
dvblast debug: setting filter on PID 409
libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 0) for PID 145
dvblast debug: new PMT program number=20506 version=6 pid_pcr=325
dvblast debug: setting filter on PID 325
dvblast debug: * es pid=325 type=2
dvblast debug: * es pid=410 type=4
dvblast debug: setting filter on PID 410
libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 0) for PID 152
dvblast debug: new PMT program number=20515 version=8 pid_pcr=333
dvblast debug: setting filter on PID 333
dvblast debug: * es pid=333 type=2
dvblast debug: * es pid=422 type=4
dvblast debug: setting filter on PID 422
dvblast warning: discontinuity for PID 333
dvblast warning: discontinuity for PID 325
dvblast warning: discontinuity for PID 331
dvblast warning: discontinuity for PID 332
dvblast warning: discontinuity for PID 431
dvblast warning: discontinuity for PID 420
dvblast warning: discontinuity for PID 416
dvblast warning: discontinuity for PID 421
dvblast warning: discontinuity for PID 412
dvblast warning: discontinuity for PID 418
dvblast warning: discontinuity for PID 419
dvblast warning: discontinuity for PID 414
dvblast warning: discontinuity for PID 410
dvblast warning: discontinuity for PID 341
dvblast warning: discontinuity for PID 324
dvblast warning: discontinuity for PID 326
dvblast warning: discontinuity for PID 422
dvblast warning: discontinuity for PID 408
dvblast warning: discontinuity for PID 409
dvblast warning: discontinuity for PID 148
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 5) for PID 148
dvblast warning: discontinuity for PID 150
libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 1) for PID 150
dvblast warning: discontinuity for PID 147
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 147
dvblast warning: discontinuity for PID 146
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 146
dvblast warning: discontinuity for PID 151
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 151
dvblast warning: discontinuity for PID 149
libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 14) for PID 149
dvblast warning: discontinuity for PID 144
libdvbpsi error (PSI decoder): TS discontinuity (received 1, expected 0) for PID 144
dvblast warning: discontinuity for PID 145
libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 15) for PID 145
dvblast warning: discontinuity for PID 152
libdvbpsi error (PSI decoder): TS discontinuity (received 4, expected 3) for PID 152
dvblast debug: en50221_Poll: slot 0 is active
dvblast warning: discontinuity for PID 0
libdvbpsi error (PSI decoder): TS discontinuity (received 6, expected 5) for PID 0
dvblast debug: opening ResourceManager session (1)
dvblast debug: opening ApplicationInformation session (2)
dvblast info: CAM: PowerCam_HD V2.0.3, 01, 02CA, 3000
dvblast debug: opening ConditionalAccess session (3)
dvblast debug: CA system IDs supported by the application :
dvblast debug: - 0x4aa0
dvblast debug: - 0x4aa1
dvblast debug: - 0x100
dvblast debug: - 0x500
dvblast debug: - 0x600
dvblast debug: - 0x601
dvblast debug: - 0x602
dvblast debug: - 0x603
dvblast debug: - 0x626
dvblast debug: - 0x606
dvblast debug: - 0x608
dvblast debug: - 0x620
dvblast debug: - 0x622
dvblast debug: - 0x624
dvblast debug: - 0x604
dvblast debug: - 0x628
dvblast debug: - 0x614
dvblast debug: - 0x668
dvblast debug: - 0x619
dvblast debug: - 0xb00
dvblast debug: - 0xb01
dvblast debug: - 0xb02
dvblast debug: - 0xd00
dvblast debug: - 0xd01
dvblast debug: - 0xd02
dvblast debug: - 0xd03
dvblast debug: - 0xd04
dvblast debug: - 0xd05
dvblast debug: - 0xd06
dvblast debug: - 0xd07
dvblast debug: - 0xd08
dvblast debug: - 0xd0c
dvblast debug: - 0xd0f
dvblast debug: - 0xd22
dvblast debug: - 0xd70
dvblast debug: - 0x1702
dvblast debug: - 0x1722
dvblast debug: - 0x1762
dvblast debug: adding first CAPMT for SID 20505 on session 3
dvblast debug: adding CAPMT for SID 20506 on session 3
dvblast debug: adding CAPMT for SID 20507 on session 3
dvblast debug: adding CAPMT for SID 20508 on session 3
dvblast debug: adding CAPMT for SID 20511 on session 3
dvblast debug: adding CAPMT for SID 20512 on session 3
dvblast debug: adding CAPMT for SID 20513 on session 3
dvblast debug: adding CAPMT for SID 20514 on session 3
dvblast debug: adding CAPMT for SID 20515 on session 3

Programs: 20505,20506,20507,20508 work. Other don't work.

I'm try patch en50221.c. But I so can see only 4 programs.
Last edited by grand on 21 Mar 2012 12:35, edited 1 time in total.

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 28 Oct 2009 12:24

This is strange... That CAM seems to ignore the 5-th and next CAPMTs...

OK, let's verify if this isn't just a timing issue:

Please test the following:

put only 2 programs into the config file
start DVBlast
edit config, add 3-rd program
killall -1 dvblast
edit config, add 4-th program
killall -1 dvblast

... and so on until all programs are added.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 28 Oct 2009 12:53

Thank you!
So I'm can stream all 13 programs! :)

How I'can start dvblast with all programs in config file?
So I'm want use VLC for streaming. VLC also has it problem!

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 28 Oct 2009 13:03

Try this:

edit en50221.c and right after the lines:

msg_Dbg( p_access, "adding CAPMT for SID %d on session %d",
p_pmt->i_program_number, i_session_id );

add the following:

msleep(10000);

This would introduce 10 msec delay between CAPMTs.
If it doesn't help, try larger values and tell us which one works.

VLC uses the same codebase, so once we get this working with DVBlast, the same fix will be applied for VLC.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 28 Oct 2009 14:41

I'm set msleep(100000);
DVBlast is work! 8)

Thank you!

md
Blank Cone
Blank Cone
Posts: 66
Joined: 28 Jun 2005 11:03

Re: VLC and Powercam Pro Module

Postby md » 24 Nov 2009 11:21

With DVBlast 1.1, there's a new option -W which adds the msleep delays automatically.

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 24 Nov 2009 13:30

Thank you!
Dvblast work very stable.
Do you plan to include support streaming over http?

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 21 Mar 2012 12:27

Hello! I'm upgrade dvblast for version 2.1.

With version 2.1 dvblast can stream only 5 channels.

In output I'm see:
debug: adding first CAPMT for SID 20612 on session 3
debug: adding CAPMT for SID 20613 on session 3
debug: adding CAPMT for SID 20614 on session 3
debug: adding CAPMT for SID 20615 on session 3
debug: adding CAPMT for SID 20616 on session 3
debug: adding CAPMT for SID 20618 on session 3
debug: adding CAPMT for SID 20619 on session 3
debug: adding CAPMT for SID 20620 on session 3
debug: adding CAPMT for SID 20621 on session 3
debug: adding CAPMT for SID 20622 on session 3
debug: adding CAPMT for SID 20623 on session 3

SID 20612-20616 worked.
Other SID is scrambled.

Dvblast 2.1 don't have -W option, which adds the msleep delays automatically.

I'm try this:

put only 2 programs into the config file
start DVBlast
edit config, add 3-rd program
killall -1 dvblast
edit config, add 4-th program
killall -1 dvblast

But it is don't help.

With dvblast 1.2 channels excellent work.

Can you help me?

grand
Blank Cone
Blank Cone
Posts: 23
Joined: 24 Oct 2009 10:31
Operating System: Windows / Linux
Location: Moscow
Contact:

Re: VLC and Powercam Pro Module

Postby grand » 21 Mar 2012 15:57

With dvblast 2.0 also work only 5 channels :-(


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests

cron