Advertise Here
Advertise Here
Advertise Here
Advertise Here
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: dvblast + tsdecrypt + oscam streaming in LAN

  1. #11
    Junior Member
    Join Date
    06-11-2008
    Posts
    19
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    stefan.saraev : thank you, now which IP to put in config file

    I have this old config

    ;TV1
    232.12.12.1:1234 1 3000

    ;TV2
    232.12.12.1:1235 1 3020


    which input and output address to put in tsdecrypt


    tsdecrypt -s 192.168.1.140:15000 -U test -P test -B 0102030405060708091011121314 -c NAGRA -A NEWCAMD -C 0x1802 -I 232.12.12.1:1234 -O file.ts (which ip ?)

  2. Advertise Here
  3. #12
    Member stefan.saraev's Avatar
    Join Date
    25-03-2011
    Posts
    92
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    avoid using same ip address. try this.

    Code:
    232.12.12.1:1234 1 3000
    232.12.12.2:1234 1 3020
    


    for tsdecrypt: TV1: input
    232.12.12.1:1234 output 232.12.13.1:1234. TV2: input 232.12.12.2:1234 output 232.12.13.2:1234


  4. #13
    Junior Member
    Join Date
    06-11-2008
    Posts
    19
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Nope, It doesn't work for me.

    I have the same problem.

    Input read timeout.

    This is what I do

    1.
    ifconfig lo multicast
    ip route add 224.0.0.0/4 dev lo src 127.0.0.1
    ip route flush cache

    udpxy -p 4022 -m lo


    2.
    dvblast -f 12607000 -s 27500000 -v 18 -e -c digi.cfg

    digi.cfg

    ;tv1
    232.12.12.1:1234 1 3000

    ;tv2
    232.12.12.2:1234 1 3020

    ;tv3
    232.12.12.3:1234 1 3020

    3.
    tsdecrypt -s 192.168.1.140:15000 -U test -P test -B 0102030405060708091011121314 -c NAGRA -A NEWCAMD -C 0x1802 -I 232.12.12.1:1234 -O 232.12.13.1:1234

    Input read timeout.

    Play vlc: http://192.168.1.138:4022/udp/232.12.13.1:1234

  5. #14
    Junior Member
    Join Date
    06-11-2008
    Posts
    19
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    013-09-14 00:27:15 | CAM | Connected to fd:5
    2013-09-14 00:27:15 | CAM | [newcamd] Card info: CAID 0x1802 Admin=NO srvUA=0000000000000000
    2013-09-14 00:27:15 | CAM | [newcamd] Card info: Provider 0 : 000000 : 0000000000000000
    2013-09-14 00:27:18 | ECM | Received 0 (0 dup) and processed 0 in 3 seconds.
    2013-09-14 00:27:19 | NEW | Input PID 0x0010 appeared (NIT)
    2013-09-14 00:27:22 | --- | TS discontinuity on PID 0x0010 expected 12 got 6 /10/ (NIT)
    2013-09-14 00:27:22 | NEW | Input PID 0x0011 appeared (SDT)
    2013-09-14 00:27:22 | NEW | Input PID 0x0012 appeared (EPG)
    2013-09-14 00:27:23 | NEW | Input PID 0x0000 appeared (PAT)
    2013-09-14 00:27:23 | --- | TS discontinuity on PID 0x0000 expected 10 got 1 /7/ (PAT)
    2013-09-14 00:27:23 | --- | TS discontinuity on PID 0x0000 expected 2 got 13 /11/ (PAT)
    2013-09-14 00:27:23 | NEW | Input PID 0x0001 appeared (CAT)
    2013-09-14 00:27:23 | --- | TS discontinuity on PID 0x0012 expected 9 got 0 /7/ (EPG)
    2013-09-14 00:27:23 | --- | TS discontinuity on PID 0x0012 expected 1 got 11 /10/ (EPG)
    2013-09-14 00:27:24 | NEW | Input PID 0x0014 appeared (TDT/TOT)
    TS discontinuity on PID 0x0000 expected 14 got 8 /10/ (PAT)

    No picture.
    Play vlc: http://192.168.1.138:4022/udp/232.12.13.1:1234

  6. #15
    Junior Member
    Join Date
    26-05-2009
    Posts
    21
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    @stefki,

    stefan.saraev and turbopower gave you some very good pointers, several more things to check:

    - make sure that the interface you put the multicast routes on has an IPv4 address configured (private range [192.168/16] works just fine)
    - stop you firewall (for example "service iptables stop" for RedHat based systems) or add needed rules to permit your traffic
    - depending on your dvblast configuration, you may need to add "-R" flag to tsdecrypt, it means to use RTP packets as input as this is the default type of dvblast; if you need to use UDP transport set a "-U" flag to dvblast

    Code:
    modprobe dummy
    
    ip link set dev dummy0 up
    ip link set dev dummy0 multicast on
    ip address add 192.168.168.1/24 brd + dev dummy0
    ip route add 232.12.12.0/23 dev dummy0
    
    sysctl -w net.ipv4.conf.all.rp_filter=0
    sysctl -w net.ipv4.conf.dummy0.rp_filter=0
    
    udpxy -p 4022
    UDP transport:
    Code:
    dvblast -f 12607000 -s 27500000 -v 18 -e -c digi.cfg -r -U -C -Y -W -e
    tsdecrypt -s 192.168.1.140:15000 -U test -P test -B 0102030405060708091011121314 -c NAGRA -A NEWCAMD -C 0x1802 -I 232.12.12.1:1234 -O 232.12.13.1:1234
    RTP transport:
    Code:
    dvblast -f 12607000 -s 27500000 -v 18 -e -c digi.cfg -r -C -Y -W -e
    tsdecrypt -s 192.168.1.140:15000 -U test -P test -B 0102030405060708091011121314 -c NAGRA -A NEWCAMD -C 0x1802 -I 232.12.12.1:1234 -O 232.12.13.1:1234 -R
    Then you should be able to watch it using VLC: http://192.168.1.138:4022/udp/232.12.13.1:1234

    There may be some mistakes in this example configuration or you won't need all of these lines, so please read carefully the man pages of dvblast and tsdecrypt, they are very well documented (thanks to gfto for that :) )
    You can use "tcpdump -ni dummy0" to debug what is going on.

  7. #16
    Member stefan.saraev's Avatar
    Join Date
    25-03-2011
    Posts
    92
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    input read timeout = likely bad sid in dvblast
    ts discontinuity - this doesn't smell good. means bad signal *or* another process already streaming on the same input address...

  8. #17
    Junior Member
    Join Date
    06-11-2008
    Posts
    19
    Uploads
    0
    Likes
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Hi,

    I have big problem vlc transcoding
    I can't change the audio pid of transport stream, which comes directly from dvblast + tsdecrypt

    cvlc -vvv "udp://@232.12.13.4:1136" --sout "#transcode{venc=x264{profile=baseline,l evel=3.0,keyint=25,crf=22,vbv-maxrate=1000,vbv-bufsize=2000,preset=veryfast},fps=25,vco dec=h264,width=640,height=360,acodec=aac ,ab=64,deinterlace}:std{access=http,mux= ts,dst=192.168.1.27:1237}" --sout-ts-pid-audio=3329

    Also I need to change the dvb subtitle of the ts stream.

    I am using vlc 2.0.8 , tried newer versions but seems the ts pid commands not working
    Thank you.

  9. #18
    Contributing Member mminkov's Avatar
    Join Date
    27-02-2011
    Location
    Shumen, BG
    Posts
    584
    Uploads
    7
    Likes
    8

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Да възродя и аз малко темата: и с астра (+сипсървър) и с MuMuDVB , Свободните канали тръгват. Спрял съм се за сега на 12565H30000 @ 39Е, че има свободни канали. опитвам обаче да декриптирам NG Wild така и нищо не се получава:
    Code:
    # cat ngw.cfg
    ;NG WILD
    239.255.0.6:5004 1 116
    
    # dvblast -f 12565000 -s 30000000 -v 18 -e -c ngw.cfg  -r -U -C -Y -W -e
    поизлизват някакви данни за каналите и след това:
    Code:
    # tsdecrypt -s 127.0.0.1:23001 -U user -P pass -B 0102030405060708091011121314 -c BULCRYPT -A NEWCAMD -C 0x4aee -I 239.255.0.6:5004 239.255.0.60:5004
    2015-04-23 15:58:55 | Syslog     : disabled
    2015-04-23 15:58:55 | CA System  : BULCRYPT | CAID: 0x4aee (19182)
    2015-04-23 15:58:55 | Input addr : udp://239.255.0.6:5004/
    2015-04-23 15:58:55 | Input src  : 0.0.0.0
    2015-04-23 15:58:55 | Output file: STDOUT
    2015-04-23 15:58:55 | Out filter : enabled (output only service related PIDs)
    2015-04-23 15:58:55 | TS discont : report
    2015-04-23 15:58:55 | Decoding   : threaded
    2015-04-23 15:58:55 | CAMD proto : newcamd
    2015-04-23 15:58:55 | CAMD addr  : 127.0.0.1:23001 (IPv4/IPv6)
    2015-04-23 15:58:55 | CAMD user  : user
    2015-04-23 15:58:55 | CAMD pass  : pass
    2015-04-23 15:58:55 | CAMD deskey: 0102030405060708091011121314
    2015-04-23 15:58:55 | EMM process: No
    2015-04-23 15:58:55 | ECM process: Yes
    2015-04-23 15:58:55 | ECM report : 60 sec
    2015-04-23 15:58:55 | CW warning : 60 sec
    2015-04-23 15:58:55 | Start tsdecrypt v10.0 (release, build 2015-04-22_16:17 libdvbcsa)
    2015-04-23 15:58:55 | Connecting input to 239.255.0.6 port 5004
    2015-04-23 15:58:55 | Input connected to fd:3
    2015-04-23 15:58:55 | CAM | Connecting to server 127.0.0.1 port 23001
    2015-04-23 15:58:55 | CAM | Connected to server 127.0.0.1 port 23001 (addr=127.0.0.1 fd=4).
    2015-04-23 15:58:55 | CAM | [newcamd] Card info: CAID 0x0000 Admin=YES srvUA=000000****000000
    2015-04-23 15:58:55 | CAM | [newcamd] Card info: Provider 0 : 000000 : 0000000000000000
    2015-04-23 15:58:55 | NEW | Input PID 0x0014 appeared (TDT/TOT)
    2015-04-23 15:58:56 | NEW | Input PID 0x0012 appeared (EPG)
    2015-04-23 15:58:58 | ECM | Received 0 (0 dup) and processed 0 in 3 seconds.
    2015-04-23 15:58:58 | --- | TS discontinuity on PID 0x0012 expected  6 got 11 /5/ (EPG)
    2015-04-23 15:58:58 | NEW | Input PID 0x0010 appeared (NIT)
    2015-04-23 15:58:58 | --- | TS discontinuity on PID 0x0010 expected 15 got  2 /3/ (NIT)
    2015-04-23 15:58:59 | NEW | Input PID 0x0001 appeared (CAT)
    2015-04-23 15:59:00 | --- | TS discontinuity on PID 0x0001 expected  1 got  2 /1/ (CAT)
    2015-04-23 15:59:00 | --- | TS discontinuity on PID 0x0001 expected  3 got  1 /14/ (CAT)
    2015-04-23 15:59:00 | --- | TS discontinuity on PID 0x0001 expected  2 got  0 /14/ (CAT)
    2015-04-23 15:59:02 | NEW | Input PID 0x0000 appeared (PAT)
    2015-04-23 15:59:03 | --- | TS discontinuity on PID 0x0010 expected  4 got 10 /6/ (NIT)
    2015-04-23 15:59:04 | NEW | Input PID 0x0011 appeared (SDT)
    2015-04-23 15:59:04 | --- | TS discontinuity on PID 0x0010 expected 11 got  6 /11/ (NIT)
    2015-04-23 15:59:06 | --- | TS discontinuity on PID 0x0011 expected 10 got 11 /1/ (SDT)
    2015-04-23 15:59:06 | --- | TS discontinuity on PID 0x0010 expected  7 got 15 /8/ (NIT)
    2015-04-23 15:59:07 | --- | TS discontinuity on PID 0x0012 expected 13 got 14 /1/ (EPG)
    2015-04-23 15:59:09 | --- | TS discontinuity on PID 0x0010 expected  0 got  5 /5/ (NIT)
    2015-04-23 15:59:10 | --- | TS discontinuity on PID 0x0010 expected  6 got 14 /8/ (NIT)
    2015-04-23 15:59:12 | --- | TS discontinuity on PID 0x0011 expected 12 got  0 /4/ (SDT)
    2015-04-23 15:59:12 | --- | TS discontinuity on PID 0x0001 expected  2 got  7 /5/ (CAT)
    2015-04-23 15:59:12 | --- | TS discontinuity on PID 0x0000 expected  6 got  1 /11/ (PAT)
    2015-04-23 15:59:13 | --- | TS discontinuity on PID 0x0011 expected  1 got 13 /12/ (SDT)
    2015-04-23 15:59:14 | --- | TS discontinuity on PID 0x0010 expected 15 got  1 /2/ (NIT)
    2015-04-23 15:59:14 | --- | TS discontinuity on PID 0x0010 expected  2 got  3 /1/ (NIT)
    2015-04-23 15:59:14 | --- | TS discontinuity on PID 0x0010 expected  4 got  6 /2/ (NIT)
    2015-04-23 15:59:14 | --- | TS discontinuity on PID 0x0001 expected  8 got  4 /12/ (CAT)
    Струва ми се, че всичко тръгва както трябва, лог-а си върви и от време на време се появяват някакви нечетаеми символи. В лог-а на оскама присъства само свързването и няма ECM-и за този user. картина съотвотно с VLC-то също няма. Притеснява ме това дето съм го почервенил. ДВБласт-а дава от време на време това:
    Code:
    warning: too many errors for stream 239.255.0.6:5004, resetting
    Може ли някой да удари едно рамо.

    Още нещо: 1. когато се закъча в VLC на rtp://@239.255.0.6:5004 или udp://@239.255.0.6:5004 (криптирания стрийм) и има ЕПГ и на Codec Details се появяват данните за стрийма. Когато се закъча на rtp://@239.255.0.60:5004 (уж вече декриптирания стрийм) - няма нищо.
    2. Когато добавя `-R' накрая на tsdecrypt-а, започват OK заявки в оскам-лог-а, обаче пак втория поток е тъмен...

Page 2 of 2 FirstFirst 12
Advertise Here

Similar Threads

  1. Info oscam server + oscam client
    By turbopower in forum Oscam
    Replies: 71
    Last Post: 05-04-2012, 08:44:37
  2. Question Streaming 2 PC
    By lynggaard in forum Hardware Installation and Technical Support
    Replies: 1
    Last Post: 03-10-2011, 13:50:16
  3. Oscam local bis tv / nc fr looking for oscam exchange
    By magictails in forum MultiCS & CSP Exchange
    Replies: 0
    Last Post: 21-02-2011, 14:40:38
  4. Replies: 1
    Last Post: 20-12-2009, 15:50:40
  5. streaming
    By robertobettega in forum Italian / Italiano
    Replies: 6
    Last Post: 05-10-2009, 23:28:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •