[FFmpeg-user] Exclude ALL Metadata?

Lou lou at lrcd.com
Wed Aug 8 22:04:50 CEST 2012


On Wed, 8 Aug 2012 01:14:15 -0500
"Marek Kedzierski" <mark.kedzierski at gmail.com> wrote:

> The –map_metadata argument allows copying global/stream metadata from input to output.  If you use –1 as the input file it will strip the specified metadata.  so to strip metadata from global, video and audio streams do the following:
> 
> ffmpeg –i movie.mp4  -c copy –map_metadata:g –1:g  -map_metadata:s:v –1:g –map_metadata:s:a –1:g movie.nometadata.mp4

Note there is a difference between "–" and "-", and using your command
as is will result in an error:

  Unable to find a suitable output format for '–i'
  –i: Invalid argument


More information about the ffmpeg-user mailing list