Jump to content


Photo

streamproxy and choosing audio streams of movies


  • Please log in to reply
116 replies to this topic

Re: streamproxy and choosing audio streams of movies #21 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 5 January 2019 - 20:11

I'd say, issue a feature request to OWIF for this and I'll add the complementary functionality to streamproxy when it's ready.


* 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: streamproxy and choosing audio streams of movies #22 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 6 January 2019 - 09:49

I´ve done it here.

https://github.com/E...issue-396240271


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #23 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 6 January 2019 - 10:18

Thx.


* 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: streamproxy and choosing audio streams of movies #24 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 6 January 2019 - 13:22

On question. Is it right that the transcoding hardware can only include one audiostream in the transcoded stream or is the hardware also able to include more than one audiostream? 


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #25 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 January 2019 - 20:33

No, the hardware can only transcode one audio track. Otherwise I'd definitely have it send all audio channels.

 

But as you can see, as friend Schimmelreiter is the king of the OWIF, it's not going to happen. Because OpenPLi, as usual, does it "all wrong". I am sorry.


* 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: streamproxy and choosing audio streams of movies #26 Pr2

  • PLi® Contributor
  • 6,070 posts

+257
Excellent

Posted 8 January 2019 - 20:50

Case just close they want to have it first in E2 before implementing it into OWIF.


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
 


Re: streamproxy and choosing audio streams of movies #27 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 8 January 2019 - 21:00

An other idea if OWIF developer don´t want to implement a language parameter for a URL Parameter:

 

openPLI has an additional setup which writes the default parameter so /etc/enigma2/streamproxy.conf. 

 

With an additional parameter for a language in streamproxy.con the streamproxy is able to select a machting audio stream, if the language tags of the audiostreams are valid. If not streamproxy makes the same as today.

 

Then a user has the chance to select the language by streaming transcoded movies.


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #28 Pr2

  • PLi® Contributor
  • 6,070 posts

+257
Excellent

Posted 8 January 2019 - 22:05

It takes the first audio stream UNLESS it's a narrative track, identified by metadata or having "nar" in the id.

 

The only other way to properly solve this is to have streamproxy completely parse lamedb. I'd rather spend the time on moving the code to enigma then.

 

Does this means that streamproxy ignore the Enigma2 settings and choose the very first one that it found in a stream?

So somebody who specify a certain language can get another one when streaming?


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
 


Re: streamproxy and choosing audio streams of movies #29 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 8 January 2019 - 22:37

Yes, the language is choose by random


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #30 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 January 2019 - 20:11

Case just close they want to have it first in E2 before implementing it into OWIF.

Enigma actually has nothing to do with this...


* 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: streamproxy and choosing audio streams of movies #31 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 January 2019 - 20:13

openPLI has an additional setup which writes the default parameter so /etc/enigma2/streamproxy.conf. 

With an additional parameter for a language in streamproxy.con the streamproxy is able to select a machting audio stream, if the language tags of the audiostreams are valid. If not streamproxy makes the same as today.

Then a user has the chance to select the language by streaming transcoded movies.

Scroll a few messages back and read why that isn't the problem (and neither the solution).


* 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: streamproxy and choosing audio streams of movies #32 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 January 2019 - 20:13

Does this means that streamproxy ignore the Enigma2 settings and choose the very first one that it found in a stream?
So somebody who specify a certain language can get another one when streaming?

Yes, thanks to OWIF that doesn't supply this information to streamproxy. So it can only guess what track the user wants to have.

Edited by Erik Slagter, 10 January 2019 - 20:14.

* 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: streamproxy and choosing audio streams of movies #33 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 10 January 2019 - 21:04

For me it is not clear why there is a big difference between a language parameter in streamproxy.conf which the user configures in openpli menu for language or an parameter which OWIF provides with the URL. The goal, that streamproxy can access this language demand is nearly the some? 

 

What is to bad an that idea, I red the older messages but can´t unterstand? especially if OWIF developer will not do it.


Edited by anudanan, 10 January 2019 - 21:06.

Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #34 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 11 January 2019 - 10:16

Indeed you do not understand, that is true ;)

 

The issue is not that streamproxy does not know which language you want. Implementing that is peanuts.

 

The issue is that OWIF supplies streamproxy with a bunch of audio tracks for the service that only have a number, their PID, and nothing else. So how is streamproxy supposed to know what track is what language?


* 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: streamproxy and choosing audio streams of movies #35 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 11 January 2019 - 10:39

Gong, now the stone is falling and I´ve understand it. Thank you for your patience and informations.

 

You can´t see in streamproxy the audio tags and only the PIDs? No language tags are available in the stream you see in streamproxy from the requested channel


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #36 WanWizard

  • PLi® Core member
  • 68,544 posts

+1,737
Excellent

Posted 11 January 2019 - 11:25

The OWIF interface returns:

NO STREAM
+0:0:pat,8fd:video,908:audio,8fd:pcr,961:text
+0:0:pat,8fc:pmt,8fd:video,907:audio,908:audio,909:audio,961:subtitle,962:subtitle,963:subtitle,8fd:pcr,961:text
+0:0:pat,8fc:pmt,8fd:video,907:audio,908:audio,909:audio,961:subtitle,962:subtitle,963:subtitle,8fd:pcr,961:text
+0:0:pat,8fc:pmt,8fd:video,907:audio,908:audio,909:audio,961:subtitle,962:subtitle,963:subtitle,8fd:pcr,961:text
...

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: streamproxy and choosing audio streams of movies #37 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 11 January 2019 - 11:52

So the only chance for selecting a special audio only with streamproxy is to give the count, which audiostream streamproxy will use (1,2,3 etc, 0 for default as today).

That is not very userfriendly but possible with streamproxy.conf


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #38 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 11 January 2019 - 12:01

I don't think that will work properly. Especially when you e.g. look ARTE with french and german audio stream. Is german audio stream always the first one?


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: streamproxy and choosing audio streams of movies #39 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 11 January 2019 - 12:28

Yes it is not the 100 percent solution, but helps if audio is wrong. 

The better solution in enigma or OWIF is far away from today  ;-(

 

Arte has german from my knowlegde as the first stream, on my box it is the first one


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: streamproxy and choosing audio streams of movies #40 WanWizard

  • PLi® Core member
  • 68,544 posts

+1,737
Excellent

Posted 11 January 2019 - 12:33

Arte has german from my knowlegde as the first stream, on my box it is the first one

 

I think Erik mentioned before that the order in which you see them on the box has little to do with the order in which they are broadcasted?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users