14

When I try using the normal way in Windows 10, it throws an error. I have some videos I uploaded to a YouTube channel a long time ago, and I'd like to share them, but first I need to remove the metadata.

The normal way I do this for images is to right click and select "Remove Properties and Personal Information," but when I try to do this with an mp4, it doesn't succeed. I've checked the security settings to make sure I have full control over this file, which I do, but it seems impossible to remove this metadata. I've tried saving-as using VLC and even tried within different folders, but nothing works.

Surely there must be a tool to remove metadata from a mp4 just as there is with an image, but none of my searches have been helpful. I'd much appreciate it if anyone can help!

top 19 comments
sorted by: hot top controversial new old
[-] Nawor3565@lemmy.blahaj.zone 8 points 1 year ago* (last edited 1 year ago)

Use FFmpeg. You can copy only the audio and video channels (and subtitles) without anything else using a command like:

ffmpeg -i INPUT.mp4 -map_metadata -1 -c:v copy -c:a copy -c:s copy OUTPUT.mp4

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I've downloaded FFmepg in the past, but I'm too dull and non-techy to understand it. I'm bound to royally fuck up anything in command prompt. Is there a setting I can use in Windows to allow me to remove the metadata by right clicking like I can with documents or images?

[-] Nawor3565@lemmy.blahaj.zone 5 points 1 year ago* (last edited 1 year ago)

You can try installing Handbrake, it's basically a user interface to make using FFmpeg easier. As far as removing all the metadata with a click, I'm not aware of anything that does that.

Honestly though, I think this is a simple enough case that you could figure it out even if you're non-techy. The basic steps would be:

  • make a folder somewhere to keep everything in one place

  • download FFmpeg from here (this is one of the official Windows builds)

  • extract the 7z file you downloaded, there's a folder inside called "bin" and inside of that should be three .exe files, one of which is just named "ffmpeg.exe". Put that .exe into the folder you made earlier

  • open Notepad, copy/paste the command from my first comment into Notepad, and save it as something like "remove_metadata.bat" to your folder from earlier. In the window where you choose where to save the file, make sure you choose the file type "all files" from the drop down in order to save it as a .bat.

After setting it up, you can just put any .mp4 into the same folder, rename it INPUT.mp4, and run your .bat file by double-clicking it. It should create a new file called OUTPUT.mp4 in the same folder with all of the metadata removed.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I'll try this, thanks! It's really surprising though that you can't just delete the metadata like you can with a normal file. Is there something unusual about mp4 format that disallows this?

[-] Nawor3565@lemmy.blahaj.zone 3 points 1 year ago

I think it's just that software to edit video streams is inherently more complicated than editing images. Although the metadata shouldn't be encoded into the streams, so maybe it's just a case of no one has gotten around to making such a program yet.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

Hi, Thank you so much for your help, but when I double click the .bat file, it just opens it inside Notepad++

I made sure to select "all files" and use the .bat extension, but no dice.

Any idea why?

Here's what my folder looks like with the mp4 renamed "INPUT.mp4"

Here's what my .bat document looks like

I'm lost...

[-] Nawor3565@lemmy.blahaj.zone 3 points 1 year ago* (last edited 1 year ago)

Sorry for the late reply, but it looks like somehow Notepad++ got set as the default program to open .bat files. Right click the .bat file, choose "open with", and you should get an option to open it with command line / cmd.

EDIT: or just change it to .cmd, which should work basically the same way.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I too am sorry for the late reply, but thank you so much! I'll try it again asap.

[-] kurcatovium@lemm.ee 3 points 1 year ago* (last edited 1 year ago)

I would probably use something like Musicbrainz Pickard or some more feature rich player like Foobar2000.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

Haven't heard of either one of these, thanks! Musicbrainz Pickard looks pretty intuitive based on the screenshots, and I like that it's also available for Linux. I'll try that one first.

[-] MiddledAgedGuy@beehaw.org 2 points 1 year ago

My two cents is that it's a bit unintuitive, but ymmv. It's not overly difficult though, and a great piece of software. So do try!

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I just used it. It was easy enough to edit/remove metadata, which is all I want to do for now. It reminds me a bit of a Windows 95 era app, which is the time period when I became acclimated to Windows software.

