can you pipe a stream directly to enigma2's media player via telnet command
and that stream will then auto play
i can wget a http or rtmp stream via telnet command and that stream will directly play with enigma2's media player
yes rtmp streams work with wget (believe it or not)
but want to know the pipe command
i tried a 1000 ways
pipe dont seem to work
![Photo](https://secure.gravatar.com/avatar/431587bee56283580aed67049b2cd7c1?s=100&d=https%3A%2F%2Fforums.openpli.org%2Fpublic%2Fstyle_images%2Fmaster%2Fprofile%2Fdefault_large.png)
enigma2 pipe stream
#1
Posted 3 September 2015 - 23:12
Re: enigma2 pipe stream #2
Re: enigma2 pipe stream #3
Posted 4 September 2015 - 12:18
yes i can already do that
with or without (mkfifo)
and then select a movie to playback via media player plugin
i can also just with telnet use a wget command and open the movie with mediaplayer
no need to select the movie with media player plugin
just wanted to know if there was a way with the pipe command
Edited by ozzsurf, 4 September 2015 - 12:19.
Re: enigma2 pipe stream #4
Re: enigma2 pipe stream #5
Posted 4 September 2015 - 16:56
when you want to open a stream via telnet
on windows or ubuntu or any other linux os
you can use the pipe command to open that stream to vlc or mpv
pipe is like this
windows
rtmpdump| -r "rtmp://stream.smcloud.net/live2/eska_party/eska_party_720p" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -
linux
rtmpdump -r "rtmp://stream.smcloud.net/live2/eska_party/eska_party_720p" | vlc
with enigma2 the pipe command does not work to mediaplayer
well i cant get it to work with the pipe command
because the stream has to use 4097:0:1:0:0:0:0:0:0:0:
anyway after playing with all sorts of ways to write the url i have come up with this
telnet
paste the line like this
then hit enter
now that stream will auto play with enigma2's mediaplayer
http or rtmp
wget http://root:password@192.168.1.4:80/web/mediaplayerplay?file=4097:0:1:0:0:0:0:0:0:0:rtmp%253a%2F%2Fstream.smcloud.net%2Flive2%2Feska_party%2Feska_party_720p
this sends a marker to /home/root
then that sends the url to media player
all done in the blink of an eye
use your own ip and port and pass
in the url
/ = %2F
: = %253a
the : has double encoding
Edited by ozzsurf, 4 September 2015 - 16:58.
Re: enigma2 pipe stream #6
Posted 5 September 2015 - 16:31
You might want to consider gstreamer instead of enigma.
* 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: enigma2 pipe stream #7
Posted 5 September 2015 - 18:04
with enigma2 the pipe command does not work to mediaplayer
That makes perfect sense, you cant 'pipe' anything to a process that's already running. The shell pipe command just starts the process with its stdin attached to the stdout of the previous one. It works with vlc because you can start a new vlc process on top of your windowing system.
What you can do, is open a new connection to the running process and send the data through that.
If playing that stream is what you wanted to accomplish, I take it that you have now accomplished that and your problem is solved?
Re: enigma2 pipe stream #8
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users