VideoFeeds with SWF enclosures

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.

VideoFeeds with SWF enclosures

Postby djspark » Sun Feb 22, 2009 3:29 am

1- your computer specs (cpu, memory)
Intel Quad Core 2.4 with 4GB Ram & 2x 1TB Disks

2- the network connection you are using for streaming your files (wifi, homeplugs, ethernet 100Mbits, or gigabit)
100Mbits ethernet

3- detailed infos on what's not working
All feeds that use SWF files as enclosures. The thumbnails get generated properly, however the feeds will not play with or without transcoding.

Code: Select all
videofeed.Web,GuiriBlog=http://vimeo.com/user520345/videos/rss
videofeed.Web,RocketBoom=http://www.rocketboom.com/rss/hd.xml
videofeed.Web,VimeoHD=http://vimeo.com/channels/hd/videos/rss
videofeed.Web,WhiteHouse=http://vimeo.com/channels/whitehouse/videos/rss


4- if you're transcoding some videos, which engine are you using ? (mencoder, avisynth/mencoder, tsmuxer)
I've tried with all of the web transcoders without luck, all "data corrupted"

5- a debug.log file excerpt, or you can zip the whole file. this file can be found in the application directory, or if you have UAC and Vista activated, likely found in the Windows temp directory
UAC deactivated, here's the applicable portion of the debug.log

Code: Select all
[Thread-3066] DEBUG 21:23:13.086 Opened handler on socket Socket[addr=/192.168.0.150,port=58229,localport=5001]
[Thread-3066] DEBUG 21:23:13.086 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-3066] DEBUG 21:23:13.086 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-3066] DEBUG 21:23:13.097 Received on socket: Host: 192.168.0.100:5001
[Thread-3066] DEBUG 21:23:13.097 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-3066] DEBUG 21:23:13.098 Received on socket: Content-Length: 907
[Thread-3066] DEBUG 21:23:13.098 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-3066] DEBUG 21:23:13.098 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-3067] DEBUG 21:23:13.208 Opened handler on socket Socket[addr=/192.168.0.150,port=58228,localport=5001]
[Thread-3067] DEBUG 21:23:13.208 Received on socket: HEAD /get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri HTTP/1.0
[Thread-3067] DEBUG 21:23:13.208 Received on socket: Host: 192.168.0.100:5001
[Thread-3067] DEBUG 21:23:13.208 Received on socket: User-Agent: PLAYSTATION 3
[Thread-3067] DEBUG 21:23:13.221 Received on socket: Connection: close
[Thread-3067] DEBUG 21:23:13.221 Received on socket: Accept-Encoding: identity
[Thread-3067] DEBUG 21:23:13.221 Received on socket: Cache-Control: no-cache
[Thread-3067] INFO  21:23:13.221 HTTP: get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri / 0-0
[Thread-3067] DEBUG 21:23:13.221 Wrote on socket: HTTP/1.0 200 OK
[Thread-3067] DEBUG 21:23:13.221 Searching for objectId: 0$1$3$0$6 with children option: false
[Thread-3067] DEBUG 21:23:13.222 Wrote on socket: Content-Type: image/png
[Thread-3067] DEBUG 21:23:13.222 Wrote on socket: Accept-Ranges: bytes
[Thread-3067] DEBUG 21:23:13.222 Wrote on socket: Expires: Wed, 17 Jun 2009 20:09:53 GMT
[Thread-3067] DEBUG 21:23:13.222 Wrote on socket: Connection: keep-alive
[Thread-3067] DEBUG 21:23:13.223 Wrote on socket: Server: Windows Vista-x86-6.0 UPnP/1.0, PMS
[Thread-3067] DEBUG 21:23:13.223 Available Content-Length: 16196
[Thread-3067] DEBUG 21:23:13.223 Wrote on socket: Content-Length: 16196
[Thread-3067] DEBUG 21:23:13.223 Wrote on socket:
[Thread-3067] DEBUG 21:23:13.223 Sending stream: 0 bytes of get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri
[Thread-3067] DEBUG 21:23:13.223 Close Connection
[Thread-3068] DEBUG 21:23:13.242 Opened handler on socket Socket[addr=/192.168.0.150,port=58227,localport=5001]
[Thread-3068] DEBUG 21:23:13.242 Received on socket: GET /get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri HTTP/1.1
[Thread-3068] DEBUG 21:23:13.242 Received on socket: Host: 192.168.0.100:5001
[Thread-3068] DEBUG 21:23:13.242 Received on socket: User-Agent: PLAYSTATION 3
[Thread-3068] DEBUG 21:23:13.253 Received on socket: Connection: Keep-Alive
[Thread-3068] DEBUG 21:23:13.253 Received on socket: Accept-Encoding: identity
[Thread-3068] DEBUG 21:23:13.253 Received on socket: transferMode.dlna.org: Interactive
[Thread-3068] INFO  21:23:13.253 HTTP: get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri / 0-0
[Thread-3068] DEBUG 21:23:13.253 Wrote on socket: HTTP/1.1 200 OK
[Thread-3068] DEBUG 21:23:13.253 Searching for objectId: 0$1$3$0$6 with children option: false
[Thread-3068] DEBUG 21:23:13.253 Wrote on socket: Content-Type: image/png
[Thread-3068] DEBUG 21:23:13.253 Wrote on socket: Accept-Ranges: bytes
[Thread-3068] DEBUG 21:23:13.253 Wrote on socket: Expires: Wed, 17 Jun 2009 20:09:53 GMT
[Thread-3068] DEBUG 21:23:13.253 Wrote on socket: Connection: keep-alive
[Thread-3068] DEBUG 21:23:13.254 Wrote on socket: Server: Windows Vista-x86-6.0 UPnP/1.0, PMS
[Thread-3068] DEBUG 21:23:13.254 Available Content-Length: 16196
[Thread-3068] DEBUG 21:23:13.254 Wrote on socket: Content-Length: 16196
[Thread-3068] DEBUG 21:23:13.254 Wrote on socket:
[Thread-3068] DEBUG 21:23:13.276 Sending stream: 16196 bytes of get/0$1$3$0$6/thumbnail0000A+messge+from+the+Guiri
[Thread-3068] DEBUG 21:23:13.276 Close Connection
[Thread-3066] INFO  21:23:13.282 HTTP: upnp/control/content_directory / 0-0
[Thread-3066] DEBUG 21:23:13.282 Wrote on socket: HTTP/1.1 200 OK
[Thread-3066] DEBUG 21:23:13.282 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-3066] DEBUG 21:23:13.282 Searching for objectId: 0$1$3$0 with children option: false
[Thread-3066] DEBUG 21:23:13.282 Wrote on socket: Server: Windows Vista-x86-6.0 UPnP/1.0, PMS
[Thread-3066] DEBUG 21:23:13.282 Wrote on socket: Content-Length: 1063
[Thread-3066] DEBUG 21:23:13.282 Wrote on socket:
[Thread-3066] DEBUG 21:23:13.283 Close Connection


