FAQ  •  Register  •  Login

PlayStation 4 Profile - Testing Required

<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Dec 14, 2015 2:00 pm

PlayStation 4 Profile - Testing Required

Required: Playstation 4 Users

All - further to viewtopic.php?f=7&t=20899#p105012 I'd like to facilitate getting a new profile for the PS4 ready for release with the next version of Serviio (actually aiming for 1.6.1, as 1.6 is targeted for pre-Christmas release).

The following profile is a starting point based on the PS3 profile, teflontacticss' profile from the linked post, and other suggestions in the forum:

  Code:
   <Profile id="ps4" name="Playstation 4" extendsProfileId="1">
      <!-- http://manuals.playstation.net/document/en/ps4/music/mp_format_m.html
       Videos
       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)
       Photos
         JPEG (DCF 2.0/Exif 2.21 compliant), BMP, PNG,
       Music
         MP3, AAC (M4A) -->
      <Detection>
         <!-- Detection is not yet working - profile must be manually assigned to the device -->
         <HttpHeaders>
            <User-Agent>.*PlayStation 4.*</User-Agent>
         </HttpHeaders>
      </Detection>
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and AC3 audio transcoding -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         </Video>
         <!-- Remux any H264 video with unsupported audio (DTS, FLAC, True-HD, Vorbis) changing audio to ac3,
             Also remux all AVI, 3GP, ASF, WMV and FLV with H264 changing audio to AC3 if needed -->
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h264" aCodec="dca" />
            <Matches container="*" vCodec="h264" aCodec="dts-hd" />
            <Matches container="*" vCodec="h264" aCodec="flac" />
            <Matches container="*" vCodec="h264" aCodec="truehd" />
            <Matches container="*" vCodec="h264" aCodec="vorbis" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="3gp" vCodec="h264" />
            <Matches container="asf" vCodec="h264"/>
         </Video>
         <!-- Transcode and/or Remux any unsuported containers, video or audio
             Change video to MPEG2VIDEO if needed, and audio to AC3 if needed -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <!-- Unsupported containers -->
            <Matches container="asf" />
            <Matches container="wtv" />
            <Matches container="flv" />
            <Matches container="ogg" />
            <Matches container="3gp" />
            <Matches container="rm" />
            <!-- Catch any remaining unsupported video codecs -->
            <Matches container="avi" vFourCC="div3,div4,div5,divx,dm4v,dx50,xvid" />
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="*" vCodec="h263" />
            <Matches container="*" vCodec="h265" />
            <Matches container="*" vCodec="dvvideo" />
            <Matches container="*" vCodec="mjpeg"/>
            <Matches container="*" vCodec="mpeg1video"/>
            <!-- Catch any remaining unsupported audio codecs -->
            <Matches container="*" aCodec="lpcm" />
         </Video>
         <Audio targetContainer="mp3" aSamplerate="48000">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="wavpack" />
            <Matches container="mp2" />
            <Matches container="mpc" />
            <Matches container="ape" />
            <Matches container="lpcm" />
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4"/>         
            <Matches container="applehttp" vCodec="h264"/>
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3">
            <Matches container="asf"/> <!-- to support mms:// streams -->
         </Video>
         <Audio targetContainer="mp3" aSamplerate="48000">
            <Matches container="mp3"/>
            <Matches container="flv"/>
            <Matches container="asf"/>
         </Audio>
      </OnlineTranscoding>
      <LimitImageResolution>false</LimitImageResolution>
      <AutomaticImageRotation>true</AutomaticImageRotation>
      <ThumbnailsResolution>HD</ThumbnailsResolution>   
   </Profile>
Can everyone please test and submit changes/let me know of any issues. Once we have consensus we can package up for inclusion in the official Serviio release.

Some things to note:

  • To test this profile, open the file profiles.xml located in your Serviio\Config folder, in a text editor (I like Notepad++ for this, but any text editor will do). Copy the profile and paste it into the file just above the last line (that contains </Profiles>). Save the file and restart your PC (or Serviio service if you know how). After Serviio starts assign this profile to your PS4 manually.
  • I haven't tested subtitles or online sources as yet.
  • I am struggling to get the device to detect so for now this profile needs to be assigned manually.
  • Not sure whether Thumbnail resolution has any impact
