Solved

Rename Metadata Title of Multiple Video Files to Match Filename (MKV, MP4, etc)

Posted on 2016-07-24
6
623 Views
1 Endorsement
Last Modified: 2016-08-22
Hey Guys -

I have what has gotten to be a fairly large library of movies, TV Shows, etc after converting my DVD collection a while back.  I'm very detailed for how I organize my media and everything is scraped, renamed, and sorted as it should be.  Unfortunately, in many apps such as Plex and VLC, the title used for video files is the title within the file's metadata.  I realize that I could easily remove metadata from files in Windows, but doing so would take forever.

What I'm Looking For
What I'm looking for is an application (or script) which would have the following features:
- Replace video's Title in metadata with the actual filename of the video's file
- Be compatible with MKV, MP4, and other current HD containers (Helpful if supported legacy ones such as AVI, too)
- Not require reencoding the video for this change to occur (Instant)
- Be able to target a path (recursively) for it to search for video files (Even though metadata is also present) and process them in batch without having to save to a different location
- Windows compatible (or be able to run against a UNC path if Linux - sure;y there's more out there than a bash script, though)

I've found a few tools, but none have quite been exactly what I need.  I'm happy to purchase an app if that's my only option and am comfortable with the command line, PowerShell, etc...

Thanks!
1
Comment
Question by:BzowK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 54

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 250 total points (awarded by participants)
ID: 41727726
Should be relatively easy to write a program/script that calls Phil Harvey's amazing ExifTool:
http://www.sno.phy.queensu.ca/~phil/exiftool/

I would use AutoHotkey to write the program, with its RunWait statement to call the command line ExifTool, but you may use any language you want as long as it can call a command line executable.

All EXIF tags are listed here:
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html

Which tag do you want to have the file name? Regards, Joe
0
 
LVL 81

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points (awarded by participants)
ID: 41728737
I use
mp3tag and use the convert filename to tag option
0
 
LVL 54

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 41728812
> use the convert filename to tag option

What tag does it put the filename in?
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 81

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 250 total points (awarded by participants)
ID: 41728976
Your choice - Title, Album, and many many more. i.e. you can pattern match the filename.
i.e. 24-S01-E02.mp4 using %Album%-S%artist%-E%title% if just using the standard tags.
0
 
LVL 54

Assisted Solution

by:Joe Winograd, EE MVE 2015&2016
Joe Winograd, EE MVE 2015&2016 earned 250 total points (awarded by participants)
ID: 41729488
Thanks, David. I know that Mp3tag can rename files based on the tag info, as discussed in this EE thread from a few years ago, but I didn't know that it can do vice versa — thanks for that info! I also know that its name is misleading, as it can handle more than MP3 files, but I don't know all the video file types that it can handle. You can even drag-and-drop an image as cover art. It's a great tool, although in recent times I've been using ExifTool and MediaInfo more than Mp3tag. Nice to have good choices! Regards, Joe
0
 
LVL 54

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 41755350
Recommend split between Joe and David.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Viewers will learn the basics of creating custom device Racks in Ableton Live. Place instrument(s) and effects onto a track, and select them all by holding the Shift key and clicking on the device title bars: Group them by typing Command-G (Ctrl-G…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question