2

I was surfing the web for a solution, but no thread was working for me. I've compressed multiple mp4 videoclips using HandBrake, thus loosing dateModified etc. What I would want to have is a command that copies the metadata from videos in a specific folder and pastes it to the compressed videos, which have the same names and are in a subfolder. DateCreated/DateModified would be sufficient enough for me.

Thanks in advance!

1

1 Answer 1

0

Try
exiftool -TagsFromFile SOURCEFILE -all:all DESTINATIONFILE

As of version 11.39, exiftool's ability to copy tags in MP4/MOV video files has been greatly increased. The above command will copy any tag that it can in the sourcefile to the same tag in the destination file.

If you wish to process multiple files, take a look at exiftool's TagsFromFile option and the %d, %f, and %e variables in the -w option.

2
  • Thank you for the answer. I tried the command, but it fails to update the information of the videofile and actually creates a third file. It's possible that I'm doing something wrong.
    – Yavor
    Apr 9, 2019 at 12:40
  • The backup file can be suppressed by adding -overwrite_original. Maybe I misunderstood the data you wanted copied. Try exiftool -TagsFromFile SOURCEFILE -File*Date DESTINATIONFILE That will copy the file system dates from the source to the destination file. These aren't embedded metadata, they're part of the file system, so no backup file will be created.
    – StarGeek
    Apr 9, 2019 at 16:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .