Jump to content


Photo

Ecm window on OSD


  • Please log in to reply
67 replies to this topic

Re: Ecm window on OSD #41 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 11 August 2014 - 15:30

Be sure that If I knew how to do it, I'd do it.

I don't have any problem in prov caids, I just wrote it as an example.

Although my answers seem very "light" I think the same as you and Robinson.

I wrote a post some time ago, asking for a simlar plugin......

http://openpli.org/f...d-video-details


Enigma is getting old....

 

Spoiler

Re: Ecm window on OSD #42 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 6 May 2016 - 08:07

Let me refresh this thread.

I understand there is still no Enigma2 plugin that would display all CAID's and all ECM PID's and all provider id's present on every channel, similarly to the screenshot from the first post?

What about 2boom's quickecminfo? I guess it has not been updated to show it?


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Ecm window on OSD #43 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 6 May 2016 - 18:07

Robinson

What features do you miss in my plug-in?



Re: Ecm window on OSD #44 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 7 May 2016 - 00:24

To tell you the truth, I have not tried your plugin on OpenPLi as I am not sure if it works on this image on my ET9000. Does it?

I just looked at some screenshots available on the internet and I can see CAID's as well as provider id and ECM pid but they are only for the provider currently used for descrambling.

I was thinking about at least something like this:

0100 - 000068
0500 - 022A00
0500 - 022F00
0500 - 024F00
0500 - 030100
0500 - 032A00
0500 - 041F00
0604 - 000000
0931 - 000000
0B01 - 000000
0BAA - 000000
1803 - 000000
1813 - 000000

That was for Eurosport on Hot Bird.

 

Or see the images here, please:

http://forums.openpl...ce/#entry346544


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Ecm window on OSD #45 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 7 May 2016 - 06:17

Robinson,

 

information about the "prov", is not present anywhere "prov" can be seen only after decoding, and decoded only one which is displayed

 

 

Attached Files



Re: Ecm window on OSD #46 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 7 May 2016 - 07:43

For a complete lost you van only get the caids easily... The provider ids do differ per coding system and that makes it not easy to add all the prov ids. There are also systems who do not have provids at all...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #47 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 7 May 2016 - 09:54

Robinson,

 

information about the "prov", is not present anywhere "prov" can be seen only after decoding, and decoded only one which is displayed

 

But oscam log does show it where possible without having the correct subscription card.

This is for Eurosport today. 15 CAID's and 6 provider ID's are available while I only have one subscription card.

[ADD PID 0] CAID: 0500 ECM_PID: 0E75 PROVID: 030100
[ADD PID 1] CAID: 0B01 ECM_PID: 0E77 PROVID: 000000
[ADD PID 2] CAID: 1803 ECM_PID: 0E78 PROVID: 000000
[ADD PID 3] CAID: 0500 ECM_PID: 0E7E PROVID: 041F00
[ADD PID 4] CAID: 091F ECM_PID: 0E7F PROVID: 000000
[ADD PID 5] CAID: 0604 ECM_PID: 0E80 PROVID: 000000
[ADD PID 6] CAID: 0500 ECM_PID: 0E81 PROVID: 032A00
[ADD PID 7] CAID: 1813 ECM_PID: 0E83 PROVID: 020068
[ADD PID 8] CAID: 1861 ECM_PID: 0E84 PROVID: 000000
[ADD PID 9] CAID: 0931 ECM_PID: 0E85 PROVID: 000000
[ADD PID 10] CAID: 0500 ECM_PID: 0E7D PROVID: 051200
[ADD PID 11] CAID: 0BAA ECM_PID: 0E86 PROVID: 000000
[ADD PID 12] CAID: 0624 ECM_PID: 0E87 PROVID: 000000
[ADD PID 13] CAID: 0911 ECM_PID: 0E88 PROVID: 000000
[ADD PID 14] CAID: 0100 ECM_PID: 0E7C PROVID: 008504

I am convinced it should be possible to modify your plugin so that it shows such information in a nice way visually.


Edited by Robinson, 7 May 2016 - 09:55.

ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Ecm window on OSD #48 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 7 May 2016 - 10:15

When oscam log can show it, it would be nice if oscam can deliver a file e.g. /tmp/caidinfo.... That can be parsed and showed on the ui... I would consider to request this on the streamboard forum... When done I'm willing to make an overview on the ui... (E.g. On the long blue default hotkey)

Edited by littlesat, 7 May 2016 - 10:17.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #49 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 7 May 2016 - 16:03

You don't need oscam to parse this into a file since its delivered to oscam by enigma in the CA_PMT.

So I guess your python code can "ask" enigma for the input and parse that.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Ecm window on OSD #50 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 7 May 2016 - 16:19

You don't need oscam to parse this into a file since its delivered to oscam by enigma in the CA_PMT.

 

->

 

Nope..... the CAID and the ECMPIDs you can get... but it does not "analyze" the provider IDs from it...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #51 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 7 May 2016 - 16:49

The exact same data is used by oscam to fetch caid, provid and ecmpid.

But provid is not always communicated in pmt by the provider in that case oscam zero's it too.

 

this code is used in dvbapi to parse it: (I stripped away already some silly stuff you dont need)

 

void dvbapi_parse_descriptor(int32_t demux_id, uint32_t info_length, unsigned char *buffer)
{
    // int32_t ca_pmt_cmd_id = buffer[i + 5];
    uint32_t descriptor_length = 0;
    uint32_t j, u, k;
    
    if(info_length < 1)
        { return; }

    for(j = 0; j + 1 < info_length; j += descriptor_length + 2)
    {
        descriptor_length = buffer[j + 1];
        
        if(buffer[j] != 0x09) { continue; }
        
        if(demux[demux_id].ECMpidcount >= ECM_PIDS) { break; }

        int32_t descriptor_ca_system_id = b2i(2, buffer + j + 2);
        int32_t descriptor_ca_pid = b2i(2, buffer + j + 4)&0x1FFF;
        int32_t descriptor_ca_provider = 0;

        if(descriptor_ca_system_id >> 8 == 0x01)
        {
            for(u = 2; u < descriptor_length; u += 15)
            {
                descriptor_ca_pid = b2i(2, buffer + j + u + 2)&0x1FFF;
                descriptor_ca_provider = b2i(2, buffer + j + u + 4);
                dvbapi_add_ecmpid(demux_id, descriptor_ca_system_id, descriptor_ca_pid, descriptor_ca_provider);
            }
        }
        else
        {
            if(caid_is_viaccess(descriptor_ca_system_id) && descriptor_length == 0x0F && buffer[j + 12] == 0x14)
                { descriptor_ca_provider = b2i(3, buffer + j + 14) &0xFFFFF0; }

            if(caid_is_nagra(descriptor_ca_system_id) && descriptor_length == 0x07)
                { descriptor_ca_provider = b2i(2, buffer + j + 7); }
            
            if((descriptor_ca_system_id >> 8 == 0x4A || descriptor_ca_system_id == 0x2710) && descriptor_length > 0x04 )
                { descriptor_ca_provider = buffer[j + 6]; }

            dvbapi_add_ecmpid(demux_id, descriptor_ca_system_id, descriptor_ca_pid, descriptor_ca_provider);            
        }
    }

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Ecm window on OSD #52 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 7 May 2016 - 16:57

Is this code already in E2? or is it just there in Oscam.... As you can see here per system you have a different prov id 'getter'...

 

it can be ofcourse added in E2... but I prefer to keep it in Oscam and let somehow Oscam get it outputted..... (e.g. add info in ecm.info.... or create a caids.info)...


Edited by littlesat, 7 May 2016 - 17:00.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #53 2boom

  • Senior Member
  • 100 posts

+17
Neutral

Posted 7 May 2016 - 16:57

it's pointless until there is no file to parse



Re: Ecm window on OSD #54 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 7 May 2016 - 17:05

It is already parsed in E2... but I do not see anywhere were the provider ID is parsed from the DVB streams.... This could of course be added (and depended on the caid be decoded) as third field... And then swigged to python....  And of course once having this oscam could get this info also from E2... It might be added value...

 

Then capid_pair should change to a tripple here

https://github.com/O...vb/pmtparse.cpp


Edited by littlesat, 7 May 2016 - 17:09.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #55 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 7 May 2016 - 18:05

Well sure I can add support to oscam to output it to some kind of file but why not implement it in engima2 code? That way everyone can benefit from it, even the setups not

using oscam at all. Therefor I think enigma is a far better place to implement this.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Ecm window on OSD #56 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 8 May 2016 - 10:30

I respet littlesat's opinion but I would rather go with theparasol. Why limit it only to oscam users if all the information is already available in CA_PMT?

Thank you all for your interest in implementing the information.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Ecm window on OSD #57 littlesat

  • PLi® Core member
  • 57,198 posts

+700
Excellent

Posted 8 May 2016 - 10:41

Why limit it only to oscam users if all the information is already available in CA_PMT?

 

->

 

The information isn't available yet in E2.... code needs to be added...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Ecm window on OSD #58 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 8 May 2016 - 11:00

Yes, found the setup of capid_pair here:

 

https://github.com/O.../pmtparse.h#L71

 

Perhaps rename caid into caidnew to get all related code that is using this program struct since compilation will fail


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Ecm window on OSD #59 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 May 2016 - 11:05

Please respect the boundary between "perfectly legal" and "maybe not 100% legal as interpreted by some". That means all code in enigma that is common to CI operation is OK, but it's not okay to add (more) code specificly for softcams. I guess that is why the current "deviation" is used where the ECM-specific information is written by the softcam and enigma only reads that information. Why not add some extra information to that file if necessary?

 

BTW I noticed that if you're decoding more than 1 stream, you'll get only information on the first stream. I am not sure if that's enigma's fault or oscam's. If you use CCcam you get the info alternating from both streams, which is also not ideal.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Ecm window on OSD #60 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 8 May 2016 - 11:20

We are just trying to add some info about provid, no relation with softcams at all.

 

Anyone knows where this function is defined: getCaSystemId() or getCaPid()

I cant find it anywhere in enigma2 code.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users