Last edited by DenyAll on Tue Jan 12, 2016 7:22 am, edited 5 times in total.
Reason: Updated profile to reflect changes below (Nutte); removed mime type mapping (not required)
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

teflontacticss

Serviio newbie

Posts: 9

Joined: Thu Jun 18, 2015 9:17 pm

Post Sun Dec 20, 2015 11:32 pm

Re: PlayStation 4 Profile - Testing Required

Isn't that based on my profile, not QHudspeth's?

Anyways, will load it up and test it this week when I do my weekly server restart.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Dec 21, 2015 6:03 am

Re: PlayStation 4 Profile - Testing Required

My apologies- it was. Thanks for testing, so far haven't had a lot of buy in.....
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

chris-red

Serviio newbie

Posts: 3

Joined: Mon Dec 21, 2015 10:06 am

Post Mon Dec 21, 2015 10:12 am

Re: PlayStation 4 Profile - Testing Required

Hi, I came on here looking for a fix for the PS4 player so I will also test this.

My Issues where...

Doesn't detect certain media (no playable files)
Doesn't display time stamp and will not fast forward (or reverse)

The PS3 didn't have either of these issues with the same files.

I'm going to be busy, just like everyone else, over the next few weeks but will endeavor to let you know my results.
<<

chris-red

Serviio newbie

Posts: 3

Joined: Mon Dec 21, 2015 10:06 am

Post Mon Dec 21, 2015 10:40 pm

Re: PlayStation 4 Profile - Testing Required

It has fixed the above issues, I'm only a couple of minutes using it but it seems better already, Thanks!
<<

chris-red

Serviio newbie

Posts: 3

Joined: Mon Dec 21, 2015 10:06 am

Post Sat Jan 02, 2016 10:47 pm

Re: PlayStation 4 Profile - Testing Required

I've been using it a while no problems, Thanks.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Jan 03, 2016 8:30 am

Re: PlayStation 4 Profile - Testing Required

zip will release this profile with version 1.6.

I am aware of at least four issues with the PS4, which I haven't figured out yet (and for the first three issues, there may not be a solution... any ideas appreciated):
  • Device detection isn't working - the profile must be manually selected;
  • For transcoded or remuxed video the time and duration are not shown. Fast Forward and Rewind does not work;
  • A transcoded or remuxed video will not resume from the previous position if restarted;
  • I have one h265 that gets transcoded and then wont play properly (flicks around horizontally on the screen).... its a weird one. Have tried limiting video bit rate, no difference. Need more time to play with it.
My early impressions of the PS4 media app is that it's pretty average, and has poor support for transcoded video (seems to treat it as a live stream).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Sun Jan 03, 2016 6:08 pm

Re: PlayStation 4 Profile - Testing Required

I tested the above posted ps4 profile yesterday and here are the problems I've found out so far with video files:
- Most mpeg files doesn't play at all.
- Audio doesn't work on some mkv files.
- None of our MOV files work.

Are these known issues or do you want me to post MediaInfo-output and/or ffmpeg output?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Jan 03, 2016 8:41 pm

Re: PlayStation 4 Profile - Testing Required

Nutte wrote:..... or do you want me to post MediaInfo-output?
Yes please.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Tue Jan 05, 2016 4:41 am

Re: PlayStation 4 Profile - Testing Required

Example of mpeg file:

  Code:
General
Complete name                            : F:\--- Music ---\Old videos\Mozzart - Money.mpg
Format                                   : MPEG-PS
File size                                : 24.8 MiB
Duration                                 : 2mn 29s
Overall bit rate                         : 1 396 Kbps
Writing library                          : encoded by TMPGEnc b12e

Video
ID                                       : 224 (0xE0)
Format                                   : MPEG Video
Format version                           : Version 1
Format settings, BVOP                    : Yes
Format settings, Matrix                  : Custom
Format settings, GOP                     : Variable
Duration                                 : 2mn 29s
Bit rate                                 : 1 150 Kbps
Width                                    : 352 pixels
Height                                   : 288 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 25.000 fps
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.454
Time code of first frame                 : 00:00:00:00
Time code source                         : Group of pictures header
Stream size                              : 20.3 MiB (82%)
Writing library                          : TMPGEnc b12e

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 2mn 29s
Bit rate mode                            : Constant
Bit rate                                 : 224 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 3.98 MiB (16%)