Anyway, it took just a few seconds to do what I want to do. I'm still quite baffled why removing/editing metadata in a mp4 is unsupported in Windows. It seems like such a basic thing.

[-] MiddledAgedGuy@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

Glad it worked out!

Warning: soapbox. I feel like Windows is commonly considered to be user friendly. It may be easy enough to use, but I find it's quite user hostile.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I totally agree with you about Windows. Even Microsoft's forums are generally unhelpful if you don't want to use their OS they way they think you should use it. I'm gradually switching to Linux and will not be using Windows 11. Whatever minor conveniences I may miss out on are worth moving to an OS built with users in mind and with a friendly community of people who are actually helpful.

[-] MiddledAgedGuy@beehaw.org 2 points 1 year ago

Yeah, I have to use Microsoft products for work and I've stumbled across their forums for issues before. I don't think it's ever once been helpful. Solutions on Linux forums are hit and miss, but still much better.

Welcome to the Linux community!

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago
[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago* (last edited 1 year ago)

I finally got around to trying it, and I've realized that the "open with" option is absent from the right-click menu for some reason. I'm trying to find out why, but so far no luck. I checked the registry key, and it's intact and should be giving me the option. I hate Windows.

Edit: So after a lot of searching, I discovered that I must have had Notepad++ set up wrong, because I found a registry entry from Notepad++ in HKEY_CLASSES_ROOT \ .bat

I didn't want to just delete the value, so I ended up uninstalling Notepad++ from my PC entirely, and the "open with" option returned, and the registry entry disappeared. Notepad++ is a popular app, so I feel like a lot of the people I found by searching who have the same problem might have this app installed with the registry entry to remove "open with" from the .bat file extension specifically. I knew something was up because I tested other files on my PC, and "open with" was still there. So frustrating, but your solution works now! Thanks!

[-] kurcatovium@lemm.ee 2 points 1 year ago

Yeah, I use it on linux too. I'd substitute Foobar for Strawberry player on linux for playbacl and tags editing.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

I figured out I can send it to myself on Molly, and the metadata will be automatically removed, but surely there's a better way to do this very basic thing?

Later, I'll have access to my laptop that runs Linux, so I'll see if it works there to do it in a more civilized manner.

this post was submitted on 03 Nov 2023
14 points (100.0% liked)

Privacy Guides

16263 readers
20 users here now

In the digital age, protecting your personal information might seem like an impossible task. We’re here to help.

This is a community for sharing news about privacy, posting information about cool privacy tools and services, and getting advice about your privacy journey.


You can subscribe to this community from any Kbin or Lemmy instance:

Learn more...


Check out our website at privacyguides.org before asking your questions here. We've tried answering the common questions and recommendations there!

Want to get involved? The website is open-source on GitHub, and your help would be appreciated!


This community is the "official" Privacy Guides community on Lemmy, which can be verified here. Other "Privacy Guides" communities on other Lemmy servers are not moderated by this team or associated with the website.


Moderation Rules:

  1. We prefer posting about open-source software whenever possible.
  2. This is not the place for self-promotion if you are not listed on privacyguides.org. If you want to be listed, make a suggestion on our forum first.
  3. No soliciting engagement: Don't ask for upvotes, follows, etc.
  4. Surveys, Fundraising, and Petitions must be pre-approved by the mod team.
  5. Be civil, no violence, hate speech. Assume people here are posting in good faith.
  6. Don't repost topics which have already been covered here.
  7. News posts must be related to privacy and security, and your post title must match the article headline exactly. Do not editorialize titles, you can post your opinions in the post body or a comment.
  8. Memes/images/video posts that could be summarized as text explanations should not be posted. Infographics and conference talks from reputable sources are acceptable.
  9. No help vampires: This is not a tech support subreddit, don't abuse our community's willingness to help. Questions related to privacy, security or privacy/security related software and their configurations are acceptable.
  10. No misinformation: Extraordinary claims must be matched with evidence.
  11. Do not post about VPNs or cryptocurrencies which are not listed on privacyguides.org. See Rule 2 for info on adding new recommendations to the website.
  12. General guides or software lists are not permitted. Original sources and research about specific topics are allowed as long as they are high quality and factual. We are not providing a platform for poorly-vetted, out-of-date or conflicting recommendations.

Additional Resources:

founded 2 years ago
MODERATORS