Jump to content


Photo

Transcoding problem


  • Please log in to reply
693 replies to this topic

Re: Transcoding problem #681 jpl

  • Member
  • 8 posts

0
Neutral

Posted 2 November 2014 - 11:55

Update: vu+ player app still reprts that it can't find support for the API, so changing video quality on the fly or in the settings doesn't work.

 

Does anybody know what the command would be to add support for the API - without updating the whole image, please?



Re: Transcoding problem #682 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 2 November 2014 - 19:27

I does say this, but in the meantime it just works, ignore it.

 

For sake of keeping the topic clean I will refrain from reacting on your points about Linux and Unix which are obviously only supported by your own misinformation, which is often the case with Microsoft adepts.


* 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: Transcoding problem #683 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 3 November 2014 - 09:25

5. Ran "netstat -p tcp -a -n" and noticed that the process inetd was listening on port 8002, not streamproxy

That should have told you that something else went wrong before.

inetd isn't supposed to listen on port 8002 on OpenPLi, because the streamproxy is started as a stand-alone daemon.
I wonder how you managed to get it borked like that in the first place, because streamproxy has all the original transcoding proxies in its conflicts list and will remove them.


The following steps just describe how to bork it even more, because now you got two incompatible transcoders installed at the same time.

To put it into some picture:
You drove your car against a wall and now you can hear the metal scratch on the road while driving ... but instead of repairing the damage, you mount larger wheels, hoping the bent metal doesn't get ground contact anymore.
That works so far, but now you can smell the rubber of the tires, because the larger wheels don't fit inside the wheelcase anymore ...


BTW: Removing the line for port 8002 from /etc/inetd.conf and re-configuring erik slagter's streamproxy to use port 8002 again might lower the pain ...
But there can't be any simple advice for reverting your system to a truely clean state, because it must have been brought into its current state using brute force and we do not know what kind of force.
For proper repair, we would need to know how you managed to break it in the first place and only you can know that.

It is impossible to still have an inetd.conf listener on port 8002 if your transcoding was installed/upgraded the normal way.
1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Transcoding problem #684 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 3 November 2014 - 15:31

BTW the simplest way to resolve this half-inbetween-condition the receiver has come into, is to make a backup, flash a new image and restore the backup.

This has been explained in various other topics.

* 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: Transcoding problem #685 jpl

  • Member
  • 8 posts

0
Neutral

Posted 3 November 2014 - 21:43

