Jump to content


Photo

Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ?


  • Please log in to reply
57 replies to this topic

Re: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #21 mosskit

  • Member
  • 18 posts

0
Neutral

Posted 29 December 2018 - 17:56

Yes the content of the m3u8 file for transcoding is correct and work


Hi I dont bother about the file name. I turned off the authentication by @anudanan suggestion, restarted streamproxy and..  it works now on tellymote and VU+ official app! So the problem is with http authentication being turned on whatever transcoding method I use (m3u8 file from OWIF - phone icon, or other iOS apps).

 

 
 



Re: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #22 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 29 December 2018 - 18:08

@anudanan,

 

Yes, that is the one I meant. Back home, I'll commit a fix and bump the commit hash for the rc build in a minute.

 

@mosskit,

 

Yes, we know the contents works. But that doesn't mean other issues shouldn't be fixed. ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #23 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 29 December 2018 - 18:09

@mosskit

 

For the authentication of streamproxy I have open a feature request here

 

https://github.com/e...mproxy/issues/6


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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #24 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 29 December 2018 - 18:11

Done.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #25 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 29 December 2018 - 18:15

thx


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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #26 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 30 December 2018 - 13:18

 

- the options defined into the transcoding setup screen are simply ignored, so no options: bitrate= width= height= aspectratio= interlaced=

 

VU+ doesn't use  / support these URL parameters, it only supports transcoding op 8002, and uses the streamproxy config file to determine how. This was the issue I fixed.

I didn't check the filename. Also, that is cosmetic, a file named "m3u8" works fine too.

Completely untrue. Streamproxy supports parameters set using the plugin (as defaults) and config file and allows overriding them using url parameters and even cookies.


* 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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #27 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 30 December 2018 - 13:21

@mosskit

 

For the authentication of streamproxy I have open a feature request here

 

https://github.com/e...mproxy/issues/6

I explained there why it isn't that simple.

 

Either use authentication for OWIF as a whole and streaming or don't use authentication for both and then it will work.


* 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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #28 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 30 December 2018 - 14:10

 

 

- the options defined into the transcoding setup screen are simply ignored, so no options: bitrate= width= height= aspectratio= interlaced=

 

VU+ doesn't use  / support these URL parameters, it only supports transcoding op 8002, and uses the streamproxy config file to determine how. This was the issue I fixed.

I didn't check the filename. Also, that is cosmetic, a file named "m3u8" works fine too.

Completely untrue. Streamproxy supports parameters set using the plugin (as defaults) and config file and allows overriding them using url parameters and even cookies.

 

 

I have created a ticket on OWIF:

 

https://github.com/E...ebif/issues/890


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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #29 mosskit

  • Member
  • 18 posts

0
Neutral

Posted 30 December 2018 - 14:37

- the options defined into the transcoding setup screen are simply ignored, so no options: bitrate= width= height= aspectratio= interlaced=


VU+ doesn't use / support these URL parameters, it only supports transcoding op 8002, and uses the streamproxy config file to determine how. This was the issue I fixed.
I didn't check the filename. Also, that is cosmetic, a file named "m3u8" works fine too.
Completely untrue. Streamproxy supports parameters set using the plugin (as defaults) and config file and allows overriding them using url parameters and even cookies.

Hi I agree on that. I ve checked my box and stramproxy config files is overwriten with those params whenever I change them and restart streamproxy, thus bitrate and resolution changes for transcoded channels.


Wysłane z iPad za pomocą Tapatalk

Re: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #30 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 30 December 2018 - 14:46

Completely untrue. Streamproxy supports parameters set using the plugin (as defaults) and config file and allows overriding them using url parameters and even cookies.

 

This was not about the streamproxy capabilities, but about how the webif generates stream URL's. For VU+, it generates URL's with port 8002 without parameters, for the "Xtrend" types it generates URL's with port 8001 and with parameters.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #31 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 1 January 2019 - 15:34

I´ve tested the last changes in stream.py of openwebif of that issue

 

https://github.com/E...ebif/issues/890

 

now the url includes the parameter like

 

#EXTM3U 
#EXTVLCOPT--http-reconnect=true 
#EXTINF:-1,Das Erste HD
http://192.168.1.43:...:C00000:0:0:0:?bitrate=1000000?width=720?height=480?aspectratio=2?interlaced=0
 
it works also with tellymote on iphone which uses the safari browser for playing transcodes videos

Edited by anudanan, 1 January 2019 - 15:37.

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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #32 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 1 January 2019 - 18:54

I´ve tested it now with movies on the HDD. In the ts.m3u8 there are no bitrate parameter etc includes.

 

