VODServer - Watch internet streams as TV channels (2 Viewers)

Nervesagent

Portal Pro
February 26, 2014
150
19
44
Home Country
Denmark Denmark
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.....

Hi... I'm guessing by running it from a command prompt (Start - run - CMD.EXE)
VODServer kinda does this for you from what I remember. Too bad there's no good way to run batch files etc.. in MP1.7 anymore.
 
Last edited:

Berns

Portal Pro
July 27, 2009
155
11
Home Country
Belgium Belgium
Hi all,
I've installed VODserver and with VLC player I'm able to stream http://localhost:9999/play?input=ht...ye.sdp/playlist.m3u8?wowzasessionid=315459662
When the stream starts there is interface at command prompt started version of VODServer.

Anser:
I combined information from 2 earlier posts:
-Using the test-service to make a service for just one channel (that is a quick fix and should be further investigated to be droped), reading the post from JohnnyG from page 2 of this forum entry.
-Most importantly, as I'm using MP V1.3, had to update according to the post of eisblock from page 3 of this forum entry.

Thanks. Now, for the first time after trying a few times in the past, I managed to get an IPTV http based stream working in my client TV interface.
 
Last edited:

erichzann

MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom

    badboyxx

    Portal Pro
    June 15, 2012
    728
    97
    Home Country
    Germany Germany
    How can I get this plugin to work? I don't know what to do with it. Can anybody give me detail help please.
    Can I watch every stream with this plugin?
     

    jeng

    Portal Member
    September 30, 2010
    10
    2
    53
    Home Country
    Luxembourg Luxembourg
    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.

    Just for information.
    I got it running under Linux (centos)
     

    Waldschrat

    MP Donator
  • Premium Supporter
  • July 18, 2007
    2
    0
    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

    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
     

    Attachments

    • livestreamer-for-vodserver.zip
      917 bytes

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    44
    Home Country
    Denmark Denmark
    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 be
    Code:
    ffmpeg -i "rtsp://..."
    and VODServer seems to be using
    Code:
    ffmpeg -i rtsp://...
    .
    This doesnt work for me..

    Somehow !!input!! gets cut at the & in my url.. I've tried escape characters but to no avail..
    My VODSERVER is running on port 9997

    This works in VLC:
    rtsp://192.168.1.65:554/?freq=330&bw=8&msys=dvbc&mtype=256qam&sr=6900&specinv=0&pids=0,16,17,18,20,2600,2601,2611,2701

    But in vodserver I get this when I run http://localhost:9997/play?input=rt...cinv=0&pids=0,16,17,18,20,2600,2601,2611,2701

    Code:
    [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]

    Can I add like \ somewhere or replace & with some other character to make it work? It looks like a bug in VOD server but apparently the guy I quoted did get it to work?
     

    erichzann

    MP Donator
  • Premium Supporter
  • October 25, 2011
    244
    34
    Oxford
    Home Country
    United Kingdom United Kingdom
    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

    Thanks for this, although I am still having some issues.

    I can get livestreamer to work fine and VOD Server is playing a test file fine but I can't bring them together. Can you give me an example of a stream that you can get to work? Perhaps one from film.on which is what I have been trying.
     

    Users who are viewing this thread

    Top Bottom