Media Services

From PS4 Developer wiki
Jump to navigation Jump to search

Media Player

Added June 15, 2015 to be downloaded seperately, with DLNA and USB Mass Storage support

File Formats and Codecs

Video

  • MKV
    • Visual: H.264/MPEG-4 AVC High Profile Level4.2
    • Audio: MP3, AAC LC, AC-3(Dolby Digital)
  • AVI
    • Visual: MPEG4 ASP, H.264/MPEG-4 AVC High Profile Level4.2
    • Audio: MP3, AAC LC, AC-3(Dolby Digital)
  • MP4
    • Visual: H.264/MPEG-4 AVC High Profile Level4.2
    • Audio: AAC LC, AC-3(Dolby Digital)
  • MPEG-2 TS
    • Visual: H.264/MPEG-4 AVC High Profile Level4.2, MPEG2 Visual
    • Audio: MP2(MPEG2 Audio Layer 2), AAC LC, AC-3(Dolby Digital)
    • AVCHD: (.m2ts, .mts)

Photo

  • JPEG (based on DCF 2.0/Exif 2.21)
  • BMP
  • PNG

Music

  • MP3
  • AAC (M4A)

DLNA render profiles

Universal Media Player render profile ("Sony-PlayStation4.conf" file)

#----------------------------------------------------------------------------
# Profile for Sony PlayStation 4.
# See DefaultRenderer.conf for descriptions of all the available options.
#
RendererName = PlayStation 4
RendererIcon = ps4.png

# ============================================================================
# This renderer has sent the following string/s:
#
# User-Agent: PS4Application libhttp/1.000 (PS4) libhttp/2.51 (PlayStation 4)
# User-Agent: libhttp/2.51 (PlayStation 4)
# ============================================================================
#

UserAgentSearch = PlayStation 4

TranscodeVideo = MPEGTS-H264-AC3
MaxVideoBitrateMbps = 40
MediaInfo = true
 
# Supported video formats:
Supported = f:avi      v:mp4|h264     a:aac|ac3|mp3          m:video/avi
Supported = f:mkv      v:h264         a:aac|aac-he|ac3|mp3   m:video/x-matroska
Supported = f:mp4      v:h264         a:aac|ac3              m:video/mp4
Supported = f:mpegts   v:mpeg2|h264   a:aac|ac3|mpa          m:video/mpeg

# Supported audio formats:
Supported = f:aac   n:2   m:audio/x-m4a
Supported = f:mp3   n:2   m:audio/mpeg

# Supported image formats:
Supported = f:bmp    m:image/bmp
Supported = f:jpg    m:image/jpeg
Supported = f:png    m:image/png

source: https://github.com/UniversalMediaServer/UniversalMediaServer/blob/master/src/main/external-resources/renderers/Sony-PlayStation4.conf

Plex DLNA Profile ("PlayStation 4.xml" file)

<?xml version="1.0" encoding="UTF-8"?>
<Client name="PlayStation 4">
   <!-- Author: Plex Inc. -->
   <Identification>
	  <Header name="User-Agent" substring="UPnP/1.0 DLNADOC/1.50" />
	  <Header name="User-Agent" substring="PS4Application" />
	  <Header name="User-Agent" substring="PlayStation 4" />
	  <Header name="X-AV-Client-Info" substring="PlayStation 4" />
   </Identification>
   <TranscodeTargets>
   	  <VideoProfile container="mpegts" audioCodec="aac,ac3" codec="h264">
		 <Setting name="VideoEncodeFlags" value="-x264opts cabac=1" />
	  </VideoProfile>
	  <MusicProfile container="mp3" codec="mp3" />
	  <PhotoProfile container="jpeg" />
   </TranscodeTargets>
   <DirectPlayProfiles>
	  <VideoProfile container="mpegts" codec="mpeg1video,mpeg2video,h264,mpeg4" audioCodec="ac3,aac,mp3" />
	  <VideoProfile container="mp4" codec="mpeg1video,mpeg2video,h264,mpeg4" audioCodec="ac3,aac,mp3" />
	  <VideoProfile container="mov" codec="mpeg1video,mpeg2video,h264,mpeg4" audioCodec="ac3,aac,mp3" />
	  <VideoProfile container="mkv" codec="mpeg1video,mpeg2video,h264,mpeg4" audioCodec="ac3,aac,mp3" />
	  <VideoProfile container="avi" codec="mpeg1video,mpeg2video,h264,mpeg4" audioCodec="ac3,aac,mp3" />
	  <MusicProfile container="mp3" codec="mp3" />
	  <MusicProfile container="mp4" codec="aac" />
	  <PhotoProfile container="jpeg,bmp,png" />
   </DirectPlayProfiles>
   <CodecProfiles>
	  <VideoCodec name="mpeg1video,mpeg2video">
		 <Limitations>
			<UpperBound name="video.width" value="1920" />
			<UpperBound name="video.height" value="1088" />
			<UpperBound name="video.bitrate" value="20000" />
		 </Limitations>
	  </VideoCodec>
	  <VideoCodec name="h264,mpeg4">
		 <Limitations>
			<UpperBound name="video.width" value="1920" />
			<UpperBound name="video.height" value="1088" />
			<UpperBound name="video.bitrate" value="30000" />
		 </Limitations>
	  </VideoCodec>
	  <VideoAudioCodec name="ac3,aac">
		 <Limitations>
			<UpperBound name="audio.channels" value="6" />
		 </Limitations>
	  </VideoAudioCodec>
	  <VideoAudioCodec name="mp3">
		 <Limitations>
			<UpperBound name="audio.channels" value="2" />
		 </Limitations>
	  </VideoAudioCodec>
	  <MusicCodec name="aac">
		 <Limitations>
			<UpperBound name="audio.channels" value="2" />
		 </Limitations>
	  </MusicCodec>
   </CodecProfiles>
   <ContainerProfiles>
	  <PhotoContainer name="*">
		 <Limitations>
			<UpperBound name="media.width" value="1280" />
			<UpperBound name="media.height" value="720" />
		 </Limitations>
	  </PhotoContainer>
   </ContainerProfiles>
