Jun 12, 2025 Scripting Bash FFmpeg sed FFmpeg + sed: How to insert clean metadata based on input file name This post shows you how to extract the movie/show name from the file name and insert it into the title metadata field of MKV & MP4 containers.