Sorry, but I did find the reason for inetd listening and occupying port 8002. It was in inetd.conf (don't you just like Lunix and Unix with conf files all over the place! compare that to the Windows registry which is so simple in comparison) but didn't bother to post it. Here is the offender:

 

"8002 stream tcp nowait root /usr/bin/transtreamproxy transtreamproxy"

 

Commented out with a #, reboot and one can use 8002 for the streamproxy process, or any other free port, at will.

 

Eric, if I had an IT technician, even suggesting to solve every problem by wiping everything all the time, instead of doing real troubleshooting - and solving the problem, I would fire him faster than you can say "get out of here". Reflashing/reinstalling or whatever, did you learn anything? BTW, if you even paid half an ear of your precious time, I started this post by saying that I DID just that! With a fresh image, latest build!

 

Jeez...Linux boffins...'nuff said...



Re: Transcoding problem #686 jpl

  • Member
  • 8 posts

0
Neutral

Posted 3 November 2014 - 21:49

And now everything is working just fine, the way I want it to work. With the "Great Help of the Linux community"...give me a friggin break...



Re: Transcoding problem #687 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 5 November 2014 - 20:57

JPL I would happily explain all steps how to get to a working situation and also how the package system would have gotten into this inconsistant state, but I have learned that most users really don't want that, they just want to have a working situation, with little effort in little time.

 

As you've shown you have no interest in learning anything from anything other than Windows, I have assumed your preference would be the same.


* 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: Transcoding problem #688 jpl

  • Member
  • 8 posts

0
Neutral

Posted 5 November 2014 - 23:16

As you've shown you have no interest in learning anything from anything other than Windows, I have assumed your preference would be the same.

 

Wrong, my friend, on two accounts: Firstly, I don't need to learn anything about Windows. Secondly, the Linux "community" attitude means I have to learn what is required on my own. Which I will. 

 

So thanks for your "kind" offer, but don't bother. If you could learn, it means I can learn it also, only 10 times better! :)

 

BTW: It wasn't me who launched the derogative comments on Linux, it was SpaceRat...not that it matters. Linux community has again opened it so warm and welcoming bosom in all matters! 



Re: Transcoding problem #689 lfc84

  • Member
  • 2 posts

0
Neutral

Posted 8 August 2015 - 23:59

 

pieterg has just pushed a commit that makes the internal streamserver (port 8001, streaming-no-transcoding), for authentication, configurable, indepedent of the open web interface, because it has no relation with the open web interface.

 

This means, from tomorrow on, that if you want authentication on plain streaming, you should set the option "Require authentication for http streams" inside the enigma settings for streaming (it's between the other streaming options, like "Descramble http streams" etc.

commit 5d6c607bf2f2c3feb7d5213be57a65ac539e8b4a
Author: pieterg <pieterg@users.sourceforge.net>
Date:   Thu May 15 17:40:36 2014 +0200
    streamserver: use internal setting for authentication
   
    the streamserver should not depend on the webinterface,
    so introduce our own setting, instead of checking an
    external openwebif setting.

 

I realise this is an openpli forum but I am running openvix and I cannot find an answer to my question.

 

I have enabled the above functionality so that streams on port 8001 are authenticated. However when I use the root credentials the authentication fails.

 

Is this issue specific to openvix?  Do I need to create a new user for the http port 8001 stream ?



Re: Transcoding problem #690 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 9 August 2015 - 07:51

Ask at openvix forum

on the Glassfibre 1GB DVB-C...


Re: Transcoding problem #691 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 9 August 2015 - 09:14

The error is actually inside that old PLi commit:

The authentication against the internal streaming oftenly fails, it will succeed after 2, 3, 4, 5, 6, ... 20 retries with the amount of retries depending on the phase of the moon only.

 

oe-a images like ViX however should have the proper Dream-style streamproxy on their feed, so it can be installed using

opkg install streamproxy

 

This will fix this issue, however it makes it impossible to exchange EPG between boxes using http streams.

IMHO exchanging EPG using streams is far less widely used than streaming auth though.


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Transcoding problem #692 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 August 2015 - 09:21

The authentication against the internal streaming oftenly fails, it will succeed after 2, 3, 4, 5, 6, ... 20 retries with the amount of retries depending on the phase of the moon only.


Can you reproduce a failure? What are the steps to reproduce?

I guess providing that information could help developers to solve any problem exist.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Transcoding problem #693 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 9 August 2015 - 09:29

As I said, it's really "depending on the phase of the moon only".

 

Sometimes it will succeed on the first attempt, but in many cases it won't.

 

Sorry, but I can't give any more details, if it was easy to reproduce it would probably be easy to fix too and then I would have done that myself already ;)

I guess it's something timing related, e.g. the browser sending the credentials after E2 has already decided it didn't get credentials ...


1st box: Vu+ Ultimo 4k 4xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
2nd box: Gigablue Quad 4k 2xDVB-S2 FBC / 2xDVB-C / 1.8 TB HDD / OpenATV 6.2
testing boxes: Vu+ Duo² + AX Quadbox HD2400 + 2x Vu+ Solo² + Octagon SF4008
Sats & Pay-TV: Astra 19.2°E + Hotbird 13°E with Redlight / SCT HD / SES Astra HD- / Sky V14 / 4th empire propaganda TV
Card-Server: Raspberry Pi + IPv6-capable oscam
Router: Linksys WRT1900ACS w/ LEDE + Fritz!Box 7390

Re: Transcoding problem #694 lfc84

  • Member
  • 2 posts

0
Neutral

Posted 9 August 2015 - 21:35

Thankyou for the constructive comments. I haven't had an opportunity to reinstall streamproxy yet but i will try it out. I apprecaite the suggestion.

 

This thread seems to have some real expertise.




11 user(s) are reading this topic

0 members, 11 guests, 0 anonymous users