</Client>

Location for above XML file:

  • Windows: %PROGRAMFILES%\Plex\Plex Media Server\Resources\Profiles
  • Mac: ~/Library/Application Support/Plex Media Server/Profiles
  • debian: /usr/lib/plexmediaserver/Resources/Profiles
  • FreeNAS: /usr/pbi/plexmediaserver-amd64/share/plexmediaserver/Resources/Profiles

Gallery

Mediaservices

PS4 mediaservices


See also: http://en.wikipedia.org/wiki/List_of_PlayStation_applications

PlayStation Music

  • Music Unlimited (UK, Ireland, France, Spain, Italy, Germany, Belgium, Netherlands, Norway, Finland, Sweden, Denmark, Australia and New Zealand)

PlayStation Music (Spotify’s Premium service needed - will replace the Music Unlimited Service)

http://www.playstationnetwork.com/music/

PlayStation Video

http://www.playstationnetwork.com/video/

PlayStation Vue

PlayStation Vue, a cloud TV service delivered to PS4 and PS3, blends live local broadcast and cable TV network programming with on-demand content and programs that viewers have saved in a cloud-based DVR.

http://www.playstationnetwork.com/vue/home/

PlayStation Vue CUSA00960

Availability

PlayStation Vue will begin an invite only beta preview during November 2014 for select PS4 and PS3 owners, with a phased rollout starting in New York followed later by Chicago, Philadelphia, and Los Angeles. The service will also become available on iPad shortly thereafter, and later on more Sony and non-Sony devices.

PlayStation Vue is planned to launch commercially during the first quarter of 2015.

PlayStation Vue (CUSA00960) for PS4 / PlayStation Vue (NPUO00038) for PS3

Gallery

Home DLNA

There is no DLNA/uPNP on the PS4 (it looks on the network for it though, just does not make it visible)

You can however use Plex within the browser

Alternative via the webbrowser

Using VideoJS (https://github.com/videojs/)

First, you'll need to setup a http server (apache, cherokee, lighttpd, nginx etc.) on your computer (or RaspberryPi) which will serve your PS4 the media files through the web browser. Next, copy this code into a blank document and save it as an html file on your http server's documentroot.

 <!doctype html>
 <html>
   <head>
     <link href="http://vjs.zencdn.net/4.3.0/video-js.css" rel="stylesheet">
     <script src="http://vjs.zencdn.net/4.3.0/video.js"></script>
   </head>
   <body>
   <video id="vid1" class="video-js vjs-default-skin" controls preload="auto" width="640" height="360"
       data-setup='{}'>
     <source src="mymusic.mp3" type='audio/mpeg'>
 	</video>
   </body>
 </html>

Then simply link the media in the html and copy it into documentroot of your http server. You can now play music or movies on your PS4 through the web browser! You can go here for the different mime types and replace audio/mpeg.

source: http://www.ps3hax.net/showthread.php?t=67164

Plex

Source: https://blog.plex.tv/2014/12/17/plex-now-sega-genesis-just-kidding-ps3-ps4/

Get Plex for PlayStation

Notes:

  • Plex for PlayStation is currently available for free to Plex Pass subscribers. In the future, it will be made available, for a fee, to those without a Plex Pass. In addition to the PlayStation app, a Plex Pass also gives you exclusive premium features and early access to new ones.
  • PlayStation PlusPS+ is not required
  • Available for both PS4 and PS3
CID:
 EP4544-CUSA01703_00-WEBMAF000000PLEX
 UP4544-CUSA01850_00-PLEX000000000000


Availability

SCEE region

The Plex for PlayStation app is currently (17-12-2014) available in the following PlayStation Stores (Oceania / British Isles / Europe, Middle East, South Africa / Russia, Ukraine, India):

  • Australia
  • Austria
  • Bahrain
  • Belgium
  • Bulgaria
  • Croatia
  • Cyprus
  • Czech Republic
  • Denmark
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Iceland
  • India
  • Ireland
  • Israel
  • Italy
  • Kuwait
  • Lebanon
  • Luxembourg
  • Malta
  • Netherlands
  • New Zealand
  • Norway
  • Oman
  • Poland
  • Portugal
  • Qatar
  • Romania
  • Russia
  • Saudi Arabia
  • Slovakia
  • Slovenia
  • South Africa
  • Spain
  • Sweden
  • Switzerland
  • Turkey
  • Ukraine
  • United Arab Emirates
  • United Kingdom

Source: https://support.plex.tv/hc/en-us/articles/204074136

SCEA region

The Plex for PlayStation app is currently (20-01-2015) available in the following PlayStation Stores (North America, Central + Latin America):

  • Argentina
  • Brazil
  • Canada
  • Chile
  • Colombia
  • Mexico
  • Peru
  • United States

Source: http://blog.us.playstation.com/2015/01/20/plex-out-today-stream-your-personal-media-to-ps4-and-ps3/

Gallery