Removing metadata autmatically.

Support for Windows users
Post Reply
mrg9999
Posts: 2
Joined: 19 Aug 2022, 14:23

Removing metadata autmatically.

Post by mrg9999 »

Often I get files that when I view them there is redundant information on the screen.
After renaming with FB I generally use FFmpeg to remove the metadata with a command like

- script snippet

Code: Select all

md cleaned
for %%x in (*.mkv,*.mp4,*.avi) do ffmpeg -i "%%x" -map_metadata -1 -acodec copy -vcodec copy  "cleaned\%%x" 
-

Can I achieve this automatically in FB without using ffmpeg?
User avatar
rednoah
The Source
Posts: 23056
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Removing metadata autmatically.

Post by rednoah »

No, FileBot does not modify files.


:?: Why are removing embedded media titles? What software are you using? If you are using Plex, then you can just Disable Local Media Assets to make Plex not display the embedded title. If you are using VLC, then you might find a setting for that too.


:arrow: FileBot can help you write new metadata via 3rd party tools such as mkvpropedit:
viewtopic.php?p=44992#p44992
:idea: Please read the FAQ and How to Request Help.
mrg9999
Posts: 2
Joined: 19 Aug 2022, 14:23

Re: Removing metadata autmatically.

Post by mrg9999 »

>:?: Why are removing embedded media titles? What software are you using? If you are using Plex, then you can just Disable Local Media Assets to make Plex not display the embedded title. If you are using VLC, then you might find a setting for that too.

I mostly play media via Kodi/Elec or VLC or whatever media player is available.

I get my content from a variety of places, mostly usenet using SIckchill / Sabnzb that usually do a good job of sanitising filenames. Sometimes the tool can only obtain an episode by searching the darker bits of the internet and then often the file has passed through multiple sites and the meta-data in the file has become mangled or links to porn sites added. After I've renamed the file into my prefered format Name - Season - EpisodeNN - title format, I'd like the metadata to be cleaned to be the same as the renamed title and not "Name - Season - EpisodeNN - title - Pa55ed thru XXXHub. L77t Gr88t5"
so I run my ffmpeg command above to clean the metadata then I can use another tool to pull in the correct (curated) metadata from say thetvdb.
User avatar
rednoah
The Source
Posts: 23056
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Removing metadata autmatically.

Post by rednoah »

That's reasonable. Stripping away metadata like "Pa55ed thru XXXHub. L77t Gr88t5" makes perfect sense.


:arrow: You can write new metadata via the tags script (make sure to read the docs thoroughly; make sure to run your own tests first) after you have processed the files with FileBot:

Code: Select all

filebot -script fn:tags /path/to/files
:idea: Please read the FAQ and How to Request Help.
Post Reply