Answers.Body: <p>You can try FFMpeg.  There are <a href="https://superuser.com/questions/441361/strip-metadata-from-all-formats-with-ffmpeg">examples</a> showing how to strip all metadata and removing just a single item isn't much different.</p>
  <p>Try<br />
  <code>ffmpeg -i in.mp4 -metadata title= -c:v copy -c:a copy out.mp4</code></p>
  <p>This can also be done with exiftool as of version 11.39. Exiftool can also do it in batch without need of a script.<br />
  <code>exiftool -ext mp4 -Title= /path/to/files/</code><br />
  This command creates backup files.  Add <a href="https://exiftool.org/exiftool_pod.html#overwrite_original" rel="noreferrer"><code>-overwrite_original</code></a> to suppress the creation of backup files.  Add <a href="https://ExifTool.org/exiftool_pod.html#r-.--recurse" rel="noreferrer"><code>-r</code></a> to recurse into subdirectories.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-08T19:41:17.807Z
Answers.Text: But what I want is to only edit the file not create a new one. can it be done? MKVtoolnix can do it.
Answers.UserDisplayName: spamman
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-08T19:45:17.257Z
Answers.Text: I don't know of any program that can easily edit such metadata for an MP4.
Answers.UserDisplayName: StarGeek
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-09T06:14:14.883Z
Answers.Text: Try mp4box.......
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-09T18:20:20.750Z
Answers.Text: To follow up on @Gyan's comment, see https://superuser.com/a/970713/314998
Answers.UserDisplayName: StarGeek
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-08T16:43:59.577Z
Answers.LastActivityDate: 2021-02-02T15:05:30.537Z
Answers.LastEditDate: 2021-02-02T15:05:30.537Z
Answers.UserDisplayName: StarGeek
Answers.Body: <p>In Windows, you can right click on an MP4 file, ensure it's not set as read only (uncheck Read Only-&gt;apply if it's set), then click the details tab.  At the bottom of the details tab there is a clickable option &quot;Remove Properties and Personal Information.&quot;  Click that then select the &quot;Remove the following properties from this file&quot; radio button and check Title (and any other properties like Comments that you want removed&quot; then click Okay.  This process will remove the title property from .mp4 files.</p>
  <p>For MKV you can use mkvpropedit like you've been doing, but in powershell you can do it recursively for all files.  I use Plex, so my Movies dir has a child dir with the title and year, with the mkv and related files in that child dir.  With this script you only have to point it to the Movies dir and it will recursively clear up the title attribute on all of the mkv files in all of the child directories (Obvs, be sure to change your -Path to the root dir where all your media files exist):</p>
  <pre><code>get-ChildItem -Path &quot;D:\movies\&quot; -Recurse -Filter *.mkv |
  foreach-Object {
      &amp; “C:\Program Files\MKVToolNix\mkvpropedit.exe” $filename -d title
  }
  </code></pre>
  <p>Hope this helps anyone who landed here after a google//Duck Duck Go search!</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-09-07T02:54:22.770Z
Answers.LastActivityDate: 2021-09-07T02:54:22.770Z
Answers.UserDisplayName: jcanker
Body: <p>I was able to remove metadata titles in mkv files through mkvtoolnix with this code</p>
  
  <pre><code>@echo off
  for /r %%g in (*.mkv) do ("D:\Programs\MKVToolsNix\mkvpropedit" "%%~g" --tags all:"" --delete title )
  </code></pre>
  
  <p>I want to do the same thing with mp4 files too which probably cant be done with mkvtoolnix. How do I do it?</p>
  
Tags: <editing><mp4><metadata>
Title: Removing Metadata Title in mp4 files
UserDisplayName: spamman
ThreadText: # Removing Metadata Title in mp4 files
  
  (Asked by: username_0 on 2019-03-08)
  
  I was able to remove metadata titles in mkv files through mkvtoolnix with this code
  
  ```
  @echo off
  for /r %%g in (*.mkv) do ("D:\Programs\MKVToolsNix\mkvpropedit" "%%~g" --tags all:"" --delete title )
  
  ```
  
  I want to do the same thing with mp4 files too which probably cant be done with mkvtoolnix. How do I do it?
  
  **Tags:** editing, mp4, metadata
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2019-03-08. Score: 7
  
  You can try FFMpeg. There are [examples](https://superuser.com/questions/441361/strip-metadata-from-all-formats-with-ffmpeg) showing how to strip all metadata and removing just a single item isn't much different.
  
  Try  
  `ffmpeg -i in.mp4 -metadata title= -c:v copy -c:a copy out.mp4`
  
  This can also be done with exiftool as of version 11.39. Exiftool can also do it in batch without need of a script.  
  `exiftool -ext mp4 -Title= /path/to/files/`  
  This command creates backup files. Add [`-overwrite_original`](https://exiftool.org/exiftool_pod.html#overwrite_original) to suppress the creation of backup files. Add [`-r`](https://ExifTool.org/exiftool_pod.html#r-.--recurse) to recurse into subdirectories.
  
  > **Comments:**
  > **username_0**: But what I want is to only edit the file not create a new one. can it be done? MKVtoolnix can do it.  
  > **username_1**: I don't know of any program that can easily edit such metadata for an MP4.  
  > **username_2**: Try mp4box.......  
  > **username_1**: To follow up on @username_2's comment, see https://superuser.com/a/970713/314998  
  
  ---
  
  ### Answer by username_3 on 2021-09-07. Score: 1
  
  In Windows, you can right click on an MP4 file, ensure it's not set as read only (uncheck Read Only->apply if it's set), then click the details tab. At the bottom of the details tab there is a clickable option "Remove Properties and Personal Information." Click that then select the "Remove the following properties from this file" radio button and check Title (and any other properties like Comments that you want removed" then click Okay. This process will remove the title property from .mp4 files.
  
  For MKV you can use mkvpropedit like you've been doing, but in powershell you can do it recursively for all files. I use Plex, so my Movies dir has a child dir with the title and year, with the mkv and related files in that child dir. With this script you only have to point it to the Movies dir and it will recursively clear up the title attribute on all of the mkv files in all of the child directories (Obvs, be sure to change your -Path to the root dir where all your media files exist):
  
  ```
  get-ChildItem -Path "D:\movies\" -Recurse -Filter *.mkv |
  foreach-Object {
      & “C:\Program Files\MKVToolNix\mkvpropedit.exe” $filename -d title
  }
  
  ```
  
  Hope this helps anyone who landed here after a google//Duck Duck Go search!
  
  
  ---
  
  