Solved

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

Posted on 2016-07-24
6
63 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 51

Accepted Solution

by:
Joe Winograd, EE MVE 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 78

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 51

Expert Comment

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

What tag does it put the filename in?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 78

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 51

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE 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 51

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Viewers will learn how to create burn videos onto a DVD using Nero Suite including creating a DVD menu and chapters.
Viewers will learn how to use Macros for greater control over Rack parameters in Ableton Live. Group devices into a Rack by selecting them and pressing Command-G (Ctrl-G on PC): Control-click (Right Click on PC) a parameter to access pop-up menu, …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now