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