FFmpeg Codec Encoder
Command generator for video encoding. Choose between libx264, libx265, and libvpx-vp9 with CRF and bitrate controls.
H.264 (AVC) Constant Quality
Best for archiving and general use.
ffmpeg -i input.mp4 -c:v libx264 -crf 23 -c:a aac output.mp4
Note:
-crf 23 is the default quality. Range is 0-51. Lower is better quality. 18 is visually lossless.H.264 Compatibility Mode
Ensure playback on QuickTime/MacOS.
ffmpeg -i input.mp4 -c:v libx264 -pix_fmt yuv420p -c:a aac output.mp4
Note:
-pix_fmt yuv420p forces the pixel format to YUV 4:2:0, which is required for compatibility with many players.VIDEO API
Discover why Hunt is the preferred API provider for developers.