Page 1 of 1

Transcoding on PS4 Pro when remux is enough

PostPosted: Mon Sep 03, 2018 8:28 pm
by jesse
Hi.
PS4 Pro supports H.264/MPEG-4 AVC High Profile Level 5.2 in MP4 container.
Source: https://manuals.playstation.net/documen ... mat_m.html
So, it seems MKV and AVI containers having profile level between 4.2 and 5.2 can be just remuxed to MP4.
I edited my profiles.xml and it worked. So probably separate profile for PS4 Pro will be helpful.

Re: Transcoding on PS4 Pro when remux is enough

PostPosted: Mon Sep 03, 2018 11:55 pm
by atc98092
jesse wrote:Hi.
PS4 Pro supports H.264/MPEG-4 AVC High Profile Level 5.2 in MP4 container.
Source: https://manuals.playstation.net/documen ... mat_m.html
So, it seems MKV and AVI containers having profile level between 4.2 and 5.2 can be just remuxed to MP4.
I edited my profiles.xml and it worked. So probably separate profile for PS4 Pro will be helpful.


MP4 is not a permitted container for muxing on the fly. It's not a Serviio restriction, but ffmpeg. I don't know the technical reasons, but it just doesn't work. If you're saying you've modified a profile to mux to MP4 on the fly, I'd really like to see what you did. :)

Re: Transcoding on PS4 Pro when remux is enough

PostPosted: Tue Sep 04, 2018 1:10 am
by jesse
atc98092 wrote:MP4 is not a permitted container for muxing on the fly. It's not a Serviio restriction, but ffmpeg. I don't know the technical reasons, but it just doesn't work. If you're saying you've modified a profile to mux to MP4 on the fly, I'd really like to see what you did. :)

Well, you are right. I actually just used mpegts as target container. And this allowed me to play video encoded with h264 level 5.1 without transcoding. If I left MKV container untouched (also skipping transcoding), the video did not play correctly.

Re: Transcoding on PS4 Pro when remux is enough

PostPosted: Thu Sep 06, 2018 11:38 am
by atc98092
Yeah, sometimes remuxing is necessary from the MKV container. It might be because the DLNA standard doesn't actually support the MKV container, but Serviio works around it somehow. Fortunately, remuxing doesn't use much computing power, so it doesn't work your server hard. The main issue is you most likely lose the ability to FF/rewind, or resume a stopped video. Applehttp (HLS) supports those functions, but it doesn't support multi-channel audio, which is why I don't use it for the Roku profiles.

Re: Transcoding on PS4 Pro when remux is enough

PostPosted: Thu Sep 06, 2018 2:32 pm
by zip
I don't have a PS4 Pro, but if you come up with a profile, I'll add it