Issue
I would like to remove the following metadata from a .mp4 file:
See image from File --> Right click --> Properties --> Details
Does the OS automatically always "fill" those fields? I'm new to this. The data I'm most interested in removing is the "Owner" and "Computer" fields.
I've already tried...
Using ExifTools:
exiftool -all= hpp.mp4
Using mat2:
mat2 hpp.mp4
And using ffmpeg:
ffmpeg -i hpp.mp4 -map_metadata -1 -c:v copy -c:a copy out.mp4
Exactly nothing changed..
Solution
Using Google Translate, I believe this would be the same properties section in English
All of this data is file system data and can not be removed. If there is some specific data you want removed, then you should mention it in your question.
Your listed exiftool command will delete all data that exiftool can delete, but this will not be all the metadata in the file. Some of the data, specifically several of the date/time tags (CreateDate
/ModifyDate
/Track*date
/Media*Date
), cannot be deleted, only set to 0, as the are integral to the structure of the video file. Exiftool also cannot delete EXIF data in a video file as such data is non-standard. Additionally, exiftool cannot delete steam data, which can include a GPS track (also non-standard). Note that in the case of the above non-standard data, every camera manufacturer embeds such data in different ways, sometimes different ways between two models from the same manufacturer. This makes it extremely difficult to edit such data without corrupting the video data.
Ffmpeg isn't my strong suit, but I believe that your listed ffmpeg command will remove all possible metadata, as the only thing left will be the video/audio streams.
Answered By - StarGeek Answer Checked By - Clifford M. (WPSolving Volunteer)