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.
| Video Codec | H.264 |
| CRF | 20 |
| Resolution | 1080p |
| Audio | AAC |
| Container | MP4 |
| Framerate | 60 |
ffmpeg -i input.mkv -c:v libx264 -crf 20 -r 60 -c:a aac -b:a 192k -movflags +faststart output.mp4
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%.
A new FFmpeg encoding puzzle every day. Six tries, in the browser or from your terminal.