TV 4 supports HEVC natively up to 1080p30 (I think).
TV 4K has a hardware HEVC decoder that can support up to 2160p60.
HEVC H.265 with hvc1
tag. Note that hev1
does NOT work in TV 4.
Snippet from ffprobe hevc.mp4
:
Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1438x1080 [SAR 1:1 DAR 719:540], q=2-31, 24 fps, 24 tbr, 16k tbn, 1k tbc (default)
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp (default)
Note the hvc1
there.
Assuming video and audio codecs are already correct.
ffmpeg -i video.mkv -c copy -movflags +faststart -threads 0 -tag:v hvc1 video.mp4
Batch:
for f in *.mkv ; do ffmpeg -i "$f" -c copy -movflags +faststart -threads 0 -tag:v hvc1 "$(basename -s .mkv $f).mp4" ; done
At the time of writing, the tvOS profile in Plex Media Server 1.11.0.4666 doesn't support HEVC/H.265 for DirectPlay.
Modify $PLEX_HOME/Resources/Profiles/tvOS.xml
under <DirectPlayProfiles>
section to have this:
<VideoProfile container="mp4" codec="hevc" audioCodec="aac,ac3,eac3" subtitleCodec="mov_text,tx3g,ttxt,text" />
where $PLEX_HOME
is /volume1/@appstore/Plex Media Server
in Synology NAS for example.
However, at the time of writing I couldn't get this to work without forcing DirectPlay from the client explicitly.
finally - direct streaming from x265 files on my ATV4 ... thanks