- January 13, 2014
- 16
- 0
- Home Country
- United States of America
I'm in Houston..
What I think rtmpgw does is it outputs a stream called beinsport_spa_4 in your example
If you add -v --live --sport 8902 as in the examples I linked you should be able to access the stream in MediaPortal through adding the following to a .m3u file and scanning that:
EXTM3U
#EXTINF:0,Bein Sport
RTMP://localhost:8902
You don't put the rtmpgw link in the actual .m3u but you run it (with the additions I mentioned) before you scan or watch that channel in MP.
The .m3u contains the output of the rtmpgw command which is a locally hosted stream you create..
Ok, so if the m3u file that MediaPortal scans looks like:
EXTM3U
#EXTINF:0,Bein Sport
RTMP://localhost:8902
where or in what file do I put:
rtmpgw -r "rtmp://beinsportgeolivefs.fplive.net:1935/beinsportgeolive-live" -W "http://sportsinfonet.info/player/Player.swf" -p "http://sportsinfonet.info/beinsports.php?n=beinsport_spa_4&vw=650&vh=450" -y "beinsport_spa_4" -v --live --sport 8902
and how do I run it BEFORE I scan it in Media Portal. Thank you.....
Note: For now this server is Windows-only (due to the way ffmpeg and rtmpdump are invoked). The server itself is written in Java, so you will need to have a Java 7 JRE installed.
It would be great if there were some updates for this plugin to be able to support more URLs out of the box.
Regarding the question about iLive changes livestreamer supports this and it works when I tested this morning so I am able to play the streams in VLC or save to a file but it does not have the transcoding part for using it to create IP channels:
http://livestreamer.tanuki.se/en/latest/index.html
http://livestreamer.tanuki.se/en/latest/plugin_matrix.html
This doesnt work for me..It doesn't seem to be working... it gets my rtsp url from my proxy ok, but I think there may be a problem in the ffmpeg command line that VODServer is using because my rtsp url contains an "&" so the command line should beand VODServer seems to be usingCode:ffmpeg -i "rtsp://..."
.Code:ffmpeg -i rtsp://...
[rtsp @ 025dbb60] method PLAY failed: 500 Internal Server Error
rtsp://192.168.1.65:554/?freq=330: Invalid data found when processing input
[2015-05-11-16:38:19.330][WARN ][qtp741669172-30 - /play?input=rtsp://192.168.1.
65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,2
0,2600,2601,2611,2701][CommandRunnerService] /play Stream copying finished prema
turely; either input stream has finished or there was an error running the comma
nd
[2015-05-11-16:38:19.331][ERROR][qtp741669172-30 - /play?input=rtsp://192.168.1.
65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,2
0,2600,2601,2611,2701][CommandRunnerService] /play No output was generated; send
ing HTTP Service Unavailable error
[2015-05-11-16:38:19.332][INFO ][qtp741669172-30 - /play?input=rtsp://192.168.1.
65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,2
0,2600,2601,2611,2701][VODServiceHandler] /play [SERVICE REQUEST END]
I added support for livestreamer to VODServer by creating a config file for it.
What you need to do:
1. Install livestreamer
2. Download the zip file from this post and extract the 2 files into your VODServer folder
3. Adjust the livestreamer.bat so it points to you livestreamer.exe
4. Stream by using the url http://localhost:9999/livestreamer?stream=<stream>&quality=<quality> with <stream> and <quality> being the settings for livestreamer
I hope it helps someone, for me it works perfectly.
P.S.: The additional .bat-file is needed because of problems with spaces in the path of your livestreamer.exe