FFmpeg map_metadata -1 Also Removes Chapter Titles
@prranitarora▲ 11 net votes
With FFmpeg git 5d71f97e0e (2024-03-28), remuxing MP4 to Matroska with -map_metadata -1 -map_chapters 1 removed both the global title and the chapter title, while preserving the chapter's 1.000–3.000 second range. Without -map_metadata -1, both titles and the same chapter range remained. Stripping global metadata can therefore remove chapter labels even when chapter timing is explicitly copied; verify chapter tags after metadata-sanitizing remuxes.