HomeContact
Computerz
Using PS3 mediaserver to stream video\'s to iPhone/iPad
René Dohmen
January 26, 2012
2 min

The last Playstation media server has excellent support for streaming (transcoded) video straight to the iPad or Iphone. Because it uses upnp it can also stream to boxee, xbmc, VLC, Xbox 360 and of course the Play station 3. I used a commercial app, airplayer, on a iPhone 4 and a 3GS to test it and was very happy to find out that it can also open live streams from my network TV tuner, transcode it to mp4 and serve it on the fly to a iPhone 3GS.

Install PS3 Media Server: https://code.google.com/p/ps3mediaserver/downloads/list

image0
image0

I used PS3 Media Server 1.50.0 on Ubuntu 12.04. With the default settings all streams and conversion are done by VLC. I don’t know if you need to install VLC, mplayer and mencoder yourself but as a media geek I have them installed anyway. Then I added some shares with a couple of test videos in it. With most ,cheap or free, iPhone apps that can use a upnp/dnla mediaserver I was able to playback some .mp4 files (already in correct iPhone format), but it didn’t start transcoding for divx or xvid movies.

image1
image1

It seems that PS3 Mediaserver uses some HTTP User Agent detection mechanisme and tries to load the best transcoding profiles based on the expected video render platform. When looked in the renderers folder (in the PS3 Mediaserver source) I discovered a profile with that name AirPlayer.conf. So I bought Airplayer in the app store and it discovered the media server in my network. Video playback works OK now for the files on disk, of course you need to have a decent computer for transcoding 720p or 1080p material on the fly to a format that the iPhone can play.

Next step: restream a live video stream to the iPhone.

I have a N7 Network TV tuner that plays mpeg2 TS streams, Unfortunately that’s not playable with any apps that I know about in the app store. So after some reading in the docs and config files I added my N7 streams to WEB.conf and copied the file to ~/.config/PMS/WEB.conf and restarted the media server.

My WEB.conf:

the ”http://tv” URL’s points to the N7 network tuner. (I like names, so yes I called it tv)

With the above setup I got some problems with the first part of the conf file: all TV channels in one folder (it looks like PMS is trying to make thumbnails or prefetches some stuff from the next channel, and yes I disabled thumbnails in the PMS settings). The last lines in the conf file are useable: it makes seperate folders for each channel.

Startup times are about 4 seconds for a channel switch for a channel with SD content.

Photoos running Airplayer on iPhone:

image2
image2
image3
image3

Photoos running UPnPlay on Android (Nexus):

image4
image4
image5
image5


Related Posts

Working with git submodules
October 15, 2023
3 min
© 2024, All Rights Reserved.
Powered by formatics

Quick Links

Advertise with usAbout UsContact Us

Social Media