Jump to content


Photo

Transcoding problem


  • Please log in to reply
693 replies to this topic

Re: Transcoding problem #341 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 06:54

Proof of my last statement (For mips boxes) ...

Unzip the attached streamproxy so that you have the file
/usr/bin/streamproxy

md5: 4fbf924e6c27f8644b2eda83e2bfc2fc *streamproxy
size: 10.264 Bytes

Add this line to inetd.conf:
8001	stream tcp6 nowait root /usr/bin/streamproxy	streamproxy
The result should look somewhat like this:
# Lots of lines commented out
8001		stream	tcp6 nowait root /usr/bin/streamproxy	streamproxy
ftp		stream	tcp6 nowait root /usr/sbin/vsftpd	vsftpd
telnet		stream	tcp6 nowait root /usr/sbin/telnetd	telnetd
#microsoft-ds	stream	tcp6 nowait root /usr/sbin/smbd		smbd
#netbios-dgm	dgram	udp  wait   root /usr/sbin/nmbd		nmbd
After reboot, the box will use the not-so-obsolete streamproxy again (Thanks to VTi, from whose feed I grabbed it), making normal streaming actually work again (stream auth if stream auth enabled, no stream auth if stream auth disabled ...).


Hint:

You can also activate the "microsoft-ds"-line after deleting /etc/network/if-up.d/01samba-start

The benefits of this would be:
- The Samba server is started only on demand (when accessed)
- Samba server supporting IPv6

Also activating the "netbios-dgm" line makes the Box visible inside the Windows network neighourhood again but serves no other purpose nowadays (It's NetBIOS-over-TCP-Crap which DOS, WinDOS and OS/2 used to use, but not current versions of Windows or Lunix).

Attached Files


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 #342 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 08:23

Have you tried using the cacheflush plugin... I used to have your symptoms with my Duo until I started using this, and now I don't need to reboot very often (usually each week when I update the image).

Installed it. Time will tell ...

Actually, once a day would already be fine, because I do updates almost daily :)
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 #343 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 08:24

The only way to use authentication is to use another port than 8001. The streamproxy can use any port you want, if it's free. And 8001 is not free.

 

Я  сума сойду
Мне нужно чтобы работали оба оба порта
Тот что выдает стрим без обработки 8001
и порт с транскодингом 8002
Нужно чтобы запрашивало авторизацию при входе в OpenWebif , чтобы запрашивало пароль на стриме 8001 и на транскодинге 8002.
Напишите нормальную инструкцию как конфигурировать транскодинг, что нужно ставить чтобы работало. А еще лучше верните работу плагина, для конфигурирования транскодинга из меню плагинов или из меню ресивера

 

I will go mad
It is necessary for me that both ports worked!!!
That that gives out stream without processing on port 8001
and port with a transcoding 8002
It is necessary that requested authorization at an entrance to OpenWebif that requested the password on stream without transcoding - 8001 and with transcoding - 8002.
Write the normal instruction (1st post topic) how to configure transcoding, what need to install and configured to worked. And even better return plug-in work, for a transcoding configuration from the menu of plug-ins or from the receiver menu.

 

http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding

http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding


Edited by колбаскин, 28 April 2014 - 08:28.


Re: Transcoding problem #344 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 08:38

It is necessary that requested authorization at an entrance to OpenWebif that requested the password on stream without transcoding - 8001 and with transcoding - 8002.

See my posting from just 45min ago ...
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 #345 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 08:52

See my posting from just 45min ago ...

 

inetd.conf

 

8002 stream tcp nowait root /usr/bin/transtreamproxy transtreamproxy
8001 stream tcp6 nowait root /usr/bin/streamproxy streamproxy
 

Yes, good. 8001 work with auth

and how make work transcoding?

Thanks



Re: Transcoding problem #346 WanWizard

  • PLi® Core member
  • 69,134 posts

+1,764
Excellent

Posted 28 April 2014 - 08:59

Deep sigh.

 

This is what Erik meant:

root@stb:~# netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:8001            0.0.0.0:*               LISTEN      9256/enigma2

i.e. Enigma is listening on 8001. You can add whatever you want in inetd, it won't do you any good (IPv4, on IPv6 the port seems to be free)...


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: Transcoding problem #347 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 09:05

How make this?

 

http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding

http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding



Re: Transcoding problem #348 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 09:11

i.e. Enigma is listening on 8001. You can add whatever you want in inetd, it won't do you any good (IPv4, on IPv6 the port seems to be free)...

Do yourself a favor and TRY before you continue to ride for a fall.

8001 stream tcp nowait root /usr/bin/streamproxy streamproxy
would have worked as well btw., but there is no reason to create an IPv4 listener if you can have a dual stack one ...

That's why inetd.conf should look like this by default:
8001 stream tcp6 nowait root /usr/bin/streamproxy streamproxy
ftp stream tcp6 nowait root /usr/sbin/vsftpd vsftpd
telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd
microsoft-ds stream tcp6 nowait root /usr/sbin/smbd smbd
netbios-dgm dgram udp wait root /usr/sbin/nmbd nmbd
and not like this crap:
ftp stream tcp nowait root /usr/sbin/vsftpd vsftpd
telnet stream tcp nowait root /usr/sbin/telnetd telnetd

