Page 2 of 8 FirstFirst 123456 ... LastLast
Results 11 to 20 of 71

Thread: OTT (DVB-MPE)

  1. #11

    Re: OTT (DVB-MPE)

    xosef1234 is amazing (and a really great guy too)!
    Due to extreme lack of time this week, I can't make experiments with this implementation,
    however version 0.7 indeed works faster.
    BTW, on pid 2010 all channels produce a still picture (not changing) except TVP info which works great. Is this normal?
    The load on HD51 is quite normal.
    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

  2. #12

    jpuigs's Avatar
    Join Date
    Dec 2017
    Location
    Barcelona
    Age
    50
    Posts
    255
    Rep Power
    68921

    Re: OTT (DVB-MPE)

    Sometimes picture stops and then continue… small audio cuts…. but has improved.

  3. #13

    Re: OTT (DVB-MPE)

    Excellent work and congratulations for all satdreamgr team specially for athoik and also for xosef1234 that make the script...
    i have one question.. i done all steps but for me on a vu+ solo 4k dont work... the script work also for arm boxes? abertis needs one script for arm....

  4. #14

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

    Απ: OTT (DVB-MPE)

    @xosef1234, using latest version with all that code commend out, yeah it works much better as long as we are adding one pid cached pid.

    I tried to add more pids (using an experimental patch to support as many extra pids you like in lamedb, P:XXX1,P:XXX2,P:XXX3,...,P:XXXN), but load increases a lot.

    Using only one pid with c:15XXXX then it works 99% perfectly on channels working!

    Please note that PIDS 2009,2010 most probably gone!

    Code:
    ---------------------------------------------------------
    Transponder PID-Scan...
    ---------------------------------------------------------
    PID found:    0 (0x0000)  [SECTION: Program Association Table (PAT)]
    PID found:    1 (0x0001)  [SECTION: Conditional Access Table (CAT)]
    PID found:   16 (0x0010)  [SECTION: Network Information Table (NIT) - actual network]
    PID found:   17 (0x0011)  [SECTION: Service Description Table (SDT) - actual transport stream]
    PID found:   20 (0x0014)  [SECTION: Time Date Table (TDT)]
    PID found: 2000 (0x07d0)  [SECTION: Program Map Table (PMT)]
    PID found: 2001 (0x07d1)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 2002 (0x07d2)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 2004 (0x07d4)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 2005 (0x07d5)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 2006 (0x07d6)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 2007 (0x07d7)  [SECTION: DSM-CC - private data section  // DVB datagram]
    PID found: 3000 (0x0bb8)  [SECTION: Program Map Table (PMT)]
    PID found: 3001 (0x0bb9)  [SECTION: IP/MAC Notification Table (INT) [EN 301 192]]
    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

  5. #15

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

    Απ: OTT (DVB-MPE)

    Quote Originally Posted by lordgothic View Post
    Excellent work and congratulations for all satdreamgr team specially for athoik and also for xosef1234 that make the script...
    i have one question.. i done all steps but for me on a vu+ solo 4k dont work... the script work also for arm boxes? abertis needs one script for arm....
    The script is written in perl, also those channels are FTA, the one you mention above is not FTA, so nothing to compare...

    I suggest you need the following first working... PID 2001 inserted in lamedb on CANALETTO....

    1. Make sure script works.

    Code:
    root@osmio4k:~# dvb-ip-mpe2ts.pl
    
    Usage: dvb-ip-mpe2ts.pl [OPTIONS]
    ----------------------------------------------
    dvb-ip-mpe2ts.pl v0.7 14/11/2018
    
    Extract ts-file:
    -i,     DVB-IP-MPE TS input file ('-' for STDIN)
    -o,     extracted TS output file ('-' for STDOUT)
    -p,     pid to be processed
    -a,     destination IP-address, e.g. 127.0.0.1
    -n,     destination port, e.g. 3000
    
    Scan file for pids, destination IP-addresses and port:
    -s,     number of valid TS packets with pusi to be scanned in DVB-IP-MPE TS input file, e.g 100
    -i,     DVB-IP-MPE TS input file ('-' for STDIN)
    
    Help:
    -h,     print this help
    
    Examples:
    dvb-ip-mpe2ts.pl -i inputfile.ts -o outputfile.ts -p 200 -a 127.0.0.1 -n 3000
    dvb-ip-mpe2ts.pl -i inputfile.ts -o - -p 200 -a 127.0.0.1 -n 3000 > outputfile.ts
    cat inputfile.ts | dvb-ip-mpe2ts.pl -i - -o - -p 200 -a 127.0.0.1 -n 3000 > outputfile.ts
    dvb-ip-mpe2ts.pl -i inputfile.ts -s 100
    2. Make sure streaming works.

    Code:
    root@osmio4k:~# wget http://127.0.0.1:8001/1:0:C:A:2454:13E:820000:0:0:0: -q -O- | dvb-ip-mpe2ts.pl -i - -s 10
    Nr. | PID  | Dest-IP-Address | Port  | Payload Type     | Channel Name
    --- | ---- | --------------- | ----- | ---------------- | ------------------------------
    1   | 2001 | 224.20.20.2     | 6000  | 33  MP2T      AV |

    3. Use the right stream in bouquets.

    Code:
    #SERVICE 1:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a5237/ott/1%3a0%3aC%3aA%3a2454%3a13E%3a820000%3a0%3a0%3a0%3a/2001/224.20.20.2/6000:2001-224.20.20.2
    #DESCRIPTION 2001-224.20.20.2
    4. Make sure dabstreamer is installed

    Code:
    opkg install dabstreamer

    5. Enjoy those channels thanks to xosef1234.

    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

  6. #16

    Re: OTT (DVB-MPE)

    @jpuigs
    Sometimes picture stops and then continue… small audio cuts…. but has improved.
    I did this script with one TS-file I received in another forum. Maybe in this TS-file not all "singularities" are included. Whenever you have time maybe you can provide a longer TS-file. I guess it is sufficient if you just record one pid instead of the whole transponder.
    Can somebody else confirm those cuts and stops?

    @athoik
    I tried to add more pids (using an experimental patch to support as many extra pids you like in lamedb, P:XXX1,P:XXX2,P:XXX3,...,P:XXXN), but load increases a lot.

    Using only one pid with c:15XXXX then it works 99% perfectly on channels working!
    To be honest I am not so familiar with lamedb. Does it mean you just have one entry for the whole transponder and the pids are given as extra parameters?
    It looks as if new instances of the script are started while changing channels and I guess that the old ones are not stopped. So the old one is still getting data and trying to extract pid1 and the new one tries to extract pid2.
    Maybe you can check this?

  7. #17

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

    Απ: OTT (DVB-MPE)

    The lamedb used as cache for enigma2 in order to remember last selected audio, subtitle etc.

    When streaming a channel (or recording) it will access PMT and will add video, audio, subtitle and few more pics to ouput.

    Those pics 2001, ..., 2007 are not included on services scanned by enigma2, or excluded because they are not video, audio etc.

    So in lamedb we introduced an entry that gets injected in ouput.

    That's fine for one pid (eg T2-MI). Now you need more pids that one to stream, so you can't get them easily with one field only.

    With a patch, I was able to inject all pids, after manually define them in lamedb. But then script was lot slower.

    So I am sure that a C program would run at least 5 times faster! Please note that Enigma2 boxes are less, less powerful comparing to PC's. Every CPU cycle counts.

    During the tests no other script was running. Also scripts die after 30 seconds (using a select timeout on read).

    In order to record a pid for investigation use opkg install dvbapp-tests

    Code:
    root@osmio4k:~# test_dvr
    usage: test_dvb file PID [more PIDs...]
           record a partial TS stream consisting of TS packets
           with the selected PIDs to the given file.
           Use PID 0x2000 to record the full TS stream (if
           the hardware supports it).
           The demux and dvr devices used can be changed by setting
           the environment variables DEMUX and DVR.
           You can override the input buffer size by setting BUF_SIZE to
           the number of bytes wanted.
           Note: There is no output buffering, so writing to stdout is
           not really supported, but you can try something like:
           BUF_SIZE=188 ./test_dvr /dev/stdout 0 2>/dev/null | xxd
           ./test_dvr /dev/stdout 0x100 0x110 2>/dev/null| xine stdin://mpeg2
    
    root@osmio4k:~# test_dvr pid2001.ts 2001
    using '/dev/dvb/adapter0/demux0' and '/dev/dvb/adapter0/dvr0'
    writing to 'pid2001.ts'
    adding filter for PID 0x07d1
    set filter for PID 0x07d1 on fd 5
    got 65536 bytes (65536 total)
    got 65536 bytes (131072 total)
    got 65536 bytes (196608 total)
    ^C

  8. #18

    Re: OTT (DVB-MPE)

    Unfortunately I can't help with a C program.
    As soon as I have realigned my dish I will record and check if I can find some further singularity to be implemented.

  9. #19

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

    Απ: OTT (DVB-MPE)

    I can add a TS although my internet upload is slow, so if somebody with fast internet can upload 100-200mb per pid would be great!

    No need to write something in C, you are going great job on Perl!
    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. #20

    jpuigs's Avatar
    Join Date
    Dec 2017
    Location
    Barcelona
    Age
    50
    Posts
    255
    Rep Power
    68921

    Re: Απ: OTT (DVB-MPE)

    Quote Originally Posted by xosef1234 View Post
    @jpuigs

    Whenever you have time maybe you can provide a longer TS-file. I guess it is sufficient if you just record one pid instead of the whole transponder.
    Can somebody else confirm those cuts and stops?
    Quote Originally Posted by athoik View Post
    I can add a TS although my internet upload is slow, so if somebody with fast internet can upload 100-200mb per pid would be great!
    I have 600 Mb upload/download.
    How do I do it ?
    Watching one channel and using this test_dvr to record that channel's PID ??

Page 2 of 8 FirstFirst 123456 ... 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
  •