ffmpuzzle
Puzzle #17 · Hard · 6 params

H.264 · CRF 20 · 1080p · AAC · MP4

The scenario

Cloud gaming clip capture (like NVIDIA ShadowPlay). H.264 for instant hardware decoding, CRF 20 for high quality game visuals, 60fps to preserve smooth gameplay, AAC/MP4 for instant sharing to Discord or social media.

The answer

Video CodecH.264
CRF20
Resolution1080p
AudioAAC
ContainerMP4
Framerate60

The command

ffmpeg -i input.mkv -c:v libx264 -crf 20 -r 60 -c:a aac -b:a 192k -movflags +faststart output.mp4

Why

At 60fps, H.264 can use 2x the bitrate of 30fps content at the same CRF because there are twice as many frames. However, inter-frame compression means the actual file size increase is typically only 30-50%, not 100%.

Play

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

$ play today's puzzle

← all puzzles