user24666: 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?

user36156: 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!

user24669: You can try FFMpeg.  There are examples 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 to suppress the creation of backup files.  Add -r to recurse into subdirectories.

24666: <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>
 36156: <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>
 24669: <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="nofollow 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="nofollow noreferrer"><code>-r</code></a> to recurse into subdirectories.</p>