I've started looking at the source, and it seems like this should work, since it's a standard video feed. I know videolan can handle SWF files directly.

Thanks for any help you can offer :-)
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am

Re: VideoFeeds with SWF enclosures

Postby whome » Mon Feb 23, 2009 12:11 am

djspark wrote:I've started looking at the source, and it seems like this should work, since it's a standard video feed. I know videolan can handle SWF files directly.


VLC can play .swf movie clips, really? Would you please take few (.swf) hyperlinks from the feeds you use and post here. I could try my VLC0.9.x WinXP version to playback them. Or are you thinking about .flv flash video files?
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VideoFeeds with SWF enclosures

Postby djspark » Tue Feb 24, 2009 6:48 pm

whome wrote:
djspark wrote:I've started looking at the source, and it seems like this should work, since it's a standard video feed. I know videolan can handle SWF files directly.


VLC can play .swf movie clips, really? Would you please take few (.swf) hyperlinks from the feeds you use and post here. I could try my VLC0.9.x WinXP version to playback them. Or are you thinking about .flv flash video files?


Good point, having never used VLC prior to PS3MS I assumed what I read on their forums by a few users was true. Now that I'm thinking about it, how would it know to catch the FLV stream from an SWF player. It definitely doesn't work, so every FLV site will need some custom definition to get to the FLV source (similar to what exists to make youtube work).

I may try to write something to generate FLV RSS feeds from vimeo to feed to PS3MS instead.
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am

Re: VideoFeeds with SWF enclosures

Postby djspark » Tue Feb 24, 2009 6:55 pm

It would be interesting if PS3 MS could reference a site called: http://www.clipnabber.com they are developing an API for other applications to send URL's and get the translated FLV link back. This would prevent PS3MS from having to re-write support per site (ie youtube) every time there is a change. And by calling the clipnabber api PS3 MS would instantly support over 100 flash video sites without having to statically define each and everyone one.

Any thoughts, opinions, etc?
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am

Re: VideoFeeds with SWF enclosures

Postby whome » Wed Feb 25, 2009 11:16 am

