Jump to content


Photo

solo2 after update still updates available


  • Please log in to reply
62 replies to this topic

Re: solo2 after update still updates available #21 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 March 2014 - 08:47

Transcoding plugin has disappeared from plugin menu and transcoding doesn't work any longer.

Reread what I just wrote.

 

Did you already do "netstat -lptn".


* 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: solo2 after update still updates available #22 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 8 March 2014 - 08:54

It's a common misconception that you need a plugin for transcoding. What needs is
- setting up some /proc entries (including enabling the encoders)
- a proxy that listens to port 8002 and 8003 for requests
 
If you do netstat -lptn you'll see the proxies listening.


Not familiar with that particular command so unsure what to look for. There are listeners for port 8001-8003 however
What's supposed to be in /proc?

Re: solo2 after update still updates available #23 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 March 2014 - 09:16

/proc (to be exactly /proc/stb) constitutes of the interface between user program's and the drivers. If the encoder is enabled using this interface, it will work. There is no use for a plugin to enable the transcoding when it's already done by startup scripts (see /etc/init.d/transcoding-setup.sh).


* 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: solo2 after update still updates available #24 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 8 March 2014 - 10:10

So how should I troubleshoot my missing transcoding capability??

Re: solo2 after update still updates available #25 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 March 2014 - 10:12

You're probably missing a package.

Try this:

opkg install vuplus-transcoding

and post the output if there is any.

* 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: solo2 after update still updates available #26 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 8 March 2014 - 10:19

/proc (to be exactly /proc/stb) constitutes of the interface between user program's and the drivers. If the encoder is enabled using this interface, it will work. There is no use for a plugin to enable the transcoding when it's already done by startup scripts (see /etc/init.d/transcoding-setup.sh).


Had a look in /etc/init.d/ it seems that the transcoding-setup.sh is missing the "x" flag.

Re: solo2 after update still updates available #27 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 March 2014 - 10:33

No, that is intentional. The scripts are not executed through execve(), they are sourced.

If cat /proc/stb/encoding gives "enabled" the script has run.

Edited by Erik Slagter, 8 March 2014 - 10:34.

* 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: solo2 after update still updates available #28 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 8 March 2014 - 12:14

No, that is intentional. The scripts are not executed through execve(), they are sourced.If cat /proc/stb/encoding gives "enabled" the script has run.

That commands output 'no such file or directory'
I did rerun opkg install vuplus-trancoding

Re: solo2 after update still updates available #29 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 8 March 2014 - 12:54

No, that is intentional. The scripts are not executed through execve(), they are sourced.If cat /proc/stb/encoding gives "enabled" the script has run.

That commands output 'no such file or directory'
I did rerun opkg install vuplus-trancoding

That should have read /proc/stb/encoder/enabled


* 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: solo2 after update still updates available #30 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 8 March 2014 - 16:13


No, that is intentional. The scripts are not executed through execve(), they are sourced.If cat /proc/stb/encoding gives "enabled" the script has run.

That commands output 'no such file or directory'
I did rerun opkg install vuplus-trancoding
That should have read /proc/stb/encoder/enabled
Just to ensure that I've executed everything correctly: the command 'cat /proc/stb/encoding' should produce output /proc/stb/encoder/enabled - which is not what I get.
What files should I remove and reinstall to resolve this?
As I previously stated I tried the mentioned opkg remove command but that did nothing

Re: solo2 after update still updates available #31 WanWizard

  • PLi® Core member
  • 70,542 posts

+1,812
Excellent

Posted 8 March 2014 - 18:33

No,

 

"cat /proc/stb/encoder/enabled" should produce "enabled" and not "disabled".


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: solo2 after update still updates available #32 wabe

  • Senior Member
  • 45 posts

0
Neutral

Posted 9 March 2014 - 07:54

No,
 
"cat /proc/stb/encoder/enabled" should produce "enabled" and not "disabled".


