Apple TV app 4K HDR delivery. H.265 is required for 4K on Apple devices, CRF 28 (the H.265 default) for efficient 4K compression, -tag:v hvc1 for Apple compatibility, AAC for universal playback, MP4 container.
| Video Codec | H.265 |
| CRF | 28 |
| Resolution | 2160p |
| Audio | AAC |
| Container | MP4 |
ffmpeg -i input.mov -c:v libx265 -crf 28 -tag:v hvc1 -c:a aac -b:a 192k -movflags +faststart output.mp4
Apple devices require the hvc1 tag for H.265 playback. Without -tag:v hvc1, Safari and Apple TV will refuse to play the file even though the codec is identical. The default hev1 tag works everywhere else.
A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.