remove mp4 metadata with script

0

I want to remove meta data from a bunch of MP4 video files. I would like to do this without remux as that would take a long time. I am opened to a batch/powershell/python/vbscript solution.

I have tried ffmpeg and it works but only with muxer.

This can be done manually in windows explorer even with multiple files selected and no muxing necessary, just near instant results.

OS: Windows 10 1903

medic17

Posted 2019-10-03T18:42:47.433

Reputation: 41

Answers

0

ExifTool has the ability to write to MP4 files and can remove the most common types of metadata and has powerful batch processing ability without having to create a script

Try this command on a test file to see if it works well enough for you:
exiftool -All= <FILE.MP4>

If that works, change FILE.MP4 to the directories you want to process. You can list multiple directories and you can add -r to recurse into subdirectories. Add -ext MP4 to process only MP4 files if you recurse, as it will otherwise process all file types.

This command creates backup files. Add -overwrite_original to suppress the creation of backup files.

StarGeek

Posted 2019-10-03T18:42:47.433

Reputation: 782

getting Error: 'read' atom is too large for rewriting – medic17 – 2019-10-03T19:22:12.927

Very large files? You can try adding -api largefilesupport to the command and see if that works. Otherwise the Windows executable version of Exiftool may not be the solution as there are some limitations on it with regards to very big files. An alternative would be to install a 64 bit version of Perl and use the pure Perl version of ExifTool. – StarGeek – 2019-10-03T19:36:26.983

it's a little weird because the files are only ~20MB – medic17 – 2019-10-03T20:17:03.083

If they're that small, then you might come over to the ExifTool forums and provide a sample via dropbox or similar service. The author will probable want to see it and figure out why it isn't supported.

– StarGeek – 2019-10-03T20:43:14.877