It does produce neither. Suspected that /proc/stb/encoding was a typo since there exist a dir /proc/stb/encoder. Running the cat command on this path produce
Cat: read error: is a directory

Re: solo2 after update still updates available #33 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 9 March 2014 - 08:59

I'm a bit puzzled, shouldn't be the value in  "/proc/stb/encoder/enable" (mind de lack of the letter d in enable) be the word enable and not enabled?

As I read in /cat/proc/stb/encoder/enable_choices there are 2 choices: enable and disable and not enabled and disabled?

 

Am I missing something, shouldn't the value be enable and not enabled?



Re: solo2 after update still updates available #34 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 March 2014 - 09:28

root@duo:~# cat /proc/stb/encoder/enable
enable

 

Copy&pasted so no typos!

 

This is how the output is supposed to look.


* 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: solo2 after update still updates available #35 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 9 March 2014 - 10:13

Indeed, but the value stored in my Solo2 was enabled instead of enable, I echoed the value by hand into enable no the transcoding works

 

So the script wasn't run I think



Re: solo2 after update still updates available #36 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 March 2014 - 10:19

If the script hasn't run, the value reads as "disable".

 

I tried it out, after a reboot the value is "enable" as it should, so the setup-script is actually okay.


Edited by Erik Slagter, 9 March 2014 - 10:25.

* 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: solo2 after update still updates available #37 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 March 2014 - 10:25

Tried out the transcoding, after a fresh reboot, using mplayer:

 

mplayer http://duo:8002/1:0:...3:EB0000:0:0:0:

 

and it just works. This is Ned 1 HD transcoded to 480p.

 

mplayer has as config options:

 

cache=32768
cache-min=5


* 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: solo2 after update still updates available #38 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 March 2014 - 10:26

If someone can give me a full example of vlc command + config that doesn't work, I'll try it.


* 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: solo2 after update still updates available #39 WanWizard

  • PLi® Core member
  • 70,542 posts

+1,812
Excellent

Posted 9 March 2014 - 10:30

Same response here with mplayer as with VLC (netstat confirms there is a service listening on 8002):

 

$ mplayer http://172.16.1.43:8002/1:0:19:1B1D:802:2:11A0000:0:0:0:
MPlayer SVN-r36824-4.8.2 (C) 2000-2014 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://172.16.1.43:8002/1:0:19:1B1D:802:2:11A0000:0:0:0:.
Resolving 172.16.1.43 for AF_INET6...

Couldn't resolve name for AF_INET6: 172.16.1.43
Connecting to server 172.16.1.43[172.16.1.43]: 8002...

http_read_response read 0 (i.e. EOF).
STREAM_ASF, URL: http://172.16.1.43:8002/1:0:19:1B1D:802:2:11A0000:0:0:0:
Resolving 172.16.1.43 for AF_INET6...

Couldn't resolve name for AF_INET6: 172.16.1.43
Connecting to server 172.16.1.43[172.16.1.43]: 8002...
read: Operation now in progress

Failed, exiting.
Resolving 172.16.1.43 for AF_INET6...

Couldn't resolve name for AF_INET6: 172.16.1.43
Connecting to server 172.16.1.43[172.16.1.43]: 8002...

http_read_response read 0 (i.e. EOF).
No stream found to handle url http://172.16.1.43:8002/1:0:19:1B1D:802:2:11A0000:0:0:0:

Exiting... (End of file)

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: solo2 after update still updates available #40 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 9 March 2014 - 10:39

Weird.

 

Can you please send the output of:

 

cd /proc/stb/encoder

cat enable

cd 0

cat profile
cat level
cat display_format
cat bitrate
cat gop_frameb

 

And also dmesg, the driver goes haywire very easily and barfs the logs in that case.

 

Can you also try it with wget and then add the -S option?

 

And as a last resort we might have to use tcpdump/tshark and/or strace ;)


* 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.



8 user(s) are reading this topic

0 members, 8 guests, 0 anonymous users