Jump to content


Photo

access from enigmote APP to transcoding setup in OWIF fails


  • Please log in to reply
28 replies to this topic

Re: access from enigmote APP to transcoding setup in OWIF fails #21 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 15 February 2019 - 10:54

With yesterday's build, http://<ip-of-my-box>/transcoding gives me:
attachicon.gifScreenshot from 2019-02-15 09-38-09.png


That is the error I have fixed and the merge into OWIf git was yesterday evening

Do you have the current OWIF?

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: access from enigmote APP to transcoding setup in OWIF fails #22 WanWizard

  • PLi® Core member
  • 68,312 posts

+1,719
Excellent

Posted 15 February 2019 - 11:14

No, as I said it was yesterday's build. Can't rebuild a develop image at the moment, due to a missing tarball in another package...


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: access from enigmote APP to transcoding setup in OWIF fails #23 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 15 February 2019 - 11:51

With the fixed transconfig.py of OWIF you get this. I think some value or not correct defined in the transcodingsetup plugin

 

I learned from Erik the framerate make no sense and I think also the aspectratio make no sense.

 

Very confusing all these things but I learned much about all of these. It is interesting. 

<e2configs>
<encoder number="0">
<e2config>
<e2configname>framerate</e2configname>
<e2configchoices>23976, 24000, 25000, 30000</e2configchoices>
<e2configvalue>25000</e2configvalue>
</e2config>
<e2config>
<e2configname>aspectratio</e2configname>
<e2configlimits>0-9999999999</e2configlimits>
<e2configvalue>2</e2configvalue>
</e2config>
<e2config>
<e2configname>bitrate</e2configname>
<e2configchoices>
50000, 100000, 200000, 500000, 1000000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000
</e2configchoices>
<e2configvalue>1000000</e2configvalue>
</e2config>
<e2config>
<e2configname>resolution</e2configname>
<e2configchoices>720x480, 720x576, 1280x720</e2configchoices>
<e2configvalue>1280x720</e2configvalue>
</e2config>
</encoder>
<e2config>
<e2configname>port</e2configname>
<e2configlimits>1024-65535</e2configlimits>
<e2configvalue>8013</e2configvalue>
</e2config>
</e2configs>

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: access from enigmote APP to transcoding setup in OWIF fails #24 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 15 February 2019 - 14:10

And why should you limit bitrate to a list of fixed values...? The same with the ports were in some hotels having port 443 is a must... And then we have 9999..9999 values for aspect ratio


Edited by littlesat, 15 February 2019 - 14:11.

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


Re: access from enigmote APP to transcoding setup in OWIF fails #25 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 15 February 2019 - 16:14

These values, limits and choices are defined all inside the transcodingsetup plugin and I haven´t done these definitions. 

 

I only have fixed the generation of the list in OWIF

 

I think also as you not all values make sense. Even the framerate makes no sense because erik said there is no need to configure it, I think the aspectration makes also no sense.

 

The bitrate struktur for example in streamproxy is the following and it maybe a limit is better. But sometimes for a user a choicebox is easier to use instead typing in many diggits.


				.default_value	= 1000,
				.min_value		= 100,
				.max_value		= 10000,
				.scaling_factor	= 1000,
			},

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: access from enigmote APP to transcoding setup in OWIF fails #26 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 15 February 2019 - 20:33

Now I´m ready with my codechanges  and it is very ok for me.

 

Now I can change the transcoding port and port2 (more makes no sense), bitrate and resolution with the setup menu and with the setting menu in OWIF

 

From the APP I can change port, bitrate and resolution, (port2 is not neccessary) I´ve deleted other parameter from transcodingsetup plugin and therefor the ip-address/transcoding page only provides the port, bitrate and resolution and not more.

 

With a notifier of these parameters the transcodingsetup plugin gets callbacks and change the content of streamproxy.conf if a user change the parameter over the 3 different ways.

 

Also I have made a change in OWIF plugin if the user change the openwebif config parameters. After ok button then configfile.save() will save enigma settings and the streamproxy process gets the notify and can use the new OWIF parameter without GUI restart.


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: access from enigmote APP to transcoding setup in OWIF fails #27 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 18 February 2019 - 14:14

attached my changed plugin.py of the trancodingsetup plugin under /usr/lib/enigma2/python/Plugins/SystemPlugins/TranscodingSetup.for a better user experience with the transcodingparameter changeing under setup/OWIF and sometimes with an APPs,

 

Feel free to use it or not. 

 

 

Attached Files


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: access from enigmote APP to transcoding setup in OWIF fails #28 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 18 February 2019 - 19:13

Here a nicer one

Attached Files


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: access from enigmote APP to transcoding setup in OWIF fails #29 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 19 February 2019 - 09:57

in the above plugin.py I´ had  outcomment th aspectratio and interlaced parameter with the default.

But OWIF needs them for generation the transcoding URL with transcoding parameter

 

Here the new

 

Is it better to make pull request for that or don´t you like changes inside transcodingsetup ?

 

https://github.com/a...a54e46a226342b7

 

 

Attached Files


Edited by anudanan, 19 February 2019 - 10:02.

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



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users