Search code examples
ffmpegmetadataflv

How can I remove metadata from a flv file?


with ffmpeg I can use the command below to remove the metadata in General section

ffmpeg -i input.flv -c copy -metadata description= -metadata title= output.flv

enter image description here

What if I want to remove the metadata in Video and Audio section?

EDIT: I want to remove writing library

enter image description here


Solution

  • With FFmpeg v4.0 or newer, for your particular case,

    ffmpeg -i in -c copy -bitexact -map_metadata -1 -vbsf filter_units=remove_types=6 out