ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: RuLex777 on January 19, 2023, 01:12:20 PM

Title: Help please with copy of exif
Post by: RuLex777 on January 19, 2023, 01:12:20 PM
Good afternoon.

Help to properly configure the copying of information.

The task is
Copy all exif information from one mp4 file to another; also copy the preview, if it is there, it is advisable to copy it in such a way that the order of the exif data is the same as in the source.

I will also be glad if you tell me how you can add garbage data to the video file to increase its weight.

Thank you
Title: Re: Help please with copy of exif
Post by: StarGeek on January 19, 2023, 01:41:54 PM
Most video metadata is Quicktime, not EXIF.  EXIF data in a video file is non-standard, but that doesn't stop camera companies from forcing it into the file.

If you run the command in FAQ #3 (https://exiftool.org/faq.html#Q3), any data that has a group of ExifIFD or *IDF* is actual EXIF data and can't be copied.

The best you can try is
exiftool -TagsFromFile source.mp4 -all:all target.mp4

See this StackOverflow answer (https://stackoverflow.com/questions/4027983/is-there-a-way-to-pad-files-with-a-few-extra-bytes-to-get-a-different-md5-checks) for example of padding the end of a file.