All Articles
112 articles, newest first. Browse by category
FFmpeg: Audio Out of Sync After Converting — Causes and Fixes
Audio and video drifted out of sync only after converting with FFmpeg? Learn why stream copy carries over bad timestamps, why a VFR source breaks sync, and fix it by re-encoding, rebuilding timestamps with +genpts, normalizing with aresample, or forcing constant frame rate.
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 Audio Drift That Gets Worse Over Time
Audio fine at the start but progressively out of sync by the end? That is drift, not a constant offset. Learn why a clock mismatch or VFR source causes it, why -itsoffset can't fix drift, and correct it with aresample async, then standardize with a fixed sample rate or CFR.
Reduce Video Size for Email with FFmpeg — Gmail/Outlook
Shrink a video small enough to email with FFmpeg. Hit Gmail's and Outlook.com's 25 MB attachment caps with CRF, downscaling, and a two-pass target-bitrate workflow. Includes the bitrate-from-size formula.
FFmpeg: Convert Variable Frame Rate (VFR) to Constant (CFR)
Convert a variable frame rate (VFR) video to constant frame rate (CFR) with FFmpeg. Use ffprobe to suspect VFR by comparing r_frame_rate and avg_frame_rate, then force CFR with -fps_mode cfr — the FFmpeg 8.x replacement for the deprecated -vsync cfr. Fixes the root cause of many sync issues.
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.
Extract Frames from Video with FFmpeg — Save as PNG or JPG
Extract frames from a video as image files with FFmpeg. Save every frame, grab one frame per second with fps, capture a single frame at a timestamp, and choose PNG vs JPG. Practical guide with quality tips, troubleshooting, and FAQ.
FFmpeg -c copy vs Re-encode — Stream Copy or Re-compress?
Understand the most important choice in FFmpeg: -c copy (stream copy — lossless, instant) versus re-encoding (lossy, slow, flexible). Learn when each is appropriate, the container compatibility caveat, and runnable commands for both paths.
FFmpeg faststart — Fix Video That Won't Start Until Fully Downloaded
Your MP4 is slow to start playing on the web. The cause is the moov atom sitting at the end of the file, which delays playback. Fix it with FFmpeg's -movflags +faststart, which moves the index to the front for progressive download and streaming.
FFmpeg: Could not find codec parameters — Causes and Fixes
Fix the FFmpeg error "Could not find codec parameters". Learn the three common causes — a truncated or corrupt stream, too little data probed, and an exotic codec — and apply runnable fixes: raise analyzeduration/probesize, inspect with ffprobe, or re-encode.
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.
FFmpeg: Fix "Invalid data found when processing input"
Diagnose and fix the FFmpeg "Invalid data found when processing input" error. Common causes — truncated downloads, non-media data saved with a media extension, partial files — plus ffprobe checks, re-muxing with error tolerance, genpts repair, and re-encoding as a last resort.
FFmpeg: Too many packets buffered for output stream — Fix
Fix the FFmpeg error "Too many packets buffered for output stream". Learn why the muxing queue overflows when one stream's packets pile up, how to raise -max_muxing_queue_size, and why re-encoding instead of copying often resolves the underlying interleaving problem.
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.
M4A to MP3 with FFmpeg — Bitrate, VBR, and Quality
Convert M4A (usually AAC, sometimes ALAC) audio to MP3 with FFmpeg using libmp3lame. Covers constant bitrate (-b:a 192k), variable bitrate (-q:a 2), choosing the right quality, and why M4A to MP3 always re-encodes. Practical, runnable commands.
MOV to MP4 with FFmpeg — Lossless Copy and Re-encode
Convert QuickTime MOV files to MP4 with FFmpeg. Lossless remux with -c copy when codecs are MP4-compatible (H.264/AAC), and a re-encode path for ProRes or PCM audio. Container vs codec explained, plus faststart, audio fixes, and troubleshooting.
MP4 to MP3 with FFmpeg — Extract Audio to MP3 the Right Way
Extract and convert MP4 audio to MP3 with FFmpeg. Use libmp3lame with VBR (-q:a) or CBR (-b:a), strip the video with -vn, pick the right bitrate, trim sections, and fix common errors. Full troubleshooting and FAQ included.
Remove Audio from Video with FFmpeg — Mute a Track Losslessly
Strip or mute the audio track of a video with FFmpeg. Use -an to drop sound while copying video losslessly, the -map approach to keep specific streams, and learn how this differs from extracting audio. Practical guide with troubleshooting and FAQ.
Replace Audio in a Video with FFmpeg — Swap the Soundtrack
Replace a video's audio with a new audio file using FFmpeg. Map video from one input and audio from another, keep the video lossless, use -shortest to match lengths, and handle the remove-then-add workflow. Practical guide with troubleshooting and FAQ.
Split a Video into Parts with FFmpeg — Segment Muxer Guide
Split one video into multiple files with FFmpeg. Use the segment muxer to cut by fixed time intervals losslessly, extract a single part by start time and duration, and understand keyframe accuracy. Practical guide with troubleshooting and FAQ.
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.
Convert WAV to MP3 with FFmpeg — Bitrate and Quality Guide
Convert WAV to MP3 with FFmpeg using libmp3lame. Compare VBR (-q:a) and CBR (-b:a), choose a bitrate for quality vs. size, control mono/stereo and sample rate, and fix common conversion errors. Full troubleshooting and FAQ.
FFmpeg: Missing Audio Track / No Audio Output — Causes and Fixes
Diagnose and fix a missing audio track or no audio output after FFmpeg conversion: check with ffprobe, forgotten -map entries, a stray -an, container-incompatible codecs (MP4 + Opus), and only the first of several audio tracks surviving — with a fix command per cause.
FFmpeg Permission Denied: Fix Cannot Read Input or Write Output on Linux, macOS, Windows, Docker
Fix the FFmpeg 'permission denied' error by separating input-read from output-write failures, with solutions for Linux, macOS, Windows, and Docker: checking permissions with ls -l / ls -ld, chmod, writing to a writable directory, the Docker --user flag, and Windows file locks.
FFmpeg invalid PTS/DTS & non monotonically increasing dts — Causes and Fixes
Fix the FFmpeg 'non monotonically increasing dts to muxer' error and invalid PTS/DTS problems: timestamp regeneration with genpts, negative-TS correction, VFR to CFR conversion, and setpts/asetpts resets — plus when re-encoding is required.
FFmpeg RTMP Live Streaming — Push Video to YouTube Live & Twitch
How to live stream to YouTube Live and Twitch using FFmpeg's RTMP protocol: the minimal push command, every option (-re, -f flv, GOP/-g, pseudo-CBR with maxrate/bufsize), low-overhead pass-through with -c copy, webcam streaming, and common error fixes.
SRT Streaming — Low-Latency, Reliable Video Transport with FFmpeg
Stream video with FFmpeg over SRT (Secure Reliable Transport) for low latency and strong packet-loss resilience. Covers caller/listener/rendezvous connection modes, pkt_size and latency tuning, MPEG-TS delivery, and how SRT differs from RTMP — with practical ffmpeg streaming commands.
UDP/Multicast Streaming — Low-Latency LAN Transport with FFmpeg
How to do UDP unicast and multicast streaming with FFmpeg for low-latency video transport on a LAN. Covers -f mpegts, pkt_size=1316, fifo_size, and overrun_nonfatal settings, from unicast send/receive to multicast distribution, plus when to choose RTMP or SRT instead.
Vertical Video (9:16) for Instagram & TikTok: Crop and Pad
Convert horizontal video to vertical 9:16 with FFmpeg for Shorts, Reels, and TikTok. Learn center crop, blurred-background padding, position-specific crop, and aspect-ratio conversion with the scale filter, with primary sources.
Sharpen and Blur Video with the FFmpeg unsharp Filter
Learn how to sharpen or softly blur video with FFmpeg's unsharp filter. Covers luma/chroma matrix settings, how the unsharp mask algorithm works, and how to use it as a blur — with primary sources.
iPhone Video Won't Play on Windows? Fix HEVC, Black Screen, and Sideways Videos
iPhone videos often fail to play on Windows PCs — codec errors, audio-only playback, or portrait videos rotated sideways. Learn the three common causes (HEVC, hvc1/hev1 tagging, rotation metadata) and fix them in your browser or with one FFmpeg command.
How to Check and Remove GPS Location from a Video — Complete Privacy Guide
iPhone and Android cameras embed GPS coordinates in every video. This guide shows you how to inspect what's actually in your file (exiftool, ffprobe, browser tools) and how to strip the location, timestamp, and camera info before posting to social — losslessly.
Stream Mapping with -map — Selecting Video, Audio, and Subtitle Streams
How to explicitly select streams with FFmpeg's -map option. Practical commands for extracting multiple audio tracks, subtitles, and specific streams, plus negative mapping and metadata copying.
Detect Silence — Find Silent Sections with the silencedetect Filter
Learn how to use FFmpeg's silencedetect filter to get the start time, end time, and duration of silent sections in audio files and videos. Covers setting the threshold (noise) and minimum duration, plus how to read the output, with primary sources.
Analyze Video Signal Statistics with the signalstats Filter
Use FFmpeg's signalstats filter to extract video signal statistics — luma/chroma min/max, RMS, and deltas. Covers broadcast QC, frame-level analysis, CSV export, and overlaying stats with drawtext.
Using FFmpeg via Pipes (stdin/stdout)
How to read data from standard input (stdin) and write to standard output (stdout) with FFmpeg. Covers streaming with pipes, integration with curl, calling FFmpeg from Python, and how to use the pipe: protocol.
Fixing the moov atom not found Error — Repairing Broken MP4 Files
Understand and fix the 'moov atom not found' error in FFmpeg. A clear guide to MP4 file structure, faststart optimization, qt-faststart, and recovering truncated recordings.
Apply 3D LUTs for Color Grading with the lut3d Filter
Apply 3D LUT files (.cube, .3dl, and more) for color grading with FFmpeg's lut3d filter. Covers LUT fundamentals, application commands, intensity adjustment, and creating a film look, with primary sources.
Adjust Hue, Saturation, and Brightness with the FFmpeg hue Filter
Adjust the hue, saturation, and brightness of video with FFmpeg's hue filter. Learn what each parameter means, how to apply it to animated color effects and grayscale conversion, all backed by primary sources.
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.
Tone Curve Color Correction with the FFmpeg curves Filter
Learn how to apply tone curve correction with FFmpeg's curves filter: setting per-RGB and master curves, using built-in presets, and independently adjusting highlights and shadows, with primary sources.
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.
How FFmpeg Filtergraphs Work and How to Write Complex Filters
Understand FFmpeg filtergraphs and how to write -filter_complex. Learn the difference between simple and complex filters, labels, chains, and practical examples of multi-input and multi-output filters with split, overlay, amix, and more.
CloudConvert Alternative — Convert Video Without Uploading It
CloudConvert is a powerful conversion service, but it requires uploading your file. FFmpeg Cookbook converts video and audio entirely in your browser — no upload, no account, no API quota. Compare formats, limits, and privacy trade-offs.
FFmpeg Fade & xfade Filters — Crossfade Transitions
Add fade-in/fade-out with FFmpeg's fade filter and crossfade between two clips with the xfade filter. Covers built-in transition effects, timing control with offset/duration, chaining multiple clips, and audio crossfades — with primary sources.
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.
VEED.io Alternative — No Watermark, No Signup, No Upload
VEED.io is great until you hit the watermark, signup wall, or upload wait. FFmpeg Cookbook is a free browser-based alternative for subtitles, watermarks, and mosaic blur — running entirely on your device, with no account required.
Adjust Brightness, Contrast, Gamma, and Saturation with the eq Filter
Learn how to adjust video brightness, contrast, gamma, saturation, and hue with FFmpeg's eq filter. Covers the meaning and value range of each parameter, combining multiple parameters, and dynamic time-based changes — backed by primary sources.
Draw Text on Video with the drawtext Filter
Learn how to burn text, timecodes, and scrolling tickers onto video with FFmpeg's drawtext filter. Covers font selection, position/color/size settings, and dynamic text expressions, with primary sources included.
Draw Rectangles, Lines, and Grids with the FFmpeg drawbox Filter
Learn how to draw rectangular boxes and lines on video with the FFmpeg drawbox filter. Covers coordinate, color, line-width, and fill settings, combining drawbox with drawgrid, and applying it to visualize object-detection results — all backed by primary sources.
Add Background Music with FFmpeg — amix BGM Guide
How to add BGM to a video with FFmpeg. Covers amix mixing, volume balance, length adjustment (apad/aloop), fade in/out, and auto-ducking with copy-paste commands and primary sources.
Change Video Speed with FFmpeg — Audio Sync Guide
Speed up or slow down video with FFmpeg using setpts and atempo. Covers 0.25x–10x ratios, audio-sync without drift, pitch-preserving rubberband, variable-speed sections, and smooth slow-mo via minterpolate.
Remove Black Bars with FFmpeg — cropdetect Guide
Auto-detect black bars with FFmpeg cropdetect, then strip them with the crop filter. Covers letterbox, pillarbox, even-dimension fixes, non-pure-black bars, and the reverse pad workflow.
Blur Faces in Video with FFmpeg — Mosaic Area Guide
Apply mosaic or blur to a specific region of a video with FFmpeg. Covers crop+overlay sandwich pattern, multi-region, animated tracking, face/license-plate privacy, and quality preservation.
FFmpeg Screen Recording — Windows, macOS, Linux
How to record your desktop screen with FFmpeg on every OS. Covers Windows gdigrab/ddagrab, macOS avfoundation, Linux x11grab, capturing system audio, and file-size optimization with working commands.
FFmpeg: Lossless Concatenation with the concat Demuxer
Concatenate multiple video files losslessly using FFmpeg's concat demuxer. Learn how to build concat.txt, the same-codec requirement, audio concatenation, and integrity checks — with links to primary sources.
Color Correction with FFmpeg — curves / eq / colorbalance Filters
Correct brightness, contrast, saturation, and color casts in video with FFmpeg's curves, eq, and colorbalance filters. Covers when to pick each filter, exposure tweaks, and white-balance adjustments.
Low-Latency HLS with FFmpeg — LL-HLS Setup
Generate Apple-spec low-latency HLS streams with FFmpeg. Covers hls_time, hls_flags, partial segments, EXT-X-SERVER-CONTROL, player compatibility, and measured latency — with working commands and a glass-to-glass latency comparison table.
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.
iPhone MOV to MP4 — The Complete Guide with the hvc1 Tag Fix
Make iPhone-captured HEVC .mov files play on Windows, Discord, Twitter, and the rest of the world. Lossless remux, hvc1 tag explained, H.264 re-encode for older players, batch conversion, and iPhone camera-format settings — covered with FFmpeg.
MKV to MP4 Remux — No Quality Loss with FFmpeg
Convert MKV to MP4 the fast, lossless way using FFmpeg remux. Remux vs. re-encode compared, the three typical failure modes (subtitle format, non-standard audio, AV1/VP9), movflags +faststart explained, and a practical audio-only re-encode recipe.
TS to MP4 with FFmpeg — Lossless Remux and CM Cuts
Convert TS/m2ts files from Japanese terrestrial TV recordings to MP4 with FFmpeg. Lossless remuxing with -c copy, PCR wraparound fixes, CM cutting, ARIB subtitle handling, BDAV extraction, and AACS errors explained. A practical guide for PT3/TVTest users.
Green-Screen Compositing with the FFmpeg chromakey Filter
Use FFmpeg's chromakey filter to composite green-screen or blue-screen footage. Covers key color, similarity, and blend tuning, compositing over a background video, and spill suppression.
Applying Box Blur with the FFmpeg boxblur Filter
Learn how to apply a uniform box blur to video with FFmpeg's boxblur filter. Covers radius and iteration count, independent control of luma and chroma, and privacy-masking techniques.
FFmpeg No Sound Output - Stream Mapping Fixes
All the reasons your FFmpeg-converted video or audio plays silent — missing audio streams, -an, incompatible codecs, sample-rate and channel-count issues — with diagnostics and fixes for each.
FFmpeg Beginner's Guide: Installation and Basic Commands
A beginner-friendly introduction to FFmpeg — what it is, how to install it, and the basic command syntax. Includes task-oriented links to conversion, audio extraction, and GIF creation tools.
FFmpeg Codec Errors - Unknown Encoder Fixes
Fix FFmpeg errors like 'Unknown encoder', 'Encoder not found', and 'codec not currently supported'. Covers build flags, alternative codecs, and licensing issues.
FFmpeg H.265/HEVC Errors — libx265 Fixes
Fix H.265/HEVC encoding failures in FFmpeg. Covers alternatives when libx265 is unavailable, profile and level settings, the hvc1 tag for Apple Silicon, and explicit Main profile specification.
FFmpeg No Such File Error - Paths and Spaces
Fix FFmpeg's 'No such file or directory' error. Covers the four common causes — path spaces, relative paths, extension mismatches, and glob expansion — with quick commands and verification steps.
MP4 vs WebM vs MOV vs MKV - Format Guide
A side-by-side comparison of MP4, WebM, MOV, and MKV — characteristics, use cases, and codec support. Includes FFmpeg conversion commands and recommended formats by scenario.
FFmpeg YouTube Encoding Settings — 2026 Guide
Optimal FFmpeg encoding settings for YouTube uploads. A complete guide to CRF, bitrate, resolution, frame rate, and audio settings for H.264 and H.265.
ffmpeg.wasm SharedArrayBuffer Error — COOP/COEP Fix
Fix 'SharedArrayBuffer is not defined' and 'Cannot use SharedArrayBuffer' errors when using ffmpeg.wasm. Covers COOP/COEP headers, coi-serviceworker, and configurations for common servers.
Detect Black Frames — Find Scene Boundaries with blackdetect
Use FFmpeg's blackdetect filter to locate runs of black frames in a video. Covers black_min_duration and luminance thresholds, plus applications to commercial breaks and chapter detection.
AV1 Encoding with FFmpeg — SVT-AV1 and libaom Guide
Learn how to encode AV1 video with FFmpeg. Covers libsvtav1 (fast) vs libaom-av1, CRF mode, 2-pass encoding, comparison with H.264/H.265, and browser compatibility.
FFmpeg Batch Convert — Scripts, Parallel, Error Handling
Automate FFmpeg batch conversions: for loops, skip-already-converted logic, separate output directories, GNU parallel for multi-core processing, xargs, structured error handling with logs, Windows batch files, five error fixes, and five FAQ answers.
Convert HDR to SDR with FFmpeg — Tone Mapping Complete Guide
Learn how to convert HDR (HDR10/HLG) video to SDR with FFmpeg. Covers zscale tone mapping, color space conversion (BT.2020→BT.709), pixel format conversion, and YouTube upload settings.
Audio Fade-In and Fade-Out with the afade Filter
Create smooth audio fades in FFmpeg with the afade filter. Covers start time, duration, curve types, applying fades to video audio tracks, and combining fade-in with fade-out in one command.
Automatically Duck BGM Under Narration with sidechaincompress
Implement audio ducking in FFmpeg with the sidechaincompress filter. Automatically lower background music whenever narration plays, with tunable threshold, ratio, attack, and release.
Fix Audio Delay Manually with adelay and -itsoffset
Fix audio/video sync by applying a manual offset in FFmpeg. Add audio delay with the adelay filter, shift video or audio timestamps with -itsoffset, and measure the delay with ffprobe.
FFmpeg Noise Gate — Remove Background Noise with agate
Use FFmpeg's agate filter to apply a noise gate that removes background hum and tape hiss during silence. Covers threshold, attack, release, and range parameters, plus practical podcast and voice-over settings.
FFmpeg astats — Measure RMS, Peak, and DC Offset
Learn how to measure audio statistics with FFmpeg's astats filter — RMS and peak levels, DC offset, dynamic range, per-channel measurements, log output, and how it compares to volumedetect.
Add, Select, and Remove Multiple Audio Tracks — Managing Multilingual Audio with FFmpeg
How to create and edit video files with multiple audio tracks using FFmpeg. Learn to add, select, and remove audio tracks, set language metadata, mark a default track, and understand the differences between MKV and MP4.
Audio Format Conversion — WAV, MP3, AAC, and FLAC
Convert audio formats with FFmpeg: WAV, MP3, AAC, FLAC. Covers -c:a encoder, -b:a vs -q:a quality control, and -ar sample rate conversion.
FFmpeg Fix Audio Sync — -itsoffset, adelay, and -async Explained
Fix audio-video sync drift (lip sync issues) with FFmpeg: -itsoffset for lossless timestamp shift, adelay filter for millisecond-precise audio delay, -async for auto-correction, measuring drift with ffprobe, five error fixes, and five FAQ answers.
FFmpeg Command Basic Syntax — Input, Filter, and Output Order
Master FFmpeg command syntax: global options, -i input, -c:v/-c:a stream selection, automatic format detection, and how to avoid common ordering mistakes.
FFmpeg Frame Rate — -r vs fps Filter Guide
Change video frame rates with FFmpeg: fps filter vs -r option comparison and when each is correct, checking fps with ffprobe, 60→30→24fps conversion examples, timelapse creation, VFR handling, five error fixes, and five FAQ answers.
FFmpeg Compress Video — CRF, Bitrate, Preset Guide
Compress MP4 and MOV video with FFmpeg: CRF mode vs bitrate mode explained, H.264 vs H.265 comparison table, preset speed/size benchmarks, resolution downscaling, audio compression, and 2-pass encoding. Reduce file size by 50–80%.
FFmpeg Error Reference — 10 Common Fixes
Fix common FFmpeg errors fast: Unknown encoder, moov atom not found, height not divisible by 2, Invalid data found when processing input, and more. Each error entry shows the exact message, root cause, and the fix command — searchable quick reference.
FFmpeg Join Videos — concat Demuxer vs Filter
Join and concatenate videos with FFmpeg: concat demuxer for fast no-re-encode merging of same-format files, concat filter for different formats and resolutions. concat.txt syntax, filter_complex approach, audio track alignment, and five common error fixes.
MPEG-DASH Segmenting with FFmpeg — Build Adaptive Streaming
Generate MPEG-DASH segment files and MPD manifests with FFmpeg. Covers multi-bitrate adaptive streaming (ABR), segment duration, and the difference between live and VOD — with primary sources.
FFmpeg Deinterlace Video - yadif Guide
Use FFmpeg's yadif filter to convert interlaced (combed) video to progressive scan. Covers yadif's mode and parity options, comparison with fieldmatch/decimate, and tips for TV recordings and DV camera footage.
FFmpeg Extract Audio — MP3, AAC, WAV, FLAC
Extract audio from video with FFmpeg: lossless copy (-c:a copy) vs re-encoding and when to use each, MP3/AAC/FLAC/WAV format-specific commands, multi-track selection with -map, time-range extraction, batch processing, and five common error fixes.
FFmpeg Extract Thumbnails — vframes and thumbnail
Extract video thumbnails with FFmpeg: -vframes for a specific timestamp, thumbnail filter for best-frame selection, resolution scaling, and PNG vs JPG output.
The Difference and Role of ffmpeg / ffprobe / ffplay
Understand the three FFmpeg CLI tools: ffprobe for media inspection, ffmpeg for conversion and encoding, ffplay for playback and testing. When to use each.
Inspecting Metadata and Stream Information with ffprobe
Inspect video/audio metadata with ffprobe: codecs, resolution, frame rate, bitrate, and stream info. Covers JSON output and combining with jq for scripting.
FFmpeg Video to GIF — palettegen Quality Guide
Convert video to high-quality GIF with FFmpeg's two-pass palettegen + paletteuse pipeline. Covers fps/resolution/dithering comparison tables, file size optimization, trimming a clip before GIF conversion, batch processing, and five common error fixes.
FFmpeg HLS Segmenting — Web Streaming Guide
Generate HLS segments and m3u8 playlists with FFmpeg for HTTP Live Streaming. Covers hls_time, hls_list_size, hls_segment_filename, and adaptive bitrate basics.
FFmpeg Installation Guide for Windows / macOS / Linux
Install FFmpeg on Windows, macOS, and Linux: gyan.dev builds, Homebrew, apt/dnf. Configure PATH and verify with ffmpeg -version. Official sources only — get started in minutes.
Loudness Normalization — EBU R128 with the loudnorm Filter
Normalize audio to EBU R128 standard with FFmpeg loudnorm filter. Single-pass and two-pass measurement modes. Key parameters: I (integrated LUFS), TP, and LRA.
FFmpeg Rotate Video — Fix Phone Orientation
Rotate and flip video with FFmpeg: transpose filter values (0–3), hflip/vflip for mirror effects, fixing iPhone and Android portrait-mode videos that appear sideways, metadata-only rotation vs re-encoding comparison, five error fixes, and five FAQ answers.
FFmpeg Scale Filter - Resize Without Distortion
Resize video with FFmpeg scale filter: aspect ratio auto-preservation (-1/-2), relative scaling, max resolution capping, and letterboxing with the pad filter.
FFmpeg Scene Detection - Find Cuts Automatically
Detect scene changes in video using FFmpeg's scdet and select filters. Covers tuning the detection threshold, reading scene-change timestamps, and extracting thumbnails at every cut.
FFmpeg Image Sequence to Video — Slideshow Guide
Create video slideshows and timelapses with FFmpeg: sequential PNG/JPG to video, single image looping, frame-drop timelapse, and pix_fmt yuv420p compatibility.
FFmpeg Subtitles — Burn SRT/ASS into Video
Burn subtitles permanently into video with FFmpeg: subtitles filter for SRT/VTT, ass filter for styled ASS/SSA, font and position customization, hard sub vs soft sub comparison, libass installation, and five common error fixes.
How to Trim and Cut Video with FFmpeg — Complete -ss/-to/-t Guide
Trim video precisely with FFmpeg. Learn -ss/-to/-t options, input-side vs output-side -ss trade-offs, stream-copy fast cutting, frame-accurate re-encoding, batch trim scripts, and how to fix the keyframe artifact problem.
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.
Video Format Conversion Basics (MP4, MKV, WebM, MOV)
Convert video formats MP4, MKV, WebM, MOV with FFmpeg: container vs codec differences, when -c copy works vs fails, and ffprobe for codec inspection.
Video Stabilization — vidstabdetect and vidstabtransform
Stabilize shaky video with FFmpeg vidstab filters: vidstabdetect + vidstabtransform two-pass pipeline, smoothing strength, crop modes, and libvidstab setup.
FFmpeg Watermark Overlay — Logo and Text Guide
Add watermarks and logos to video with FFmpeg's overlay filter. Covers position variables, transparent PNG alpha support, opacity control, time-limited display, scrolling animation, multiple logos, and five common error fixes.
What Is FFmpeg? Video Conversion Tool Explained
Beginner's guide to FFmpeg: what it does, codec vs container differences, video conversion, compression, audio extraction, GIF creation, subtitle burning, the ffmpeg/ffprobe/ffplay tools, libav* libraries, and five FAQ answers.
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.