Edited by SpaceRat, 28 April 2014 - 09:12.

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 #349 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 09:18


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


Bad.
The new transcoding mechanism runs as daemon (= no listener in inetd.conf).
Remove this line.


8001 stream tcp6 nowait root /usr/bin/streamproxy streamproxy
Yes, good. 8001 work with auth


Obviously, because I did it.

and how make work transcoding?

By getting the installation of the necessary ipks fixed.
Your 8002 line in inetd.conf is a remainder of the old original Vu+ transstreamproxy.

See this posting by Erik Slagter for instructions on how to get the transcoder setup fixed.

Edited by SpaceRat, 28 April 2014 - 09:19.

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 #350 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 09:54

Need both

 

http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding

http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding

 

:wacko:



Re: Transcoding problem #351 Marc83

  • Member
  • 12 posts

0
Neutral

Posted 28 April 2014 - 10:23

I've fixed the problem with streaming not working (in the literal sense) at all if the http port was set != 80.
Once again, I probably was too late for the fix to make it into the next release (2014-04-28) but it should be in if you update on 2014-04-29 or later.

 

Thank you, I will update tomorrow and will let you know if this fixed my issue! :)



Re: Transcoding problem #352 SpaceRat

  • Senior Member
  • 1,030 posts

+65
Good

Posted 28 April 2014 - 10:27

Need both
 
http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding
http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding
 
:wacko:

Already explained ....
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 #353 WanWizard

  • PLi® Core member
  • 69,134 posts

+1,764
Excellent

Posted 28 April 2014 - 11:37

You don't seem to get it.

 

The entire streamproxy shit is a dirty hack from VU+, and for VU+ only, to get the streaming/transcoding to work in their own image. They constantly come with rubbish like this, their programmers seem to lack the talent for a decent solution.

 

We simply used it pending a better solution and more generic solution, which is correctly worked on by Erik. NO other image uses the streamproxy binary, in all other platforms port 8001 is serviced by the Enigma binary.

 

So the correct question to ask is "why and where is this functionality disabled for the VU+ image", since it needs to be re-instated.


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: Transcoding problem #354 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 12:01

Need both
 
http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding
http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding
 
:wacko:

Already explained ....

 

You try this himself?

If put your bin file - work just 8001 port

if update from receiver - work just 8002 port

 

need run both ports!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Re: Transcoding problem #355 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 12:05

root@vuduo2:~# cat /etc/enigma2/streamproxy.conf
listen = 8002:transcode
listen = 8003:transcode
size = 480p
bitrate = 500
profile = baseline
level = 3.1
bframes = 0

root@vuduo2:~# cat /etc/inetd.conf
# /etc/inetd.conf:  see inetd(8) for further informations.
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
8001 stream tcp6 nowait root /usr/bin/streamproxy streamproxy
root@vuduo2:~#


/usr/bin/streamproxy - this file

md5: 4fbf924e6c27f8644b2eda83e2bfc2fc *streamproxy
size: 10.264 Bytes

 

Need both
 
http://login:pass@91.195.185.81:8001/1:0:19:2F45:C:70:1680000:0:0:0: - without transcoding --------------------------
http://login:pass@91.195.185.81:8002/1:0:19:2F45:C:70:1680000:0:0:0: - with transcoding --------------------------



Re: Transcoding problem #356 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 12:18

NEED BOTH PORTS

with transcoding

and without transcoding

both with auth!!!!

work just 8001

8002 not work



Re: Transcoding problem #357 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 28 April 2014 - 12:23

I was a bit unsure whether authentication checking actually works in the current version, but it appears you need to restart both enigma (to update the enigma settings file) and the streamproxy (to make it re-read the enigma settings file) to get authentication work after you enable it (once). Quickest way is to reboot the receiver. And then it works. False alarm, good :D

 

That has nothing to do with any of the above, it's simply something that was on my mind.


* 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 #358 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 12:38

You PLi® Core member ???

 

I reboot receiver, power off and try many times this

 

How run both ports???

with transcoding

and without transcoding

both with auth!!!!

work just 8001

8002 not work



Re: Transcoding problem #359 nietgiftig

  • Senior Member
  • 787 posts

+39
Good

Posted 28 April 2014 - 13:27

@колбаскин

 

Why don't you just go away, and use an better image

 

You already seem to know what is a bad image, so don't use it

 

I'm bored of your demands


 Hardware: Master VU Uno 4K SE  1x Mut@nt HD51.4K & 2x ZgemmaH9T
Software : Pli (v7) (7.1rc) 2019 


Re: Transcoding problem #360 колбаскин

  • Senior Member
  • 105 posts

+1
Neutral

Posted 28 April 2014 - 13:35

And why you won't tell as to make, and you suggest me to choose other image?
You the administrator of a forum or to you is so simpler?

 

I need the decision for transсoding work
While to me it didn't write.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users