Web content will not stream

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Web content will not stream

Postby iTimOSX » Wed Feb 09, 2011 12:38 pm

Thanks For All Your Time And Patience I will wait for r493 ;)
It's kinda crazy that PS3MS can save my settings but don't know the config file :P

Thank You,
iTimOSX
 
Posts: 22
Joined: Wed Dec 29, 2010 1:54 pm

Re: Web content will not stream

Postby grolschie » Thu Feb 10, 2011 6:22 am

Anyone know why the "Web" folder could be missing in the most recent svn version? It's used to be at the bottom of the list for me in previous versions (e.g. version 412). Therefore, I cannot find my web streams.
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Web content will not stream

Postby mazey » Thu Feb 10, 2011 6:41 am

grolschie wrote:Anyone know why the "Web" folder could be missing in the most recent svn version? It's used to be at the bottom of the list for me in previous versions (e.g. version 412). Therefore, I cannot find my web streams.


viewtopic.php?f=6&t=9811#p44884
PMS 1.90.2 Snapshot - Intel Celeron G1840 2.8Ghz / Asus Z97m-plus / Corsair Vengeance 8GB / Windows 8.1 Pro (64 bit)
mazey
 
Posts: 775
Joined: Sat Oct 24, 2009 9:07 am

Re: Web content will not stream

Postby grolschie » Thu Feb 10, 2011 6:54 am

Thanks! :-)
grolschie
 
Posts: 263
Joined: Thu Jun 10, 2010 7:05 am

Re: Web content will not stream

Postby brotherjohn » Thu Feb 10, 2011 9:58 am

