Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: dvblast + tsdecrypt + oscam streaming in LAN

  1. #1
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    dvblast + tsdecrypt + oscam streaming in LAN

    Доста колеги задават въпроса как да стриимват критптирани програми в локалната си мрежа един или повече транспондери (в зависимост от хардуера си). Отговора е комбинацията dvblast + tsdecrypt + oscam.

    Dvblast прави мултикаст стрийм от dvb картата. Tsdecrypt + Oscam се грижат за софтуерно декодирано на криптираният поток. Програмата tsdecrypt е дело на уважаемият ни колега gfto и екипа му. Тук ще поддържам всички версии от сегашната в бъдеще и ще можем да обсъждаме този перфектен софтуер.

    Първият ми въпрос към разработчика е:

    Как да пуснем програмата да декриптира повече от един входен multicast stream?
    Attached Files Attached Files

  2. #2

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Пускаш програмата няколко пъти. За всеки един стрийм по веднъж.
    Съшото е и с DVBlast. Пуска се по веднъж за всеки един транспондер/DVB платка.

  3. #3
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Въпросната програма я има и за openelec благодарение на колегата Стефан Сараев. Идеята ми е на единият тунер да гледам на телевизора а през втория да стриймвам към apple tv което да използвам за втори телевизор. Нужна ли е много процесорна мощ за да се справи в 15 канала от един транспондер. Дъното ми е ION2 (2GB RAM) CPU Atom d525.

  4. #4

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    не мисля че ще имаш проблеми с 15 канала.

    7 канала от 23.5E. pentium 4 на 3гхз. 1.5G рам. най-много яде dvblast и смотания (евтин) тунер:
    Code:
    top - 00:48:51 up 31 days, 23:21,  1 user,  load average: 0.00, 0.01, 0.05
    Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
    Cpu0  : 10.1%us, 14.6%sy,  0.0%ni, 75.1%id,  0.0%wa,  0.0%hi,  0.2%si,  0.0%st
    Cpu1  : 12.9%us, 13.5%sy,  0.0%ni, 72.4%id,  0.0%wa,  0.0%hi,  1.2%si,  0.0%st
    Mem:   1521632k total,   330396k used,  1191236k free,    42720k buffers
    Swap:  2104508k total,        0k used,  2104508k free,   217432k cached
    
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                    
    31372 root      20   0  4864 3752  832 R   22  0.2   8302:32 dvblast                                                                                                    
    31376 root      20   0     0    0    0 S   11  0.0   4202:12 cx88[0] dvb                                                                                                
     5219 root      20   0  6708 3128 1032 S    4  0.2  21:41.97 tsdecrypt                                                                                                  
     5221 root      20   0  6708 3128 1028 S    4  0.2  21:22.83 tsdecrypt                                                                                                  
     5218 root      20   0  6708 3132 1032 S    3  0.2  20:59.74 tsdecrypt                                                                                                  
     5220 root      20   0  6708 3128 1028 S    3  0.2  26:31.28 tsdecrypt                                                                                                  
     5223 root      20   0  7732 3380 1040 S    3  0.2  20:24.39 tsdecrypt                                                                                                  
     5224 root      20   0  6708 3128 1040 S    3  0.2  21:59.91 tsdecrypt                                                                                                  
     5222 root      20   0  6708 3132 1040 S    3  0.2  20:27.05 tsdecrypt

  5. #5
    Member
    Join Date
    11-12-2005
    Location
    Bulgaria
    Posts
    48
    Uploads
    1

    Question Re: dvblast + tsdecrypt + oscam streaming in LAN

    А има ли възможност да се пусне стрийм от някакъв DVB-S2 приемник (примерно DM800, DM500, GM990, Pingulux и др.), а не само от DVB PC платка?
    Виждам, че темата е пусната доста отдавна, но се надявам, че все още не е отживелица.
    Компилирал съм я на сървър на който няма някаква DVB-S(S2, T) платка.

    пускам я така:

    Code:
    ./tsdecrypt --no-output-filter --log-file  /var/log/tsdecrypt/tsdecrypt.log --debug 5 --emm --camd-server  10.10.10.10:33333 --camd-proto NEWCAMD --camd-des-key  0102030405060708091011121314 --camd-user usera --camd-pass passa  --ca-system CONAX --caid 0x0B01 --input-service 0x157F
    и ми извежда това:
    Code:
    2013-06-04 20:15:00 | Syslog     : disabled
    2013-06-04 20:15:00 | CA System  : CONAX | CAID: 0x0B01 (2817)
    2013-06-04 20:15:00 | Input file : STDIN
    2013-06-04 20:15:00 | Service id : 0x157F (5503)
    2013-06-04 20:15:00 | Output file: STDOUT
    2013-06-04 20:15:00 | Out filter : disabled (output everything)
    2013-06-04 20:15:00 | TS discont : report
    2013-06-04 20:15:00 | Decoding   : threaded
    2013-06-04 20:15:00 | CAMD proto : newcamd
    2013-06-04 20:15:00 | CAMD addr  : 10.10.10.10:33333 (IPv4/IPv6)
    2013-06-04 20:15:00 | CAMD user  : usera
    2013-06-04 20:15:00 | CAMD pass  : passa
    2013-06-04 20:15:00 | CAMD deskey: 0102030405060708091011121314
    2013-06-04 20:15:00 | EMM process: Yes
    2013-06-04 20:15:00 | EMM report : 60 sec
    2013-06-04 20:15:00 | ECM process: Yes
    2013-06-04 20:15:00 | ECM report : 60 sec
    2013-06-04 20:15:00 | CW warning : 60 sec
    2013-06-04 20:15:00 | Start tsdecrypt v9.0 (v9.0-17-gea15008, build 2013-06-04_19:52 FFdecsa_PARALLEL_128_SSE)
    2013-06-04 20:15:00 | CAM | Connecting to server 10.10.10.10 port 33333
    2013-06-04 20:15:00 | CAM | Connected to fd:4
    2013-06-04 20:15:01 | CAM | [newcamd] Card info: CAID 0x0B01 Admin=YES srvUA=000000000XXXXXX
    2013-06-04 20:15:01 | CAM | [newcamd] Card info: Provider 0 : 000000 : 0000000000000000
    но дотам.
    Благодаря предварително, на всички отзовали се.

  6. #6
    Senior Member
    Join Date
    05-02-2009
    Posts
    199
    Uploads
    1

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Че за приемника за какво ти е допълнителен софт?
    Стрийма си става и без него, иначе можеш да разгледаш мумудвб, определено на мен ми допада повече от двбласт, най-вече, че работи с оскам двбапи ;)

  7. #7
    Junior Member
    Join Date
    06-11-2008
    Posts
    17
    Uploads
    0

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    Can someone can help me with dvblast and tsdecrypt

    This is my setup, coz I don't have multicast switch or router. I am using this command to fake the ip.

    modprobe dummy
    #fake ip for dummy interface
    ifconfig dummy0 192.168.168.1 up
    route add -net 232.12.12.0 netmask 255.255.255.0 dev dummy0
    udpxy -p 4022 -m dummy0

    #Play VLC: http://192.168.1.138:4022/udp/232.12.12.1:1234

    With FTA channels dvblast works good.

    But with encrypted channels not work.


    tsdecrypt log:

    2013-09-12 17:48:30 | Connecting input to udp://232.12.12.1:1234/
    2013-09-12 17:48:30 | Input connected to fd:4
    2013-09-12 17:48:30 | CAM | Connecting to server 192.168.1.140:17874
    2013-09-12 17:48:30 | CAM | Connected to fd:5
    2013-09-12 17:48:30 | CAM | [newcamd] Card info: CAID 0x0xxx Admin=NO srvUA=0000000000000000
    2013-09-12 17:48:30 | CAM | [newcamd] Card info: Provider 0 : 000000 : 0000000000000000
    2013-09-12 17:48:31 | --- | Input read timeout.
    2013-09-12 17:48:33 | ECM | Received 0 (0 dup) and processed 0 in 3 seconds.


    What can be the problem ?

    I think routing is the problem ?

  8. #8

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    tsdecrypt doesn't see any input from dvblast. dummy0 doesn't have multicast capabilities by default.

    FIY there is no need to use a dummy interface. you can use loopback (lo) see below

    Code:
    ifconfig lo multicast
    ip route add 224.0.0.0/4 dev lo src 127.0.0.1
    ip route flush cache
    
    # start dvblast ....
    # ...
    # start tsdecrypt .... 
    # ...
    
    udpxy -p 4022 -m lo
    good luck

  9. #9
    Super Moderator turbopower's Avatar
    Join Date
    02-07-2011
    Location
    Somewhere between the Streams
    Posts
    3,512
    Uploads
    112

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    One more clarification from my side. Correct subnet for multicast addressing is 239.0.0.0 - 239.255.255.255 - 239.0.0.0/8 please be strict for address spacing and assigning.
    For monitoring and debugging my advice are Wireshark and tcpdump, also vlc is preferred video player for application level testing.

  10. #10

    Re: dvblast + tsdecrypt + oscam streaming in LAN

    ^^ sure. but 224/24 is still a "control block". some stuff is not going to work if not routed (whatever does "igmp" membership report / leave / socket(AF_INET, SOCK_RAW, IPPROTO_IGMP) / ..). however, not going to argue there

Page 1 of 2 12 LastLast

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 General Discussions: Installation and 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
  •