ffmpuzzle
Puzzle #41 · Hard · 6 params

H.265 · Bitrate 30M · 2160p · AAC · MP4

The scenario

Music video delivery for a major label on Apple Music. H.265 at 4K/24fps (cinematic look), 30 Mbps for Apple's 4K HDR spec, AAC for Apple ecosystem compatibility, MP4 container. Destined for the Apple TV screensaver rotation.

The answer

Video CodecH.265
Bitrate30M
Resolution2160p
AudioAAC
ContainerMP4
Framerate24

The command

ffmpeg -i input.mov -c:v libx265 -b:v 30M -r 24 -c:a aac -b:a 256k -movflags +faststart output.mp4

Why

Apple Music video specifications require H.265 for 4K content at exactly 24fps with -tag:v hvc1. Submitting at 23.976fps (the actual cinema standard) is rejected. Apple rounds up, and the 0.1% speed difference is inaudible.

Play

A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.

$ play today's puzzle

← all puzzles