Bulk copy of metadata

Started by javiavid, March 21, 2021, 07:29:39 PM

Previous topic - Next topic

javiavid

Hello,
I have almost 1000 AVI (DV) videos with metadata and I'm converting them to MP4 (x265) to optimize disk space.

What is the best way to copy metadata from AVI files to MP4?
They have the same name, example: 0001.avi 0001.mp4

Mario

I don't even know if these two file formats share any common metadata or if they have metadata at all. What kind of metadata to you plan to copy?
Both AVI and MP4 are container formats which can contain one or more video streams, audio streams, caption streams and whatnot.

IMatch manages metadata for video files in XMP, like for any other file.
1. Write back metadata for one AVI file
2. Create the MP4 with the same file name (except for the extension) in the same folder.

IMatch will rescan the folder an use the XMP file for both files automatically. The data should be there.
An XMP file belongs to all files with the same name in the same folder.


-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

javiavid

The idea is to use the XMP data that already exists in imatch and apply it to MP4 and then delete the AVI.
I didn't know that if they had the same filename the metadata was common, I'll try it.
Thanks Mario

Mario

An XMP file belongs to all files with the same name (extension can differ) in the same folder.
IMatch implements this and when you delete the AVI, the XMP file will be kept - because there is another file (the MP4) depending on it. All automatic.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook