Jump to content


Photo

Show popup for encrypted channel

question

  • Please log in to reply
26 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 24 June 2013 - 10:29

I have a question.
How do I know that the service has ceased to be decoded and get the message out about it?
Example:

InfoBarGenerics

class InfoBarServiceErrorPopupSuppor


Edited by Dima73, 24 June 2013 - 10:30.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #2 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 24 June 2013 - 14:53

Enigma won't ever know if decoding stops. That's something you will have to discuss with the softcam.


* 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: Show popup for encrypted channel #3 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 24 June 2013 - 16:36

Enigma won't ever know if decoding stops. That's something you will have to discuss with the softcam.

Thank you, you understood my question.

Uses for these purposes softcam, more precisely /tmp/ecm.info,does not give a correct result.

Since the user can use the CI module for decoding.

Could not we come up with something in the code for the enigma of this information?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #4 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 24 June 2013 - 16:56

Yeah, "someone" choose at a certain point in de the development of enigma that non-ci decoding is something enigma should know next to nothing about and should be left to the softcam. Personally I would have preferred if the programming of the demuxer and the descrambler would be a task of enigma, one advantage, indeed, would be that enigma would know if there was actual descrambling taking place. Another advantage would be that there would be not two programs accessing the same hardware and only enigma would have to know about the dvbapi (which it probably would implement better than some softcams).

 

I guess it has all to do with staying clear from semi-legal stuff...


* 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: Show popup for encrypted channel #5 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 24 June 2013 - 17:17

Even if descrambling is taking place, you still don't know whether the keys are correct.

So you never know.

Best chance you've got is to look at video/audio pts values. If they're still advancing, you probably have a picture / sound.

Re: Show popup for encrypted channel #6 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 24 June 2013 - 18:07


Best chance you've got is to look at video/audio pts values. If they're still advancing, you probably have a picture / sound.

I did so:

		service = self.session.nav.getCurrentService()
		if service is not None:
			info = service and service.info()
			isCrypted = info and info.getInfo( iServiceInformation.sIsCrypted )
			CaIDs = info and info.getInfoObject( iServiceInformation.sCAIDs )
			if info:
				if isCrypted and CaIDs:
					width = info and info.getInfo(iServiceInformation.sVideoWidth) or -1
					height = info and info.getInfo(iServiceInformation.sVideoHeight) or -1
					if width == -1 and height == -1:
						print "Encoded channel!"

But ...

Service no longer be decoded, e.g. problems with internet.

However:

sVideoWidth and sVideoHeight != 1   :(


Edited by Dima73, 24 June 2013 - 18:11.

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #7 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 24 June 2013 - 18:16

Ugli :(.... But possibly a good way to check if there is picture visible... But what if there is just no data?
But what timeout should you use befor it appears? When is too long it must be shorter. When it is too short it is enoying...

Edited by littlesat, 24 June 2013 - 18:20.

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


Re: Show popup for encrypted channel #8 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 24 June 2013 - 18:37

Sorri.

But ...

Service no longer be decoded, e.g. problems with internet.

However:

sVideoWidth and sVideoHeight != -1 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #9 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 24 June 2013 - 18:44

Yes, that was to be expected. The decoder assumes a glitch and wait for more valid data, it doesn't stop decoding.

 

You'd have to try pieterg's suggestion.


* 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: Show popup for encrypted channel #10 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 24 June 2013 - 18:46

And when encoding stops while suddenly the screen freezes at the last frame... Then you still get no warning when checking video height/width... So that idea is not working

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


Re: Show popup for encrypted channel #11 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 25 June 2013 - 05:21

You'd have to try pieterg's suggestion.

How to get this(picture/sound) information?
Please give an example.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #12 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 25 June 2013 - 06:53

That isn't easy.... You need to poll the pts and check it for advancing... And even then, when the provider is doing something strange with the pts it might happen that you will have invalid popups. In cpp e.g. Arround the subtitle stuff you can find many thinks that get the pts.

Edited by littlesat, 25 June 2013 - 06:53.

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


Re: Show popup for encrypted channel #13 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 25 June 2013 - 14:42

I think the pts will advance normally most of the time (if descrambling takes place), only about once a day you will see a leap, which is normal.


* 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: Show popup for encrypted channel #14 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 25 June 2013 - 14:49

IIRC there is a /proc entry that shows the raw pts.


* 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: Show popup for encrypted channel #15 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 25 June 2013 - 16:29

Shouldn't the softcam return some status like "descrambling" or "not supported" ?

I know oscam for example isnt doing this but if someone has some pointers how to correctly return this status I'm more then happy to add it to oscam.


@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: Show popup for encrypted channel #16 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 25 June 2013 - 17:27

The problem is that a softcam could do that, but there is no "defined" interface to notify enigma.


Edited by Erik Slagter, 25 June 2013 - 17:27.

* 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: Show popup for encrypted channel #17 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 25 June 2013 - 17:56

And there is also no interface from the softcam that can really detect CWs that are not able to clean the picture.


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


Re: Show popup for encrypted channel #18 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 25 June 2013 - 17:59

And there is also no interface from the softcam that can really detect CWs that are not able to clean the picture.

If you would know of a reliable way to detect bogus codewords anyway, you could be millionaire already!


Edited by Erik Slagter, 26 June 2013 - 17:07.

* 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: Show popup for encrypted channel #19 Dimitrij

  • PLi® Core member
  • 10,023 posts

+338
Excellent

Posted 25 June 2013 - 21:39

As I understand it there is no solution :( ?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Show popup for encrypted channel #20 Erik Slagter

  • PLi® Core member
  • 46,960 posts

+541
Excellent

Posted 26 June 2013 - 17:07

Yes there is, see again Pieter's proposal...


* 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.




Also tagged with one or more of these keywords: question

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users