Problems with some videos when streaming to PS4
Posted: Tue Jan 05, 2016 7:33 am
Hi and a slightly late happy new year everyone!
I'm using UMS for a while now and I'm generally very happy with its features and functionality. However, I have some trouble streaming a few video files to my PS4. The console just reports that it is "unable to play the media". When I force the video through the ffmpeg transcoder, everything works fine.
Now the annoying thing is that this means that in large playlists/directories I have to play the files one by one (since I have to change the dynamically generated transcode-directory every time a video finishes playing before starting the next) so I am looking for suggestions on how to improve that.
Note that I have not found anything that these videos have in common, except that they all seem to be AVC videos with a "High@..." profile and AAC audio. Some are ISOM, some are MP42. Some are 1080p60 10bit while others are 720p30 8bit.
So what are my options to rectify that?
a) Has anyone had the same experiences and can shed some light on why some of these files won't play properly?
b) is there any way to increase the detection of these files so that they are automatically transcoded when detected? If these videos have indeed something in common, maybe there's a way to force them through the transcoder with a config setting?
c) As last resort, is there a way to force all videos through ffmpeg? I see that I can select a "default renderer" and force all videos through that, but which renderer would I choose in my case? Obviously not "PS4"
Is there something like a "dumb" renderer that accepts basic MPEG2 or something?
For the curious (and/or developers), I have pasted some output from MediaInfo on three sample files which fail to play properly here. Maybe someone can see some similarities?
Regards
-Darkstar
P.S.: I'm using a "clean install" of UMS 6.0.0-b1, and the debug log doesn't show anything interesting related to the videos (it even marks them as "fully played" even though they're obviously not playing at all...)
I'm using UMS for a while now and I'm generally very happy with its features and functionality. However, I have some trouble streaming a few video files to my PS4. The console just reports that it is "unable to play the media". When I force the video through the ffmpeg transcoder, everything works fine.
Now the annoying thing is that this means that in large playlists/directories I have to play the files one by one (since I have to change the dynamically generated transcode-directory every time a video finishes playing before starting the next) so I am looking for suggestions on how to improve that.
Note that I have not found anything that these videos have in common, except that they all seem to be AVC videos with a "High@..." profile and AAC audio. Some are ISOM, some are MP42. Some are 1080p60 10bit while others are 720p30 8bit.
So what are my options to rectify that?
a) Has anyone had the same experiences and can shed some light on why some of these files won't play properly?
b) is there any way to increase the detection of these files so that they are automatically transcoded when detected? If these videos have indeed something in common, maybe there's a way to force them through the transcoder with a config setting?
c) As last resort, is there a way to force all videos through ffmpeg? I see that I can select a "default renderer" and force all videos through that, but which renderer would I choose in my case? Obviously not "PS4"

For the curious (and/or developers), I have pasted some output from MediaInfo on three sample files which fail to play properly here. Maybe someone can see some similarities?
Regards
-Darkstar
P.S.: I'm using a "clean install" of UMS 6.0.0-b1, and the debug log doesn't show anything interesting related to the videos (it even marks them as "fully played" even though they're obviously not playing at all...)
Code: Select all
General
Complete name : G:\AMVs\_INCOMING\Connichi 2014\(Various) AMVDE - All Night (Icona Pop - All Night).mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom)
File size : 95.6 MiB
Duration : 3mn 7s
Overall bit rate mode : Variable
Overall bit rate : 4 287 Kbps
Movie name : All Night
Performer : pic4arts, JadeCharm, Ceddic, Cenit, Noss, Kiriforce, Chinxize, Lapskaus, Asaliachan
Genre : MEP, Dance, Comedy (Fun)
ContentType : Music Video
Description : Third fun project organised and edited by the German anime music videos community. Every editor added an 1-10 sec part knowing only the previous part, like in the first project Hello We hope you can enjoy it. ;) / / ...
Recorded date : 2014-05-03T00:00:00+02:00
Encoded date : UTC 2014-05-04 03:30:08
Tagged date : UTC 2014-05-04 03:30:08
Cover : Yes
Comment : Anime: Princess Lover, AKB0048, Angel Beats, Attack On Titan, Bakemonogatari, Ben-To, Beyond The Boundary, ... / Music: Icona Pop - All Night / More at AMVNews.ru
PodcastURL : (Binary)
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3mn 7s
Bit rate : 3 999 Kbps
Maximum bit rate : 19.4 Mbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.145
Stream size : 89.2 MiB (93%)
Writing library : x264 core 136 r2350M 3361d59
Encoding settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60
Tagged date : UTC 2014-05-04 03:30:11
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 3mn 7s
Bit rate mode : Variable
Bit rate : 280 Kbps
Maximum bit rate : 352 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Frame rate : 43.066 fps (1024 spf)
Compression mode : Lossy
Stream size : 6.26 MiB (7%)
Encoded date : UTC 2014-05-04 03:30:11
Tagged date : UTC 2014-05-04 03:30:11
Code: Select all
General
Complete name : G:\AMVs\_INCOMING\Connichi 2014\(Various) Nostromo - Hidden Palace [1080p@60, 10bit] (Zircon feat. Jillian Aversa – Just Hold On (Padilion Remix)).mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/mp41/M4V /M4A /isom)
File size : 205 MiB
Duration : 4mn 0s
Overall bit rate mode : Variable
Overall bit rate : 7 162 Kbps
Encoded date : UTC 2014-07-20 18:50:52
Tagged date : UTC 2014-07-20 18:50:52
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High 10@L5
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 4mn 0s
Bit rate : 6 838 Kbps
Maximum bit rate : 31.8 Mbps
Width : 1 920 pixels
Height : 804 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 60.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.074
Stream size : 196 MiB (95%)
Writing library : x264 core 118 r2085+614 d1cc25d
Encoding settings : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=81 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2014-07-20 18:50:52
Tagged date : UTC 2014-07-20 18:50:52
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 4mn 0s
Bit rate mode : Variable
Bit rate : 318 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 9.10 MiB (4%)
Encoded date : UTC 2014-07-20 18:50:52
Tagged date : UTC 2014-07-20 18:50:52
Code: Select all
General
Complete name : G:\AMVs\_INCOMING\Connichi 2014\(Maria Holic) AimoAio - Boxxed (Marina And The Diamonds - Oh No).mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 48.5 MiB
Duration : 2mn 58s
Overall bit rate : 2 282 Kbps
Movie name : Boxxed
Performer : AimoAio
Genre : Character Profile
ContentType : Music Video
Description : ...
Recorded date : 2013-10-27T00:00:00+02:00
Writing application : Lavf55.18.102
Cover : Yes
Comment : Anime: Maria Holic, Maria Holic Alive / Music: Marina And The Diamonds - Oh No / More at AMVNews.ru
PodcastURL : (Binary)
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2mn 58s
Bit rate : 2 070 Kbps
Width : 1 280 pixels
Height : 720 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.094
Stream size : 43.9 MiB (91%)
Writing library : x264 core 136 r2350M 3361d59
Encoding settings : cabac=1 / ref=16 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:0.60
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2mn 58s
Duration_LastFrame : -17ms
Bit rate mode : Constant
Bit rate : 205 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Frame rate : 46.875 fps (1024 spf)
Compression mode : Lossy
Stream size : 4.36 MiB (9%)
Default : Yes
Alternate group : 1