Jump to content


Photo

get some PIDs


  • Please log in to reply
8 replies to this topic

#1 jpuigs

  • Senior Member
  • 903 posts

+21
Neutral

Posted 7 December 2018 - 01:16

I'm doing some tests on serviceinfo screen that i'll show you when ready.

But I haven't found something.

 

We can get current Audio PID by using.... either

getServiceInfoValue(iServiceInformation.sAudioPID)

or …

service = self.session.nav.getCurrentService()
audio = service and service.audioTracks()
audioPID = audio.getTrackInfo(audio.getCurrentTrack()).getPID()

Now, to get Video or PCR PID I know I can use:

getServiceInfoValue(iServiceInformation.sVideoPID)
getServiceInfoValue(iServiceInformation.sPCRPID)

But I want to do it using the other way.

I don't find any code anywhere.

Does anybody know it ?


DM 800 HD - DM 500 HD - DM 7020 HD - ET7500 - ET9000 - ET10000 - SF 4008 - Mvision HD 700 L (e2) - Triple Dragon - .......


Re: get some PIDs #2 mrvica

  • Senior Member
  • 672 posts

+37
Good

Posted 7 December 2018 - 10:31

https://github.com/O.../ServiceInfo.py

Re: get some PIDs #3 jpuigs

  • Senior Member
  • 903 posts

+21
Neutral

Posted 7 December 2018 - 12:06

That's not what I'm looking for.

That file is the one I'm modifying. and I want to change

getServiceInfoValue(iServiceInformation.sVideoPID)  line 180
getServiceInfoValue(iServiceInformation.sPCRPID)   line 182

by other way to know PIDs, similar to first audio way, I've written above.


Edited by jpuigs, 7 December 2018 - 12:11.

DM 800 HD - DM 500 HD - DM 7020 HD - ET7500 - ET9000 - ET10000 - SF 4008 - Mvision HD 700 L (e2) - Triple Dragon - .......


Re: get some PIDs #4 betacentauri

  • PLi® Core member
  • 5,180 posts

+240
Excellent

Posted 7 December 2018 - 17:07

Most likely it’s not possible as there is only 1 video pid available. So no need for a list. For audio you can have several pids and so there is a list available.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: get some PIDs #5 jpuigs

  • Senior Member
  • 903 posts

+21
Neutral

Posted 7 December 2018 - 17:14

I ask it, because if I play f.i. a Youtube downloaded video, on ServiceInformation we get Audio and Video PID = N/A, but if I get audio info using other way I get PID value and Information (MPEG-4 AAC audio)

So I looked for a way of displaying video PID too, on those cases.


DM 800 HD - DM 500 HD - DM 7020 HD - ET7500 - ET9000 - ET10000 - SF 4008 - Mvision HD 700 L (e2) - Triple Dragon - .......


Re: get some PIDs #6 mrvica

  • Senior Member
  • 672 posts

+37
Good

Posted 7 December 2018 - 18:03

tvremote plugin gets PIDs on even 3rd way

Attached Files



Re: get some PIDs #7 betacentauri

  • PLi® Core member
  • 5,180 posts

+240
Excellent

Posted 7 December 2018 - 19:36

Afaik YouTube Videos don’t have pids, as they don’t use transport streams like dvb-x does. If some are shown they are wrong.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: get some PIDs #8 jpuigs

  • Senior Member
  • 903 posts

+21
Neutral

Posted 7 December 2018 - 23:16

tvremote plugin gets PIDs on even 3rd way

 

http://BOXIP/web/getpid

I didn't know. 

 

Afaik YouTube Videos don’t have pids, as they don’t use transport streams like dvb-x does. If some are shown they are wrong.

 

That's what I thought, but as using that method it gave one……

 

thanks to both.


DM 800 HD - DM 500 HD - DM 7020 HD - ET7500 - ET9000 - ET10000 - SF 4008 - Mvision HD 700 L (e2) - Triple Dragon - .......


Re: get some PIDs #9 Erik Slagter

  • PLi® Core member
  • 45,235 posts

+496
Excellent

Posted 8 December 2018 - 11:05

YouTube is RTP I guess? Or maybe still transport streams (adapative streaming from Apple uses them).


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users