Example of mkv with non-working audio:

  Code:
General
Unique ID                                : 320126347796829143238534170320789909653 (0xF0D617882130B64F812827F513953095)
Complete name                            : F:\--- Music ---\iLoveMemphis - Hit the Quan.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 94.4 MiB
Duration                                 : 4mn 5s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 225 Kbps
Writing application                      : Lavf56.1.100
Writing library                          : Lavf56.1.100 / Lavf56.1.100

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 4mn 5s
Bit rate                                 : 3 033 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.061
Stream size                              : 88.8 MiB (94%)
Default                                  : Yes
Forced                                   : No
Encoded date                             : UTC 2015-11-13 09:52:12
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
HANDLER_NAME                             : VideoHandler

Audio
ID                                       : 1
Format                                   : Vorbis
Format settings, Floor                   : 1
Codec ID                                 : A_VORBIS
Duration                                 : 4mn 5s
Bit rate mode                            : Variable
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 3.75 MiB (4%)
Writing application                      : Google
Language                                 : English
Default                                  : Yes
Forced                                   : No



Example of MOV-file (in this case it tries for about 15s, i.e. you see a spinning icon):

  Code:
General
Complete name                            : F:\--- Music ---\MVI_9102.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   2007.09 (qt  /CAEP)
File size                                : 205 MiB
Duration                                 : 1mn 11s
Overall bit rate                         : 24.1 Mbps
Encoded date                             : UTC 2016-01-03 08:24:16
Tagged date                              : UTC 2016-01-03 08:24:16

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L4.1
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Format settings, GOP                     : M=1, N=15
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 11s
Bit rate                                 : 23.3 Mbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 30.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.844
Stream size                              : 199 MiB (97%)
Language                                 : English
Encoded date                             : UTC 2016-01-03 08:24:16
Tagged date                              : UTC 2016-01-03 08:24:16
Color range                              : Full
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.601

Audio
ID                                       : 2
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Signed
Codec ID                                 : sowt
Duration                                 : 1mn 11s
Bit rate mode                            : Constant
Bit rate                                 : 705.6 Kbps
Channel(s)                               : 1 channel
Channel positions                        : Front: C
Sampling rate                            : 44.1 KHz
Bit depth                                : 16 bits
Stream size                              : 6.01 MiB (3%)
Language                                 : English
Encoded date                             : UTC 2016-01-03 08:24:16
Tagged date                              : UTC 2016-01-03 08:24:16
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Tue Jan 05, 2016 11:37 pm

Re: PlayStation 4 Profile - Testing Required

For each of the above try the following (add the red line under the existing white line in the profile, save the profiles.xml file and restart the Serviio service, or your PC):

    <Matches container="3gp" vCodec="h264" />
    <Matches container="*" aCodec="mp2" />
    <Matches container="*" vCodec="h264" aCodec="truehd" />
    <Matches container="*" vCodec="h264" aCodec="vorbis" />
    <Matches container="3gp" vCodec="h264" />
    <Matches container="*" aCodec="lpcm" />
Let me know how these go and I'll include them in the OP if good.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Wed Jan 06, 2016 3:47 am

Re: PlayStation 4 Profile - Testing Required

Just to confirm... Here is the result after adding the three suggested lines:
  Code:
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h264" aCodec="dca" />
            <Matches container="*" vCodec="h264" aCodec="dts-hd" />   
            <Matches container="*" vCodec="h264" aCodec="flac" />
            <Matches container="*" vCodec="h264" aCodec="truehd" />
            <Matches container="*" vCodec="h264" aCodec="vorbis" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="3gp" vCodec="h264" />
            <Matches container="*" aCodec="lpcm" />
            <Matches container="*" aCodec="mp2" />
         </Video>


RESULTS:
FAILED - The mpg file (and most other mpegs) still doesn't work.
SUCCESS - The mkv audio now works.
SUCCESS - The mov-files now works.

Thanks a lot!


I also tested some more files and below are a two more video files that are not working...

From a previous Canon camera:

  Code:
General
Complete name                            : D:\videos\Kids movies 2008\2008-04-11 Dad messing around.AVI
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 42.1 MiB
Duration                                 : 23s 533ms
Overall bit rate                         : 15.0 Mbps
Mastered date                            : FRI APR 11 17:46:24 2008
Writing application                      : CanonMVI04

