Page 1 of 1

view Id3 tags for mp4 files

Posted: 09 Dec 2020 17:24
by Avis71
Hi,
Is it possible to view id3 tags for mp4 files ?
I have many music video clips and each clip has customized id3 tags so not in addition to artist and title they have Key, Highest Note, Lowest Note, Male Singer, Female Singer, Duet etc.
I am looking for something to search and select on these tags and then copy and paste the corresponding files to another directory for a SET List selection.

Windows Explorer does this but i can't figure out how to get my customized fields in the explorer. Hopefully XYplorer can do this.

Thank you

Re: view Id3 tags for mp4 files

Posted: 09 Dec 2020 17:32
by highend
Get the CLI version of MediaInfo (https://mediaarea.net/en/MediaInfo/Download/Windows)
open a command prompt, switch into MediaInfo's folder and execute this:
mediainfo.exe "drive\path\one of your .mp4 files with these special tags"

and show the result afterwards

Re: view Id3 tags for mp4 files

Posted: 09 Dec 2020 18:22
by Avis71
Thank you Highend for your reply, very fast as well !
My Dos skills are not up to par. Executing the command you provided shows indeed all the tags within all the mp4 files in the specified directory. This is great but i only need the file names where certain tags match my specified condition. let's say i want to match 3 tags and copy those files to another directory. Is that possible ? Sorry for asking but this is kind of fun as well although i have to say i prefer a GUI :-)

Re: view Id3 tags for mp4 files

Posted: 09 Dec 2020 18:34
by highend
There is more than one possibility to achieve that.

One of them: Tag your files with this script: viewtopic.php?f=7&t=22304
Then you could just search the tag database for files containing all your required tags.

If you don't want to tag them, create custom columns for your tags (this will be slow, mediainfo will be called for each custom column, for each single file in the list view!)

Like:

Code: Select all

return trim(runret("""D:\Tools\@Command Line Tools\MediaInfo\MediaInfo.exe"" ""--Inform=General;%Duration%"" ""<cc_item>"""), <crlf>);
But with your correct path to mediainfo and the correct tag that you want to retrieve.

Afterwards you could create a report via the report() script command (the only tool to get the data of all files and all the visible custom columns) and again, via script, get the necessary results.

There is no "just use a GUI way" for this, click 3 things and you are done. It requires some effort...