FFmpeg Cookbook
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.
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.
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.