Yes there is, see again Pieter's proposal...
Perhaps the problem is my bad English .
I do not understand how to get this information(picture/sound).
How it should look like?
An example of a piece of code.
Posted 26 June 2013 - 18:42
The trick is to check whether the decoders virtual clock is advancing (the "pts"). Everytime a valid pes packet (that includes a time stamp) is processed by the decoder (video decoder, not descrambler), the decoder's virtual clock is updated. This sounds complex, but for a playing file (not "live"), it's simply the "progress bar". If you're playing a recording that has parts that are not decrypted, you will see the progress bar is not advancing until you reach a decrypted part. For live streams I guess this works the same way, only the information is not used for the progress bar.
If you can find where enigma finds the base for the playback progress bar, you have probably found exactly what you need.
There is a "proc" file called /proc/stb/vmpeg/0/pts, but this returns dummy values (on my vuo+solo2, at least), so it's useless.
* 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.
Posted 26 June 2013 - 21:32
The trick is to check whether the decoders virtual clock is advancing (the "pts"). Everytime a valid pes packet (that includes a time stamp) is processed by the decoder (video decoder, not descrambler), the decoder's virtual clock is updated. This sounds complex, but for a playing file (not "live"), it's simply the "progress bar". If you're playing a recording that has parts that are not decrypted, you will see the progress bar is not advancing until you reach a decrypted part. For live streams I guess this works the same way, only the information is not used for the progress bar.
If you can find where enigma finds the base for the playback progress bar, you have probably found exactly what you need.
There is a "proc" file called /proc/stb/vmpeg/0/pts, but this returns dummy values (on my vuo+solo2, at least), so it's useless.
Thank you, now understood...
It is unlikely that I will find this information in the modules enigma.
Can be considered the matter closed.
GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K
Posted 26 June 2013 - 22:08
Edited by littlesat, 26 June 2013 - 22:11.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 27 June 2013 - 08:52
Hi,
When I display the second info bar, I can see if channel is scrambled or not, since I have the list of all the possible encryption system in Yellow, then when the channel is unscrambled the used system is turned to green.
So if the goal is just to detect if a channel is scrambled or not, why not use the same approach as the second info bar does?
On FTA channel the mention is also displayed.
So I guess you can reuse the same approach for your own need or do I miss something?
Pr2
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
Posted 27 June 2013 - 13:35
I hope that this boring future pop up won't become standard in Openpli... since using the second info bar will already show you if the channel is scrambled or not.
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
0 members, 1 guests, 0 anonymous users