I have done a Java standalone/webapp project where few sites can be fetched to PS3MediaServer feed. All my app does is parse thumbnails, resolve internal .flv/.mp4/.any videofile links, create a well formed RSS document. Converter has a commandline to store rss files locally and you may map it to web.conf. Or use Tomcat/Jetty app server to create rss docs at runtime.
Code: Select all
videofeed.Web=file:///C:/projects/areenafeed/rss-simple1.xml
videofeed.Web=http://localhost:8080/areenafeed/yleareena.jsp?quality=hi&medialink=asxrefmms&media=video&keyword=Reinikainen
videofeed.Web=http://localhost:8080/areenafeed/googlevideo.jsp?medialink=e26&keyword=Led+Zeppelin
videofeed.Web=http://localhost:8080/areenafeed/youtube.jsp?medialink=e26&keyword=Jenni+Vartiainen


Supported sites at the moment:
http://areena.yle.fi (finnish people interest only)
http://video.google.com (this is aggregated site, can use youtube.com and video.google.com sources atm)
http://www.youtube.com

PS3MS does have an internal Youtube support but I can't get thumbnails work, so I made my own rss converter :-)

See here for more information and Java source code. Uploaded version does not have Google and Youtube versions yet but will post update later this week.
http://koti.mbnet.fi/akini/ps3/areenafeed.html

This topic is where I started a discussion about the dynamic plugin system for webfeeds. This is an area which may get a major overhaul somwhere in a future. We do need a better architecture for webfeeds sources, current one is a rather simple and hack-and-slash implementation.
viewtopic.php?f=2&t=666
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VideoFeeds with SWF enclosures

Postby djspark » Fri Mar 13, 2009 11:51 pm

Sounds like an interesting application :-)

I'm hoping someday to find a way to get my vimeo.com feeds watchable on the ps3. Any chances you're looking for the next feed to convert? ;-)
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am

Re: VideoFeeds with SWF enclosures

Postby whome » Sat Mar 14, 2009 12:24 am

Sure, but problem is to find out the internal video url. Flash clips (.swf) don't apply but should know if they used .flv videourl or RTMP streaming url. Then I could quite easily add new services to RSS converter. I looked at the vimeo.com site but page sources don't give a hint where videostream is read.
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VideoFeeds with SWF enclosures

Postby djspark » Sat Mar 14, 2009 2:54 am

http://www.clipnabber.com translates them to flv addresses:



http://vimeo.com/955252 --> Translated to --> http://vimeo.com/moogaloop/play/clip:95 ... 3200/?q=hd

so I'm assuming the format is http://vimeo.com/moogaoop/play/clip:##ClipID##/##Hash of ID##/##Session ID##/?q=hd
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am

Re: VideoFeeds with SWF enclosures

Postby whome » Sat Mar 14, 2009 5:40 pm

Thx for the flv url information and consider it done. The internal flv url uses a request signature MD5 and expiration timestamp in seconds. I googled a bit and found a vimeo url where signature and timestamp value can be read. If you are interested in detailed, just download areenafeed.zip and browse source codes.

I have added vimeo.com support to the webapp RSS converter. First version parses vimeo RSS url address to a PS3MS/vlc streamer compatible format. Currently does not parse video links from regular html url addresses.

Vimeo site has the following RSS syntax for channel categories. You can use any rss-reply url as a video source.
http://www.vimeo.com/channels/documenta ... videos/rss

See here instructions and areenafeed.zip archive, unzip and deploy areenafeed.war file to Tomcat/Jetty engine.
http://koti.mbnet.fi/akini/ps3/areenafeed.html

I was not aware of vimeo.com site, but they have a rather good quality web videos. Amount of content cannot compete Youtube...but really who can.

Why is it first time XMB web source entry so slow to open?
I must parse and resolve all internal video links in one go. PS3MS lists thumbnails and videolinks. Videolink must go the the final video stream. PS3MS should have a 3rd party videofeed plugin system so I/you/we could use a two-way link resolving. Current ps3ms videofeed system is too limited and hardcoded architect.
viewtopic.php?f=2&t=666
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VideoFeeds with SWF enclosures

Postby djspark » Sat Mar 14, 2009 7:42 pm

Wow, I don't know what to say, this is great! Thank you soo much, I was up last night trying to write my own converter in PHP and it didn't go well :-)

Thanks again!
djspark
 
Posts: 6
Joined: Sun Feb 22, 2009 3:15 am


Return to General Help and Support

Who is online

Users browsing this forum: No registered users and 7 guests