Thanks chocolateboy for the new pmsencoder version 1.4.0. I tested it with SubJunk build SB11 (@chocolateboy: Which version of PMS do you prefer for the new pmsencoder?) and I get the following issues:
1. Gametrailers:
"Dragon Age II-Gameplay Producer Interview" jumps . The movements aren't smooth. It's not a stuttering and the sound is OK, but the picture jumps like it looses some frames. Very irritating.
2. Eurogamer doesn't work. I get the following in log-tab and debug.log:
Code: Select all
[win32\mencoder.exe] TRACE 09:38:12.371 Process C:\Program Files\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file
debug-log:
Code: Select all
[New I/O server worker #1-1] DEBUG 09:38:07.553 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40EX505"; mv="1.7";
[New I/O server worker #1-1] DEBUG 09:38:07.553 Received on socket: X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40EX505";
[New I/O server worker #1-1] INFO  09:38:07.553 HTTP: upnp/control/content_directory / 0-0
[New I/O server worker #1-1] DEBUG 09:38:07.553 Searching for objectId: 0$7$8$0 with children option: true
[New I/O server worker #1-1] DEBUG 09:38:07.553 End of analysis
[New I/O server worker #1-1] DEBUG 09:38:07.556 Sent to socket: Content-Length: 15666
[New I/O server worker #1-1] DEBUG 09:38:07.556 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-1] DEBUG 09:38:07.556 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.414-SB11
[win32\mencoder.exe] INFO  09:38:11.181 Starting C:\Program Files\PS3 Media Server\win32\mencoder.exe -o \\.\pipe\pmsencoder_transcoder_out_1297327087276_36 -msglevel all=2 -quiet -prefer-ipv4 -oac lavc -of lavf -lavfopts format=dvd -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=4096:threads=2:acodec=ac3:abitrate=128 -ofps 25 -cache 16384 -vf harddup -referrer http://www.eurogamer.net/videos/new-playstation-move-heroes-trailer http://www.eurogamer.net/downloads/84263/new-playstation-move-heroes-trailer_stream_h264v2_large.mp4
[win32\mencoder.exe] INFO  09:38:11.188 Reading pipe: \\.\pipe\pmsencoder_transcoder_out_1297327087276_36
[Thread-50] DEBUG 09:38:11.348 -referrer is not an MEncoder option
[win32\mencoder.exe] INFO  09:38:11.366 Attaching thread: win32\mencoder.exe
[Timer-4] DEBUG 09:38:11.366 Buffered Space: 0 bytes / inputs: 0
[Thread-53] DEBUG 09:38:11.366 MEncoder Sherpya-SVN-r30369-4.2.5 (C) 2000-2009 MPlayer Team
[win32\mencoder.exe] DEBUG 09:38:12.371 EOF
[win32\mencoder.exe] TRACE 09:38:12.371 Process C:\Program Files\PS3 Media Server\win32\mencoder.exe has a return code of 1! Maybe an error occured... check the log file

3. I found 2 new RSS-feeds which doesn't work. They are the following:
Code: Select all
videofeed.Web,Chip=http://rss.chip.de/c/573/f/7444/index.rss
videofeed.Web,4players=http://feeds.4players.de/Allgemein/videos/-/rss.xml
I guess there is another groovy-script necessary ;) . Could someone (perhaps chocolateboy :) ) please write the appropriate scripts?
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby chocolateboy » Thu Feb 10, 2011 12:31 pm

brotherjohn wrote:2. Eurogamer doesn't work.

Code: Select all
[Thread-50] DEBUG 09:38:11.348 -referrer is not an MEncoder option



eurogamer.groovy wrote:-referrer requires a recent-ish MEncoder (from June 2010)
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby brotherjohn » Thu Feb 10, 2011 6:27 pm

chocolateboy wrote:
brotherjohn wrote:2. Eurogamer doesn't work.

Code: Select all
[Thread-50] DEBUG 09:38:11.348 -referrer is not an MEncoder option



eurogamer.groovy wrote:-referrer requires a recent-ish MEncoder (from June 2010)
Thanks, works great with mencoder version 32735. In the future, i will read the comments in the script files ;)
brotherjohn
 
Posts: 146
Joined: Wed Sep 15, 2010 9:13 am

Re: Web content will not stream

Postby infidel » Thu Feb 10, 2011 9:17 pm

Googling for Aljazeera English stream info because of Egypt this past week I came across a set of rtmpdump commandlines for live news feeds posted in several places on the web. Here's a generic script (place inside your pmsencoder folder and edit its rtmpdump path as appropriate) to launch rtmpdump commands from WEB.conf :

rtmpdump.groovy
Code: Select all
script {
   def rtmpdump = '/usr/local/bin/rtmpdump'  // or e.g. in Windows 'c:\\rtmpdump-2.3\\rtmpdump.exe'

   profile ('rtmpdump') {
      pattern {
         domain 'rtmpdump'
      }

      action {
         def args = $URI.split('rtmpdump/\\?')[1]
         if ($PMS.get().isWindows()) {
            // escape special cmd chars
            args = args.replace('&', '^^^&').replace('|', '^^^|').replace('<', '^^^<').replace('>', '^^^>')
         }
         $DOWNLOADER = (["$rtmpdump", "-o", "$DOWNLOADER_OUT"])
         $DOWNLOADER.addAll(args.split(' '))
      }
   }
}

rtmpdump.zip
(537 Bytes) Downloaded 100 times

Its WEB.conf url format is:
Code: Select all
http://rtmpdump/? <rtmpdump arguments (omitting the '-o' or '--flv' option)>

for example:
Code: Select all
videostream.Web,Live News=Aljazeera English,http://rtmpdump/? -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y aljazeera_en_veryhigh?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId= -W http://admin.brightcove.com/viewer/us1.24.04.08.2011-01-14072625/federatedVideoUI/BrightcovePlayer.swf -p http://english.aljazeera.net/watch_now/ -a aljazeeraflashlive-live?videoId=747084146001&lineUpId=&pubId=665003303001&playerId=751182905001&affiliateId=
videostream.Web,Live News=CSPAN 1,http://rtmpdump/? -v -r rtmp://cp82346.live.edgefcs.net:1935/live -y CSPAN1@14845 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN/
videostream.Web,Live News=CSPAN 2,http://rtmpdump/? -v -r rtmp://cp82347.live.edgefcs.net:1935/live -y CSPAN2@14846 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN2/
videostream.Web,Live News=CSPAN 3,http://rtmpdump/? -v -r rtmp://cp82348.live.edgefcs.net:1935/live -y CSPAN3@14847 -W http://www.c-span.org/cspanVideoHD.swf -p http://www.c-span.org/Live-Video/C-SPAN3/
videostream.Web,Live News=BBC News Arabic,http://rtmpdump/? -v -r rtmp://72.246.43.132:1935/live?_fcs_vhost=wsliveflash.bbc.co.uk&undefined -y atv_live@3584 -a live?_fcs_vhost=wsliveflash.bbc.co.uk&undefined -W http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 -p http://www.bbc.co.uk/arabic/tvandradio/2011/01/000000_livetv.shtml
videostream.Web,Live News=BBC News Persian,http://rtmpdump/? -v -r rtmp://96.6.47.38:1935/live?_fcs_vhost=wsliveflash.bbc.co.uk&undefined -y ptv_live@3585 -a live?_fcs_vhost=wsliveflash.bbc.co.uk&undefined -W http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576 -p http://www.bbc.co.uk/persian/tv/2009/01/000000_ptv_live_s.shtml
videostream.Web,Live News=CNN livestream1,http://rtmpdump/? -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream1_low@2785 -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=1
videostream.Web,Live News=CNN livestream2,http://rtmpdump/? -v -r rtmp://cp44679.live.edgefcs.net/live -y cnn_stream2_low@2787 -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=2
videostream.Web,Live News=CNN livestream3,http://rtmpdump/? -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=3 -y cnn_stream3_low@2796
videostream.Web,Live News=CNN livestream4,http://rtmpdump/? -v -r rtmp://cp44679.live.edgefcs.net/live -a live -W http://i.cdn.turner.com/cnn/.element/apps/CNNLive/2.1.5.7/assets/swfs/LivePlayer.swf -p http://www.cnn.com/video/flashLive/live.html?stream=4 -y cnn_stream4_low@2797
videostream.Web,Live News=France 24 English,http://rtmpdump/? -v -r rtmp://stream2.france24.yacast.net/france24_live/en -a france24_live/en -W http://www.france24.com/en/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/en/aef_player_popup/france24_player -y f24_liveen
videostream.Web,Live News=France 24 French,http://rtmpdump/? -v -r rtmp://stream2.france24.yacast.net/france24_live/fr -a france24_live/fr -W http://www.france24.com/fr/sites/all/modules/maison/aef_player/flash/player.swf -p http://www.france24.com/fr/aef_player_popup/france24_player -y f24_livefr
videostream.Web,Live News=ABC News 24 (Australia),http://rtmpdump/? -v -r rtmp://cp103653.live.edgefcs.net/live/international_medium@36382
videostream.Web,Live News=Russia Today English,http://rtmpdump/? -v -r rtmp://fms5.visionip.tv/live -a live -W http://rt.com/s/swf/player5.4.viral.swf -p http://rt.com/on-air/ -y RT_3
videostream.Web,Live News=Russia Today Spanish,http://rtmpdump/? -v -r rtmp://rt.fms.visionip.tv/live/ -a live -W http://actualidad.rt.com/swf/player.swf -p http://actualidad.rt.com/mas/envivo/ -y RT_Spanish_3
videostream.Web,Live News=Russia Today Arabic,http://rtmpdump/? -v -r rtmp://russiatoday.fms.visionip.tv/rt/Russia_al_yaum_1000k_1 -a rt/Russia_al_yaum_1000k_1 -W http://arabic.rt.com/style/liveplayer.swf -p http://arabic.rt.com/live_high -y 1000k_1
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

Re: Web content will not stream

Postby chocolateboy » Thu Feb 10, 2011 9:42 pm

Nice! I'll add an rtmpdump:// (pseudo-)protocol to make this a bit less hackish.

Minor cosmetic nit:

Code: Select all
$DOWNLOADER = (["$rtmpdump", "-o", "$DOWNLOADER_OUT"])


That should work as either:

Code: Select all
$DOWNLOADER = [ rtmpdump, '-o', $DOWNLOADER_OUT ]


or:

Code: Select all
$DOWNLOADER = "$rtmpdump -o $DOWNLOADER_OUT"
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Re: Web content will not stream

Postby infidel » Thu Feb 10, 2011 10:00 pm

chocolateboy wrote:Nice! I'll add an rtmpdump:// (pseudo-)protocol to make this a bit less hackish.
Thanks, much nicer via protocol!
chocolateboy wrote:
Code: Select all
$DOWNLOADER = "$rtmpdump -o $DOWNLOADER_OUT"
This was my initial tack, but submitting $DOWNLOADER as a single string wouldn't work regardless of whatever '\"' escaping I tried. I could only get it to work as a list (hence the "$DOWNLOADER_OUT" nonsense, which was produced by mindless regexing).
infidel
 
Posts: 278
Joined: Sun Aug 15, 2010 4:56 pm

PreviousNext

Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 11 guests