[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2016-07-24
6
Medium Priority
?
2,735 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
  • 4
  • 2
6 Comments
 
LVL 57

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 1000 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 84

Assisted Solution

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

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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 84

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 1000 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 57

Assisted Solution

by:Joe Winograd, EE MVE 2015&2016
Joe Winograd, EE MVE 2015&2016 earned 1000 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 57

Expert Comment

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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I have a Synology DS212+ NAS.  These are not only great for backup and normal NAS stuff, but also for delivering media throughout your home or LAN via DLNA.  I copied my whole audio collection from iTunes over to the box, but couldn't figure out how…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses
Course of the Month20 days, 13 hours left to enroll

864 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