Solved

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

Posted on 2016-07-24
6
123 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 52

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 79

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 52

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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 79

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 52

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 52

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need sample Angular apps for study 4 87
Video won't play 5 62
Two systems one speaker system re-question 29 82
Script to change all permissions to my user 7 29
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
Viewers will learn how to turn a Live Set into a compressed Live Pack file, and how to install Live Packs. Make: File > Collect All And Save: File > Manage Files: Click Manage Project: Click Create Pack: Select save location: Install: Doub…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

806 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