My camera takes .mov files as movies. How can I remove all metadata from them so I can feel confident sharing them on youtube without accidentally sharing when/where they were filmed, what type of camera I have, etc. A command line one-liner is nice, but if it's too confusing, a GUI program would be better.
Well, I have a command-line answer:
Note: This only works with the
(note that the order in ffmpeg above is essential -- the input and output files must be specified at the very end)
NOTE: with a recent version of ffmpeg (and presumably avconv, but I haven't tested that), you can simply use:
Using avconv (or ffmpeg if that's your weapon of choice, the syntax is the same):
The easiest way to do this is to set
This will take the metadata from the first data stream (normally the video stream) and use that to replace the global metadata of the container file. This works because most of the time, the data streams have no meaningful metadata written to them; however, sometimes they do, and you want to completely get rid of that metadata. Unfortunately, the only way I can think of to do this used a pipe and two avconv processes.
This takes advantage of the fact that WAV files can't contain metadata (since the format was created before metadata tags existed).
Both of these methods blanked all metadata on a file I just tested them on - all that
BONUS: to create a blanked version of every MP4 in a directory, and then replace the metadata versions with the blanked versions (warning - pretty much irreversible):