Tag: #h264
11 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.
AVI to MP4 with FFmpeg — DivX/Xvid/MJPEG to H.264/AAC
Convert old AVI files (DivX, Xvid, MJPEG, MP3 audio) to MP4 with FFmpeg. Re-encode to H.264/AAC with CRF, learn when stream-copy works versus when you must re-encode, add faststart for web playback, plus troubleshooting and FAQ.
FFmpeg: Unknown encoder 'libx264' — Causes and Fixes
Fix the FFmpeg error "Unknown encoder 'libx264'". Learn why a build ships without libx264, how to confirm with ffmpeg -encoders and -codecs, how to install a full build per OS, and which alternative encoders to use when x264 is unavailable.
WebM to MP4 with FFmpeg — VP8/VP9 + Opus to H.264/AAC
Convert WebM (VP8/VP9 video, Opus/Vorbis audio) to MP4 with FFmpeg. Re-encode to H.264/AAC with CRF, when VP9 stream-copy is possible, faststart for web playback, quality/size trade-offs, and a full troubleshooting and FAQ section.
VideoToolbox Hardware Encoding (macOS / Apple Silicon) — GPU Transcoding with FFmpeg
How to do GPU hardware encoding with FFmpeg using macOS VideoToolbox. Covers the basics of h264_videotoolbox and hevc_videotoolbox, Apple Silicon support, bitrate and quality options, and how to fix common errors.
VAAPI Hardware Encoding on Linux — Accelerate FFmpeg with Intel and AMD GPUs
How to do GPU hardware encoding in FFmpeg using VAAPI on Linux. Covers the basic setup for Intel iGPUs and AMD GPUs, h264_vaapi / hevc_vaapi / av1_vaapi command examples, prerequisites, and common pitfalls.
NVENC (NVIDIA GPU) Hardware Encoding — Fast GPU Conversion with FFmpeg
How to perform GPU hardware encoding with NVIDIA NVENC in FFmpeg. Covers h264_nvenc and hevc_nvenc basics, preset and quality options, CPU comparison, and error fixes.
HandBrake Alternative — Compress Video Online Without Installing
Compare HandBrake with FFmpeg Cookbook's browser-based video compressor. Same H.264/H.265 quality, no install, no upload, free forever — plus learn the equivalent FFmpeg commands behind every setting.
Discord Video Compression with FFmpeg — Bitrate Math
Compress video to fit Discord's upload cap (Free 10 MB, Nitro Basic 25 MB, Boost Lv2 50 MB, Nitro 500 MB). Includes the bitrate reverse-calc formula, 2-pass encoding, resolution trade-offs, and a Windows drag-and-drop .bat.
Two-Pass Encoding — Precise Bitrate and File Size Control
FFmpeg two-pass encoding for precise bitrate and file size control. Covers pass 1 analysis, pass 2 encoding, passlogfile option, and H.264/H.265 examples.
Complete Guide to Converting Video to MP4 (H.264/AAC) with FFmpeg
Convert any video to MP4 with FFmpeg: H.264 (libx264) + AAC, best CRF settings, -preset guide, stream copy shortcut. The complete ffmpeg video-to-mp4 command reference.