FFmpeg Cookbook
JA
FFmpeg: Convert Variable Frame Rate (VFR) to Constant (CFR)
Convert VFR video to CFR with FFmpeg at 30, 60 or fractional frame rates. Check timestamps, preserve audio where possible, and verify whether conversion fixes your editing problem.
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 "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, generating missing timestamps with genpts, and re-encoding as a last resort.
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, audio codecs the player can't play in that container (such as Opus in MP4), and only one of several audio tracks surviving — with a fix command per cause.
Check and Remove Video Location Data Before Sharing
Inspect video GPS, author and device tags before sharing. Learn what metadata removal does not hide, how phone sharing settings differ from file contents, and what synthetic multi-track tests showed.
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.