Video
ID                                       : 0
Format                                   : JPEG
Codec ID                                 : MJPG
Duration                                 : 23s 533ms
Bit rate                                 : 14.9 Mbps
Width                                    : 1 024 pixels
Height                                   : 768 pixels
Display aspect ratio                     : 4:3
Frame rate                               : 15.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:2
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 1.265
Stream size                              : 41.9 MiB (99%)

Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Unsigned
Codec ID                                 : 1
Duration                                 : 23s 533ms
Bit rate mode                            : Constant
Bit rate                                 : 88.2 Kbps
Channel(s)                               : 1 channel
Sampling rate                            : 11.024 KHz
Bit depth                                : 8 bits
Stream size                              : 253 KiB (1%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 981 ms (14.71 video frames)
Interleave, preload duration             : 1000 ms



Converted camera movie:

  Code:
General
Complete name                            : D:\videos\Kids movies 2008\2008-03-05 Fooling around at the computer (rotated mp4).avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 72.6 MiB
Duration                                 : 1mn 59s
Overall bit rate                         : 5 100 Kbps
Writing application                      : CanonMVI04
Writing library                          : VirtualDub build 28292/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L1
Format settings, BVOP                    : No
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : XVID
Codec ID/Hint                            : XviD
Duration                                 : 1mn 59s
Bit rate                                 : 5 005 Kbps
Width                                    : 768 pixels
Height                                   : 1 024 pixels
Display aspect ratio                     : 0.750
Frame rate                               : 15.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.424
Stream size                              : 71.3 MiB (98%)
Writing library                          : Lavc51.45.0

Audio
ID                                       : 1
Format                                   : PCM
Format settings, Endianness              : Little
Format settings, Sign                    : Unsigned
Codec ID                                 : 1
Duration                                 : 1mn 59s
Bit rate mode                            : Constant
Bit rate                                 : 88.2 Kbps
Channel(s)                               : 1 channel
Sampling rate                            : 11.024 KHz
Bit depth                                : 8 bits
Stream size                              : 1.26 MiB (2%)
Alignment                                : Aligned on interleaves
Interleave, duration                     : 67 ms (1.00 video frame)
Interleave, preload duration             : 500 ms
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Jan 06, 2016 5:21 am

Re: PlayStation 4 Profile - Testing Required

For your mpeg files remove the change above (<Matches container="*" aCodec="mp2" />) and try:
    <Matches container="asf" vCodec="mpeg1video"/> <!-- dvr-ms -->
    <Matches container="*" vCodec="mpeg1video"/>
If that doesn't work, remove it and try:
    <Matches container="rm" />
    <Matches container="*" aCodec="mp2" />
For your other two AVI files this is being effected by the statement that we added: <Matches container="*" aCodec="lpcm" />. Try moving this under the <Matches container="rm" /> statement for now. Once confirmed, I will tidy things up.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Wed Jan 06, 2016 5:48 am

Re: PlayStation 4 Profile - Testing Required

Sweet, that appears to work great.
I.e. when doing that, all mpeg files (that I tried) worked fine and the older camera avi's also plays correctly. Will try more files later, but right now I can't think of anything that doesn't work.

Thanks a lot!
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Wed Jan 06, 2016 6:47 am

Re: PlayStation 4 Profile - Testing Required

Oh, on a related note... Our camera mov-files, like MVI_9102.MOV above, does not play with the default ps3-profile. With every release I add the following red line to the Playstation 3 section:

<Matches container="3gp" vCodec="h264" />
<Matches container="mp4" vCodec="h264" />


Not sure if that is the best solution, but it works. Great if that, or some other solution, can be to the release file. Thanks again!
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Jan 06, 2016 7:33 am

Re: PlayStation 4 Profile - Testing Required

Nutte wrote:Oh, on a related note... Our camera mov-files, like MVI_9102.MOV above, does not play with the default ps3-profile...
Not the best approach as this will remux all MP4 files with h264, which should in the main be playable natively by the PS3. Better that you refine it to be:
    <Matches container="mp4" vCodec="h264" aCodec="lpcm" />
I think this issue is likely to be specific to your camera (this often happens) so may not be appropriate to add it to the standard PS3 profile.

----------------
I have attached a rather reworked profile. I have incorporated all the changes above, plus have added some of my own (including some significant changes to the way AVI's are handled. The PS4 supports some AVI's). I will test it tonight, but if you also wish to do so would be appreciated.
Last edited by DenyAll on Thu Jan 07, 2016 3:01 am, edited 1 time in total.
Reason: Attached file deleted. Changes included in profile in OP above.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

Nutte

User avatar

Streaming enthusiast

Posts: 35

Joined: Sun Mar 06, 2011 2:11 am

Post Thu Jan 07, 2016 2:37 am

Re: PlayStation 4 Profile - Testing Required

I tried out the ps4-profile from yesterday and it appears to work fine, i.e. I didn't stumble on any files I couldn't play. Tnx DenyAll!


I can't help wondering why Sony didn't stick with what they had. As a media player device I find the PS3 so much more usable, both the media player software itself and the remote. While browsing around the DLNA-share with the PS4 I only found a handful of files I could jump in, I assume those are the ones natively supported. With all the other files there is no possible way to jump in the file, which doesn't make it very usable.
Can anyone think of any benefit with how Sony has implemented it? Any chance of a workaround?


Thanks for the suggestion for the ps3-profile. Will try it later.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Thu Jan 07, 2016 3:05 am

Re: PlayStation 4 Profile - Testing Required

Thanks.
Have included all changes in the OP. I will ask zip to include this version with 1.6 release. I still want to continue with ongoing testing and changes in this thread, as I think there may still be areas yet to be tested (eg. online streams) but these can wait until after 1.6 release if need be.

... and yes, agree with your opinion on the PS4 Media Player. Disappointing, hopefully they will fix a few things in later releases.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

mpi

Serviio lover

Posts: 66

Joined: Fri Nov 18, 2011 9:15 pm

Post Thu Jan 07, 2016 7:12 pm

Re: PlayStation 4 Profile - Testing Required

Hi,

Thanks so much for the effort in making PS4 profile.

I did test it on my usual collection that played fine with my Sony BDP-S570 Bluray Player (profile is in Serviio base profiles.xml), transcoding disabled .
Many .AVI files (even H264 encoded) which play fine with Serviio/BDP-S570 fail on Serviio/PS4 (media not supported).
I did output media info for 2 files on this pastebin http://pastebin.com/CgwWWmyL for reference.
Maybe deriving some magic for avi playback from BDP-S570 profile definition may help. (have not tried yet).

Thanks.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Jan 08, 2016 8:43 am

Re: PlayStation 4 Profile - Testing Required

Good pickup. This is promising.

I added (in red):

    <MediaFormatProfile mime-type="video/mp4" name="">MPEG4_P2_MP4_ASP_AAC</MediaFormatProfile>
    <!-- Remap xvid and divx to matroska to allow to be played natively with support for fwd, rewind and pause -->
    <MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
    <MediaFormatProfile mime-type="video/xvid">MATROSKA</MediaFormatProfile>
    <MediaFormatProfile mime-type="video/avi">MATROSKA</MediaFormatProfile>
and commented out the line (so that AVI transcoding doesn't take place):

    <!-- Matches container="avi" vFourCC="div3,div4,div5,divx,dm4v,dx50,xvid" / -->
and yes, it does allow some of my AVI's to play natively, with full support for forward, rewind, etc. Unfortunately, it's only some of them and I cannot see the pattern for which ones do and which don't at this stage (I am somewhat hindered in doing this though as I have changed all my 4CC codes to XVid to help them play on my Panasonic).

Some AVI's play, some fail altogether and some play with audio and no video for a while before failing. Will need to work out this pattern before this can be used meaningfully in the profile, so if anyone can assist testing and trying to see what is similar in those that do work and those that don't - much appreciated.

Also, for everyone's info: zip is close to releasing version 1.6. When he does, he will include the profile from the OP as it is at that time. As such, I won't put anything into the profile in the OP until we test it and iron out the quirks.

This change is promising as it fools the PS4 into allowing some of the otherwise transcoded AVI's to be played natively - just need to work out which it works for and which it doesn't and as I said, I'm limited in that respect as I have modified most of my AVI's.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
Next

Return to Sony

Who is online

Users browsing this forum: No registered users and 8 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.