ffmpuzzle
Puzzle #33 · Hard · 6 params

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

The scenario

Medical training video for a hospital e-learning platform. H.264 Baseline profile at 29.97fps (NTSC standard from the surgical camera), CRF 22 to preserve clinical detail, AAC/MP4 for browser-based LMS playback on hospital tablets.

The answer

Video CodecH.264
CRF22
Resolution1080p
AudioAAC
ContainerMP4
Framerate29.97

The command

ffmpeg -i input.mxf -c:v libx264 -crf 22 -r 29.97 -c:a aac -b:a 192k -movflags +faststart output.mp4

Why

29.97 fps is technically 30000/1001 fps. This NTSC legacy frame rate is still the default for most US medical and broadcast equipment. Mixing 29.97 and 30fps footage causes audio drift of ~1 frame per 33 seconds.

Play

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

$ play today's puzzle

← all puzzles