#EXTM3U 
#EXTVLCOPT--http-reconnect=true 
#EXTINF:1852,Notting Hill
http://192.168.1.43:8013/file?file=/hdd/movie/20190101%201810%20-%20zdf_neo%20HD%20-%20Notting%20Hill.ts

 

But I think it works also with the parameter, I´ve tested it.

 

#EXTM3U 
#EXTVLCOPT--http-reconnect=true 
#EXTINF:1852,Notting Hill
http://192.168.1.43:8013/file?file=/hdd/movie/20190101%201810%20-%20zdf_neo%20HD%20-%20Notting%20Hill.ts?bitrate=1000000?width=720?height=480?aspectratio=2?interlaced=0
 
 
So I think there is an other issue in OWIF for stored movies or I´m wrong?

Edited by anudanan, 1 January 2019 - 18:55.

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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #33 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 1 January 2019 - 19:09

I think so too.

 

It is perhaps better that you open up a new ticket on OWIF git since now it is for recorded movie and not a live stream.


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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #34 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 1 January 2019 - 19:15

I´ve made on my box the same fixes (from getStream function) now in the getTs function and it works

 

Here is the new issue

 

https://github.com/E...ebif/issues/891


Edited by anudanan, 1 January 2019 - 19:19.

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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #35 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 1 January 2019 - 19:19

Then report it to OWIF or create a Pull Request to propose your change.


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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #36 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 1 January 2019 - 19:55

I added the interesting Code inside the issue. I´ve not done a pullrequest until know and not very familar who to do this


Edited by anudanan, 1 January 2019 - 19:55.

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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #37 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 2 January 2019 - 10:07

Completely untrue. Streamproxy supports parameters set using the plugin (as defaults) and config file and allows overriding them using url parameters and even cookies.

This was not about the streamproxy capabilities, but about how the webif generates stream URL's. For VU+, it generates URL's with port 8002 without parameters, for the "Xtrend" types it generates URL's with port 8001 and with parameters.

And that, Littlesat completely failed to mention. OWIF doesn't know about streamproxy, it assumes the VU+ transtreamproxy which doesn't support URL parameters and should be configured the "transcoding settings" plugin. So again something OWIF needs to fix.


Edited by Erik Slagter, 2 January 2019 - 10: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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #38 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 2 January 2019 - 11:28

A question about this Topic to Wanwizard

 

https://forums.openp...rt/#entry989457

 

Yesterday I´ve removed my older OWIF plugin and installed it new from your feed (the version ist now 1+git3234+8e73e37-r0.0))

but now die filenamegeneration for transcoded  files is wrong without the name of the channel

 

I thought the fix is inside the new pluginversion ? Isn´t it?


Edited by anudanan, 2 January 2019 - 11:30.

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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #39 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 2 January 2019 - 11:48

Thought so to, but appearently it didn't fix it. Looking at it now.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Openpli 6.2 VU+ Uno SE OpenWebIF and iOS App Transcoding problem - wrong port ? #40 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 2 January 2019 - 12:15

I probably have to bump the version of the js file, otherwise chances are the browser uses the cached version. Could you force a reload and see if that fixes it?

 

If I do that I get a filename in the response, and VLC opens directly without wanting to save the "m3u8" file:

Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
        [Expert Info (Chat/Sequence): HTTP/1.1 200 OK\r\n]
            [HTTP/1.1 200 OK\r\n]
            [Severity level: Chat]
            [Group: Sequence]
        Response Version: HTTP/1.1
        Status Code: 200
        [Status Code Description: OK]
        Response Phrase: OK
    Transfer-Encoding: chunked\r\n
    Date: Wed, 02 Jan 2019 11:10:46 GMT\r\n
    Content-Type: application/x-mpegurl\r\n
    Content-Disposition: inline; filename=NPO1 HD.m3u8;\r\n
    Server: TwistedWeb/17.9.0\r\n
    \r\n
    [HTTP response 4/5]
    [Time since request: 0.006985399 seconds]
    [Prev request in frame: 26749]
    [Prev response in frame: 26759]
    [Request in frame: 28126]
    [Next request in frame: 41969]
    [Next response in frame: 41974]
    HTTP chunked response
        Data chunk (182 octets)
            Chunk size: 182 octets
            Data (182 bytes)
                Data: 234558544d3355200a23455854564c434f50542d2d687474...
                [Length: 182]
            Chunk boundary: 0d0a
        End of chunked encoding
            Chunk size: 0 octets
        \r\n
    File Data: 182 bytes

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users