Muxing into the right format for 4k Direct Play



OK, digging through the latest profile on the plex paid channel, i see on the server that the tvOS.xml has been changed sightly..

<!-- Allow Direct Play of HLS content -->
<VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac" />

It got me thinking, what is the easiest way to say muxing a mkv into a mpegts..

currently using ffmpeg

ffmpeg -i example.mkv -codec copy -vtag hvc1 -map 0:0 -map 0:1 out.mp4

I noticed in the docs it says this

which leads me to believe you need to mux into a mp4, first then into a mpegts..

Any thoughts?


Also worth noting,

in the beta version of the appleTV app, 4k seems to be working, but it's transcoding HEVC to x264 .. (in hw for me since i have hardware accel on)


So, following the specs..

I had video encoded in HEVC with it tagged hvc1, audio in ac3, and the container as a mpegts and it still transcoded.

funny it transcoded from hevc to h264, and ac3 to eac3.


Beta Plex App can only do 4k/h264 for now.

Improvements are in process.