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

ed76

MP Donator
  • Premium Supporter
  • August 4, 2012
    170
    14
    44
    Home Country
    Germany Germany
    @rsenden: you write "...Therefore I have developed a simple yet flexible and powerful Video On Demand Server, which can open many types of video streams and transcode them to a format supported by the TV-Server."

    i have a questen concerning "transcode". does this mean the output quality of the video stream (after transcode) is worse than the quality of the "input stream" (bevor transcode). or is there no difference in video quality?
     

    makkie_65

    Portal Member
    January 13, 2014
    16
    0
    Home Country
    United States of America United States of America
    Hello,
    I have installed the latest version of MP (v1.6.0) and I can't even find the folder where to copy the M3U file (MP TV Server data directory\TuningParameters\dvbip), there is only the MP and MP Server folders and the MP Server folder only has a sub-folder called plugins and nothing else. Can anybody point me in the right direction, please?
    Also, I know the VODServer works because the test video plays fine on VLC, but none of the streams that I normally use and that work just fine if I open them in a browser seem to work when I try to play them through the VODServer and VLC. Can anybody shed some light on how to make this work? This plugin is supposed to do EXACTLY what I need, but I can't get it to work with the streams that I watch. Thank you!
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I have installed the latest version of MP (v1.6.0) and I can't even find the folder where to copy the M3U file (MP TV Server data directory\TuningParameters\dvbip), there is only the MP and MP Server folders and the MP Server folder only has a sub-folder called plugins and nothing else. Can anybody point me in the right direction, please?
    This is a hidden folder, and the location depends on your version of Windows.
    Open TV Server configuration.
    Click "open log directory" in the top left corner.
    Go up one level.
    Now you are in the data directory.
     

    makkie_65

    Portal Member
    January 13, 2014
    16
    0
    Home Country
    United States of America United States of America
    This is a hidden folder, and the location depends on your version of Windows.
    Open TV Server configuration.
    Click "open log directory" in the top left corner.
    Go up one level.
    Now you are in the data directory.

    Thank you! That was easy enough

    Also, I know the VODServer works because the test video plays fine on VLC, but none of the streams that I normally use and that work just fine if I open them in a browser seem to work when I try to play them through the VODServer and VLC. Can anybody shed some light on how to make this work? This plugin is supposed to do EXACTLY what I need, but I can't get it to work with the streams that I watch. Thank you!
     
    L

    Ladywasky

    Guest
    Hello...
    I installed VODServer 1.3

    In vodserver-service-channel.xml, I defined 2 rtmp entries :
    Code:
    <entry key="TF1" value="/playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/;rtmpApp=live;rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128;rtmpPageUrl=http://www.tf1.fr/live;rtmpFile=eTF1_Flash_live_hd@51544" />
    <entry key="Euronews" value="/playRtmp?rtmpStreamer=rtmp://fr-par-3.stream-relay.hexaglobe.net:80/rtpeuronewslive/;rtmpApp=rtpeuronewslive;rtmpFlashPlayer=http://fr.euronews.com/media/player_live_1_14.swf;rtmpPageUrl=http://fr.euronews.net/infos/en-direct/;rtmpFile=fr_video750_rtp.sdp" />

    I was obliged to replace the "&" delimiters by semi-columns ";" because the xml parser was complaining, here is an extract of the log file :
    Code:
    Error starting server
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 15 in XML document from file [C:\VODServer\vodserver-service-channels.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 104; La référence à l'entité "rtmpApp" doit se terminer par le délimiteur ';'.

    The scan for those channels then worked like a charm in TV-server configuration tool of Mediaportal.
    But after that, impossible to test those channels, rtmpdump does not receive anymore the good command line argument since VodServer, for this part want the delimiters to be some "&" :
    Code:
    http://localhost:9999/playRtmp?rtmpStreamer=...&rtmpApp=...&rtmpFlashVer=...&rtmpFlashPlayer=...&rtmpPageUrl=...&rtmpFile=...



    2) In VLC :
    Impossible to have my rtmp links working with VLC via VODServer. Here is an example of the link I provide to VLC :
    Code:
    http://localhost:9999/playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544
    Log File :
    Code:
    [2014-01-22-13:54:23.562][INFO ][main][ServerConnector]  Started ServerConnector@1ca5c4f{HTTP/1.1}{08srvr.combineads.info:9999}
    [2014-01-22-13:54:26.281][INFO ][qtp5693946-17 - /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][VODServiceHandler] /playRtmp [SERVICE REQUEST START]
    [2014-01-22-13:54:26.328][INFO ][qtp5693946-17 - /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][CommandRunnerService] /playRtmp Executing command: rtmpdump -v -r "rtmp://cp150242.live.edgefcs.net:80/live/" -a "live" -W "http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128" -p "http://www.tf1.fr/live" -y "eTF1_Flash_live_hd@51544" | ffmpeg -i pipe:0 -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2 -b:a 128k -f mpegts
    [2014-01-22-13:55:15.937][WARN ][qtp5693946-17 - /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][CommandRunnerService] /playRtmp Stream copying finished prematurely; either input stream has finished or there was an error running the command
    [2014-01-22-13:55:15.937][ERROR][qtp5693946-17 - /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][CommandRunnerService] /playRtmp No output was generated; sending HTTP Service Unavailable error
    [2014-01-22-13:55:15.937][INFO ][qtp5693946-17 - /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][VODServiceHandler] /playRtmp [SERVICE REQUEST END]
    When I do it directly via rtmpgw, no problemo, I play my web channel :
    Code:
    rtmpgw -r "rtmp://fr-par-3.stream-relay.hexaglobe.net:80/rtpeuronewslive/" -W "http://fr.euronews.com/media/player_live_1_14.swf" -p "http://fr.euronews.net/infos/en-direct/" -y "fr_video750_rtp.sdp" --sport 8902
    Then in VLC :
    Code:
    http://localhost:8902

    Another question, why do not invoke ffmpeg directly instead of doing it via rtmpdump ?
    vodserver invokes ffmpeg like this (it's a dumb example):
    Code:
    rtmpdump --live -r "rtmp://1.2.3.4/live/feed1" -p "http://website.net" -W "http://xyz.net/mediaplayer.swf" -q | ffmpeg -i - -re -isync -acodec libfaac -ab 128000 -ar 32000 -vcodec libx264 -b 600k -f flv "rtmp://5.6.7.8/live/feed1relay"

    It could do it like this :
    Code:
    ffmpeg -i "rtmp://1.2.3.4/live/feed1 pageUrl=http://website.net swfurl=http://xyz.net/mediaplayer.swf live=1" -re -isync -vcodec libx264 -b 600k -acodec libfaac -ab 128000 -ar 32000 -f flv "rtmp://5.6.7.8/live/feed1relay"

    More over, it seems there is an extra character in the command line (look at the "-" at the end) :
    Code:
    /playRtmp?rtmpStreamer=rtmp://cp150242.live.edgefcs.net:80/live/&rtmpApp=live&rtmpFlashPlayer=http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128&rtmpPageUrl=http://www.tf1.fr/live&rtmpFile=eTF1_Flash_live_hd@51544][CommandRunnerService] /playRtmp Executing command: rtmpdump -v -r "rtmp://cp150242.live.edgefcs.net:80/live/" -a "live" -W "http://www.wat.tv/images/v60/PlayerWat.swf?revision=4.1.128" -p "http://www.tf1.fr/live" -y "eTF1_Flash_live_hd@51544" | ffmpeg -i pipe:0 -vcodec mpeg2video -s 720x576 -r 25 -flags cgop+ilme -sc_threshold 1000000000 -b:v 2M -maxrate:v 2M -bufsize:v 1.4M -acodec mp2 -ac 2 -b:a 128k -f mpegts -
    I removed it (may be we should not) in vodserver-services-common.xml.

    Anyway
    Thank you for your hard work
     
    Last edited by a moderator:

    rsenden

    Portal Pro
    August 22, 2006
    88
    108
    Rotterdam, NL
    Home Country
    Netherlands Netherlands
    I haven't paid a lot of attention to this thread lately, but there seem to be quite some questions. Basically, all VODServer does is invoke commands like rtmpdump and ffmpeg to grab video data from the web (or other source) and transcode it to the MPEG-TS format supported by the MP TV-Engine. So to answer some of the questions:
    • To concatenate multiple local files, please have a look at http://trac.ffmpeg.org/wiki/How to concatenate (join, merge) media files to see how to do this with ffmpeg. Once you've found the correct ffmpeg command line, it shouldn't be too difficult to configure this in VODServer.
    • I don't know how Silverlight streams work; it may simply use another technology underneath (like most flash players use RTMP). So if you can figure out a way to dump Silverlight streams using some command line utility then it may be possible to add support.
    • If you are able to watch some TV channels or other streams via a web browser, you may be able to use VODServer to watch those streams in MP. You will need to find out what technology is being used (RTMP, Silverlight, ...) and the required parameters. For some web sites the parameters are easy to find out (for example a direct video URL in the page source), others require more advanced analysis (RTMP parameters) or may not be possible at all. If you are unable to figure out how to get it to work, you may try to post the web page URL here so others can have a look.
    • Video quality can probably be influenced by modifying the ffmpeg parameters. I think you will almost always have quality loss when transcoding, although depending on transcoding parameters you may not be able to see it.
     

    eisblock

    Portal Pro
    March 19, 2010
    98
    13
    hi, VODServer-1.3 work, vlc -> VOD work, but TV Server Conf, Channel Scan (MP 1.4) dont work
     

    Attachments

    • tv-service-scan.jpg
      tv-service-scan.jpg
      206.7 KB

    makkie_65

    Portal Member
    January 13, 2014
    16
    0
    Home Country
    United States of America United States of America
    • If you are able to watch some TV channels or other streams via a web browser, you may be able to use VODServer to watch those streams in MP. You will need to find out what technology is being used (RTMP, Silverlight, ...) and the required parameters. For some web sites the parameters are easy to find out (for example a direct video URL in the page source), others require more advanced analysis (RTMP parameters) or may not be possible at all. If you are unable to figure out how to get it to work, you may try to post the web page URL here so others can have a look.

    • Here are some of the pages that have the live streams I am trying to get to work with VODServer and MP:

    http://www.tv-envivo.com.ar/
    Specially the channels at the top of the page (TYC Sports, Fox Sports, etc.)

    http://www.elgrantv.com/
    Specially the channels in the first 2 sections

    http://www.stream2watch.me/live-tv
    Just about every single channel here

    http://www.stream2video.tv/countries/spain/tyc-sports

    Any help in figuring this out will be MUCH appreciated!!!!!
     

    makkie_65

    Portal Member
    January 13, 2014
    16
    0
    Home Country
    United States of America United States of America
    Respectfully Bumpo_O!!

    Anybody? This is what this add-on is supposed to do, guys....

    • If you are able to watch some TV channels or other streams via a web browser, you may be able to use VODServer to watch those streams in MP. You will need to find out what technology is being used (RTMP, Silverlight, ...) and the required parameters. For some web sites the parameters are easy to find out (for example a direct video URL in the page source), others require more advanced analysis (RTMP parameters) or may not be possible at all. If you are unable to figure out how to get it to work, you may try to post the web page URL here so others can have a look.

    • Here are some of the pages that have the live streams I am trying to get to work with VODServer and MP:
    http://www.tv-envivo.com.ar/
    Specially the channels at the top of the page (TYC Sports, Fox Sports, etc.)

    http://www.elgrantv.com/
    Specially the channels in the first 2 sections

    http://www.stream2watch.me/live-tv
    Just about every single channel here

    http://www.stream2video.tv/countries/spain/tyc-sports

    Any help in figuring this out will be MUCH appreciated!!!!!
     

    Users who are viewing this thread

    Top Bottom