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

Thread: How to use DVB Multiprotocol Encapsulation

  1. #1

    athoik's Avatar
    Join Date
    Sep 2012
    Location
    Earth
    Posts
    10,759
    Rep Power
    5927763

    How to use DVB Multiprotocol Encapsulation

    Hi,


    User EnoSat, posted some info regarding DVB-MPE (Multiprotocol Encapsulation) in SU.

    I didn't know about that since today, so I tried to get those channels, with partial success.

    In order to use DVB-MPE we need to use dvbnet utility (opkg install dvbnet) and udpxy (opkg install udpxy).

    We are going to use 10775 H 27500 2/3 @ 13E for testing.

    First we need to tune and Satfinder can do that.



    Next we need to use dvbnet in order to create an DVB network interface. We are going to use PID 2001.

    Code:
    root@osminiplus:~# dvbnet -p 2001
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Status: device dvb0_0 for pid 2001 created successfully.
    
    root@osminiplus:~# dvbnet -l
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Query DVB network interfaces:
    -----------------------------
    Found device 0: interface dvb0_0, listening on PID 2001, encapsulation MPE
    -----------------------------
    Found 1 interface(s).
    Our new DVB network interface created, now let's configure it. We need to add a MAC address and IP in order to bring interface up.

    Code:
    root@osminiplus:~# ifconfig dvb0_0
    dvb0_0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
              BROADCAST NOARP MULTICAST  MTU:4096  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Base address:0x7d1
    
    root@osminiplus:~# ifconfig dvb0_0 hw eth 22:33:44:55:66:77
    root@osminiplus:~# ifconfig dvb0_0 10.20.30.40
    root@osminiplus:~# ifconfig dvb0_0 up
    
    root@osminiplus:~# ifconfig dvb0_0
    dvb0_0    Link encap:Ethernet  HWaddr 22:33:44:55:66:77
              inet addr:10.20.30.40  Bcast:10.255.255.255  Mask:255.0.0.0
              UP BROADCAST RUNNING NOARP MULTICAST  MTU:4096  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Base address:0x7d1
    Now let's see if we can get any data, tdpdump to the rescue (opkg install tcpdump).

    Code:
    root@osminiplus:~# tcpdump -i dvb0_0 -vn | head
    tcpdump: listening on dvb0_0, link-type EN10MB (Ethernet), capture size 262144 bytes
    22:40:02.896242 IP (tos 0x98, ttl 128, id 33273, offset 0, flags [none], proto UDP (17), length 1496)
        192.168.135.190.6000 > 224.20.20.1.6000: UDP, length 1468
    22:40:02.900563 IP (tos 0x98, ttl 128, id 19354, offset 0, flags [none], proto UDP (17), length 1496)
        192.168.135.190.6000 > 224.20.20.2.6000: UDP, length 1468
    22:40:02.900742 IP (tos 0x98, ttl 128, id 62192, offset 0, flags [none], proto UDP (17), length 1496)
        192.168.135.190.6000 > 224.20.20.4.6000: UDP, length 1468
    22:40:02.900797 IP (tos 0x98, ttl 128, id 3000, offset 0, flags [none], proto UDP (17), length 40)
        192.168.135.190.6000 > 224.20.20.3.6000: UDP, length 12
    22:40:02.905635 IP (tos 0x98, ttl 128, id 20161, offset 0, flags [none], proto UDP (17), length 1496)
        192.168.135.190.6001 > 224.20.20.1.6001: UDP, length 1468
    51 packets captured
    226 packets received by filter
    0 packets dropped by kernel
    Our network interface receives multicast packets. Now we need to change those into unicast, updxy to the rescue.

    We are running manually the udpxy on default port using multicast interface the dvb0_0.

    Code:
    root@osminiplus:~# udpxy -vT -m dvb0_0 -p 4022
    2016-09-13 22:42:49.723234 CEST S(660)  Server is starting up, max clients = [3]
    .....
    So what is next? Use vlc to watch a channel.

    I opened the following URL in VLC http://osminiplus:4022/udp/224.20.20.1:6000 but here comes the partial success...



    Stream is unwatchable, pixelated like having low signal.


    Anyway it was fun getting to that point. Hope to find it usefull


    References:

    Code:
    http://enosat.euweb.cz/dvbip.htm
    
    https://en.wikipedia.org/wiki/Multiprotocol_Encapsulation
    
    https://linuxtv.org/downloads/v4l-dvb-apis/net.html
    https://linuxtv.org/wiki/index.php/InternetDVB
    
    http://old.slax.org/forum.php?action=view&parentID=12189
    https://ubuntuforums.org/showthread.php?t=1413438
    Member SatDreamGr Projects

    Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
    Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

  2. #2

    Re: How to use DVB Multiprotocol Encapsulation

    next source too on

    Code:
    http://rickcaylor.websitetoolbox.com/post?id=7812917&pid=1293394352#post1293394352

  3. #3

    Απ: How to use DVB Multiprotocol Encapsulation

    More signal, same result!
    GlamourAuraFHD skin - The vengeance of color
    For OpenPLI/SDG images:
    https://github.com/MCelliotG/GlamourAuraFHD-skin
    For OpenATV/OE-A images: https://github.com/MCelliotG/GlamourAuraFHD-ATV-skin

  4. #4

    Re: Απ: How to use DVB Multiprotocol Encapsulation

    Quote Originally Posted by mcelliot_g View Post
    More signal, same result!
    13E/12111V not freeze/pixelize

    PS: try analyse after descramble TDS-SAT stream from 30 West ?

  5. #5

    Απ: How to use DVB Multiprotocol Encapsulation

    What pids are used on 12111V?
    TDS-SAT, you mean Abertis?
    GlamourAuraFHD skin - The vengeance of color
    For OpenPLI/SDG images:
    https://github.com/MCelliotG/GlamourAuraFHD-skin
    For OpenATV/OE-A images: https://github.com/MCelliotG/GlamourAuraFHD-ATV-skin

  6. #6

    Re: Απ: How to use DVB Multiprotocol Encapsulation

    Quote Originally Posted by mcelliot_g View Post
    What pids are used on 12111V?
    TDS-SAT, you mean Abertis?
    pid 1033 radio (pid 1027 and 1035 occasional feed) - http://enosat.euweb.cz/dvbip.htm

  7. #7

    Thumbs up Re: Απ: How to use DVB Multiprotocol Encapsulation

    Quote Originally Posted by mcelliot_g View Post
    What pids are used on 12111V?
    TDS-SAT, you mean Abertis?
    preview ABERTIS (thanks Mcelliotg & Adam792)
    Last edited by EnoSat; 05-11-16 at 09:48.

  8. #8

    athoik's Avatar
    Join Date
    Sep 2012
    Location
    Earth
    Posts
    10,759
    Rep Power
    5927763

    Απ: How to use DVB Multiprotocol Encapsulation

    Is this one a dvbip? If not better to start a new thread!
    Member SatDreamGr Projects

    Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
    Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

  9. #9

    athoik's Avatar
    Join Date
    Sep 2012
    Location
    Earth
    Posts
    10,759
    Rep Power
    5927763

    Απ: How to use DVB Multiprotocol Encapsulation

    Hello,

    Here is a new method to analyze dvb ip streams very quickly.


    First we are tuning into a frequency where DVB IP streams exist.

    Then we are using dvbsnoop to localte the PID containing the DVB IP streams.

    Finally we are using astra-sm analyze to get some info of the streams.

    Here is an example after tuning in 13E/12111V.

    Code:
    root@osmega:~# dvbsnoop -s pidscan | grep datagram
    PID found: 1003 (0x03eb)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 1027 (0x0403)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 1033 (0x0409)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 1035 (0x040b)  [SECTION: DSM-CC - private data section  // DVB datagram]
    root@osmega:~# astra --analyze pipe://"dvbsnoop 1003 -b"
    Jan 14 16:06:49: INFO: Starting Astra SM 0.2
    Jan 14 16:06:49: INFO: [pipe_input analyze] process started (pid = 22339)
    Jan 14 16:06:50: INFO: Bitrate: 0 Kbit/s
    Jan 14 16:06:51: INFO: Bitrate: 0 Kbit/s
    ^CJan 14 16:06:51: INFO: [main] shutting down
    root@osmega:~# astra --analyze pipe://"dvbsnoop 1027 -b"
    Jan 14 16:06:56: INFO: Starting Astra SM 0.2
    Jan 14 16:06:56: INFO: [pipe_input analyze] process started (pid = 22373)
    Jan 14 16:06:56: INFO: PAT: tsid: 1
    Jan 14 16:06:56: INFO: PAT: pid: 4095 PMT pnr: 1
    Jan 14 16:06:56: INFO: PAT: crc32: 0x3690E23D
    Jan 14 16:06:56: INFO: PMT: pnr: 1
    Jan 14 16:06:56: INFO: PMT: pid: 256 PCR
    Jan 14 16:06:56: INFO: VIDEO: pid: 256 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
    Jan 14 16:06:56: INFO: AUDIO: pid: 257 type: ADTS AAC, ISO/IEC 13818-7 (0x0F)
    Jan 14 16:06:56: INFO: PMT: crc32: 0x2F44B99B
    Jan 14 16:06:57: INFO: Bitrate: 71 Kbit/s
    Jan 14 16:06:58: INFO: Bitrate: 104 Kbit/s
    ^CJan 14 16:06:58: INFO: [main] shutting down
    root@osmega:~# astra --analyze pipe://"dvbsnoop 1033 -b"
    Jan 14 16:07:06: INFO: Starting Astra SM 0.2
    Jan 14 16:07:06: INFO: [pipe_input analyze] process started (pid = 22420)
    Jan 14 16:07:07: INFO: PAT: tsid: 1
    Jan 14 16:07:07: INFO: PAT: pid: 4095 PMT pnr: 1
    Jan 14 16:07:07: INFO: PAT: crc32: 0x3690E23D
    Jan 14 16:07:07: INFO: PMT: pnr: 1
    Jan 14 16:07:07: INFO: PMT: pid: 257 PCR
    Jan 14 16:07:07: INFO: AUDIO: pid: 257 type: ADTS AAC, ISO/IEC 13818-7 (0x0F)
    Jan 14 16:07:07: INFO: PMT: crc32: 0xECE2B094
    Jan 14 16:07:07: INFO: Bitrate: 28 Kbit/s
    Jan 14 16:07:08: INFO: Bitrate: 51 Kbit/s
    Jan 14 16:07:09: INFO: Bitrate: 41 Kbit/s
    ^CJan 14 16:07:10: INFO: [main] shutting down
    root@osmega:~# astra --analyze pipe://"dvbsnoop 1035 -b"
    Jan 14 16:07:20: INFO: Starting Astra SM 0.2
    Jan 14 16:07:20: INFO: [pipe_input analyze] process started (pid = 22485)
    Jan 14 16:07:20: INFO: PAT: tsid: 1
    Jan 14 16:07:20: INFO: PAT: pid: 4095 PMT pnr: 1
    Jan 14 16:07:20: INFO: PAT: crc32: 0x3690E23D
    Jan 14 16:07:20: INFO: PMT: pnr: 1
    Jan 14 16:07:20: INFO: PMT: pid: 256 PCR
    Jan 14 16:07:20: INFO: VIDEO: pid: 256 type: MPEG-4 AVC/H.264, ISO/IEC 14496-10 (0x1B)
    Jan 14 16:07:20: INFO: AUDIO: pid: 257 type: ADTS AAC, ISO/IEC 13818-7 (0x0F)
    Jan 14 16:07:20: INFO: PMT: crc32: 0x2F44B99B
    Jan 14 16:07:21: INFO: Bitrate: 80 Kbit/s
    Jan 14 16:07:22: INFO: Bitrate: 93 Kbit/s
    Jan 14 16:07:23: INFO: Bitrate: 93 Kbit/s
    Jan 14 16:07:24: INFO: Bitrate: 72 Kbit/s
    ^CJan 14 16:07:24: INFO: [main] shutting down
    PS. In case dvbsnoop or astra-sm is not installed, you can install them using the following commands

    Code:
    opkg update
    opkg install dvbsnoop
    opkg install astra-sm
    Member SatDreamGr Projects

    Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
    Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

  10. #10

    Απ: How to use DVB Multiprotocol Encapsulation

    Here's something around that which you might find interesting: Analyzing the channel IPDATA which is downloaded.
    Code:
    root@osmini:~# astra --analyze http://127.0.0.1:8001/1:0:1:2CA:1B58:13E:820000:0 
    :0:0:
    Jan 14 20:25:30: INFO: Starting Astra SM 0.2
    Jan 14 20:25:30: INFO: PAT: tsid: 7000
    Jan 14 20:25:30: INFO: PAT: pid: 16 NIT
    Jan 14 20:25:30: INFO: PAT: pid: 1028 PMT pnr: 705
    Jan 14 20:25:30: INFO: PAT: pid: 1029 PMT pnr: 706
    Jan 14 20:25:30: INFO: PAT: pid: 1031 PMT pnr: 708
    Jan 14 20:25:30: INFO: PAT: pid: 1132 PMT pnr: 712
    Jan 14 20:25:30: INFO: PAT: pid: 1013 PMT pnr: 713
    Jan 14 20:25:30: INFO: PAT: pid: 1065 PMT pnr: 714
    Jan 14 20:25:30: INFO: PAT: pid: 1173 PMT pnr: 723
    Jan 14 20:25:30: INFO: PAT: pid: 1142 PMT pnr: 732
    Jan 14 20:25:30: INFO: PAT: pid: 1183 PMT pnr: 733
    Jan 14 20:25:30: INFO: PAT: pid: 1135 PMT pnr: 735
    Jan 14 20:25:30: INFO: PAT: pid: 1146 PMT pnr: 736
    Jan 14 20:25:30: INFO: PAT: pid: 1147 PMT pnr: 737
    Jan 14 20:25:30: INFO: PAT: pid: 1148 PMT pnr: 738
    Jan 14 20:25:30: INFO: PAT: pid: 1150 PMT pnr: 740
    Jan 14 20:25:30: INFO: PAT: pid: 1154 PMT pnr: 744
    Jan 14 20:25:30: INFO: PAT: pid: 1159 PMT pnr: 749
    Jan 14 20:25:30: INFO: PAT: pid: 1166 PMT pnr: 756
    Jan 14 20:25:30: INFO: PAT: pid: 1171 PMT pnr: 761
    Jan 14 20:25:30: INFO: PAT: pid: 1080 PMT pnr: 782
    Jan 14 20:25:30: INFO: PAT: pid: 1188 PMT pnr: 785
    Jan 14 20:25:30: INFO: PAT: pid: 1189 PMT pnr: 788
    Jan 14 20:25:30: INFO: PAT: pid: 1198 PMT pnr: 790
    Jan 14 20:25:30: INFO: PAT: crc32: 0x459F8E20
    Jan 14 20:25:31: INFO: Bitrate: 13 Kbit/s
    Jan 14 20:25:32: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:33: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:34: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:35: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:36: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:37: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:38: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:39: INFO: PMT: pnr: 714
    Jan 14 20:25:39: INFO: PMT: pid: 1027 PCR
    Jan 14 20:25:39: INFO: DATA: pid: 1003 type: DSM-CC sections, ISO/IEC 13818-6 (0x0D)
    Jan 14 20:25:39: INFO: DATA: pid: 1027 type: DSM-CC stream descriptors, ISO/IEC 13818-6 (0x0C)
    Jan 14 20:25:39: INFO: DATA: pid: 1033 type: DSM-CC sections, ISO/IEC 13818-6 (0x0D)
    Jan 14 20:25:39: INFO: DATA: pid: 1035 type: DSM-CC stream descriptors, ISO/IEC 13818-6 (0x0C)
    Jan 14 20:25:39: INFO: PMT: crc32: 0x77D05B45
    Jan 14 20:25:39: INFO: Bitrate: 1539 Kbit/s
    Jan 14 20:25:39: ERROR: CC: PID:18=1 PID:1027=1 PID:1065=1 
    Jan 14 20:25:40: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:41: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:42: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:43: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:44: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:45: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:46: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:47: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:48: INFO: Bitrate: 1538 Kbit/s
    Jan 14 20:25:49: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:50: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:51: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:52: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:53: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:54: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:55: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:56: INFO: Bitrate: 1538 Kbit/s
    Jan 14 20:25:57: INFO: Bitrate: 0 Kbit/s
    Jan 14 20:25:58: INFO: Bitrate: 0 Kbit/s
    ^CJan 14 20:25:59: INFO: [main] shutting down
    root@osmini:~#
    GlamourAuraFHD skin - The vengeance of color
    For OpenPLI/SDG images:
    https://github.com/MCelliotG/GlamourAuraFHD-skin
    For OpenATV/OE-A images: https://github.com/MCelliotG/GlamourAuraFHD-ATV-skin

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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