Tool
Did joining several videos with ffmpeg -f concat -c copy end in an error like ‘Stream codec does not match’? Paste the ffprobe output of the files you want to join and this tool shows in a table which file differs and in what, then builds the command that matches only the files that differ, along with a list.txt. The input is analyzed only inside this browser.
Run ffprobe -hide_banner clip.mp4 on each file and paste the outputs one after another. The files are split at the Input #0 … from 'name': lines. Pasted text is not sent to a server.
FFmpeg’s concat demuxer joins the compressed packets inside the files as they are. Because it doesn’t decode and rebuild the video, quality stays identical and it is fast, but in exchange it treats the result as a single stream and interprets the whole thing with the configuration data of the first file. So the streams’ ‘specs’ must be the same in every file. This tool compares the items below.
This split is the criteria this site put together from the FFmpeg concat documentation and widely shared experience. It doesn’t guarantee that a difference in one of these items always fails, or that identical items always succeed, so play the result yourself to check.
ffprobe -hide_banner clip.mp4. The screen shows an Input #0 … from 'clip.mp4': line and Stream #0:0 … Video: … lines.Get-ChildItem *.mp4 | ForEach-Object { ffprobe -hide_banner $_.Name 2>&1 }. ffprobe sends this information to the error output (stderr), so 2>&1 is needed.Input # line. Even if a line is missing, a stream number that appears again is treated as a new file.-c:v copy, and if the audio matches it uses -c:a copy, which keeps the loss to the smallest scope. The quality target such as -crf 18 is just a starting value, so pick it with the CRF recommender.list.txt and joins them with -f concat -safe 0 -c copy. Files that were matched go in under a norm_N name.-c:v copy and re-encodes just the audio.-show_streams, JSON output and MediaInfo format can’t be read. Codec names are compared exactly as FFmpeg writes them (h264, hevc, aac and so on).