Tag: #yuv420p
2 articles
Convert HEVC/H.265 to H.264 with FFmpeg — Compatibility
Convert HEVC (H.265) video to H.264 with FFmpeg for old players, video editors, and Windows. CRF quality control, 10-bit to 8-bit yuv420p fixes, copy-audio shortcut, and why H.264 plays everywhere.
FFmpeg: Fix "height not divisible by 2" / "width not divisible by 2"
Fix the libx264 error "height not divisible by 2" (and the width version) caused by odd dimensions after scaling or cropping. Learn why yuv420p needs even width and height, and three runnable fixes: scale with trunc, scale=-2 to keep aspect ratio, and pad to the next even size.