Solved

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

Posted on 2016-07-24
6
421 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 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
ID: 41728812
> use the convert filename to tag option

What tag does it put the filename in?
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
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
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 54

Expert Comment

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

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Script refinement question. 1 60
PowerShell and cisco ios 3 68
Modifying Powershell: Recipients returns System.Collections.ArrayList ? 4 74
Scripting 4 32
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
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…
Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…

732 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