home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
VODServer - Watch internet streams as TV channels
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ladywasky" data-source="post: 1057485"><p>Hello...</p><p>I installed VODServer 1.3</p><p></p><p>In vodserver-service-channel.xml, I defined 2 rtmp entries :</p><p>[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" /></p><p><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" /></p><p>[/CODE]</p><p></p><p>I was obliged to replace the "&" delimiters by semi-columns ";" because the xml parser was complaining, here is an extract of the log file :</p><p>[CODE]</p><p>Error starting server</p><p>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 ';'.</p><p>[/CODE]</p><p></p><p>The scan for those channels then worked like a charm in TV-server configuration tool of Mediaportal.</p><p>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 "&" :</p><p>[CODE]</p><p>http://localhost:9999/playRtmp?rtmpStreamer=...&rtmpApp=...&rtmpFlashVer=...&rtmpFlashPlayer=...&rtmpPageUrl=...&rtmpFile=...</p><p>[/CODE]</p><p></p><p></p><p></p><p>2) In VLC :</p><p>Impossible to have my rtmp links working with VLC via VODServer. Here is an example of the link I provide to VLC :</p><p>[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[/CODE]</p><p>Log File :</p><p>[CODE]</p><p>[2014-01-22-13:54:23.562][INFO ][main][ServerConnector] Started ServerConnector@1ca5c4f{HTTP/1.1}{08srvr.combineads.info:9999}</p><p>[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]</p><p>[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</p><p>[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</p><p>[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</p><p>[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]</p><p>[/CODE]</p><p>When I do it directly via rtmpgw, no problemo, I play my web channel :</p><p>[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[/CODE]</p><p>Then in VLC :</p><p>[CODE]http://localhost:8902[/CODE]</p><p></p><p>Another question, why do not invoke ffmpeg directly instead of doing it via rtmpdump ?</p><p>vodserver invokes ffmpeg like this (it's a dumb example):</p><p>[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"[/CODE]</p><p></p><p>It could do it like this :</p><p>[CODE]</p><p>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"</p><p>[/CODE]</p><p></p><p>More over, it seems there is an extra character in the command line (look at the "-" at the end) :</p><p>[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 -[/CODE]</p><p>I removed it (may be we should not) in vodserver-services-common.xml.</p><p></p><p>Anyway</p><p>Thank you for your hard work</p></blockquote><p></p>
[QUOTE="Ladywasky, post: 1057485"] 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" /> [/CODE] 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 ';'. [/CODE] 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=... [/CODE] 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[/CODE] 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] [/CODE] 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[/CODE] Then in VLC : [CODE]http://localhost:8902[/CODE] 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"[/CODE] 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" [/CODE] 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 -[/CODE] I removed it (may be we should not) in vodserver-services-common.xml. Anyway Thank you for your hard work [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
VODServer - Watch internet streams as TV channels
Contact us
RSS
Top
Bottom