ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: perspixe on September 30, 2016, 05:42:35 AM

Title: Copying all metadata from one file to another
Post by: perspixe on September 30, 2016, 05:42:35 AM
Hello,

I shoot video with a Ricoh Theta S. It outputs a 1920x1080@29.97fps mp4 file that have two circles corresponding to the two cameras. That file is then processed in a Ricoh app to stitch and output the equirectangular 360x180 projection 1920x960@29.97fps.
I need to edit the mp4 before stitching because of light and wb differences between the two captures. I do that in after effect then output an mp4 file. Important metadata is lost in the process and the Ricoh app doesn't recognize the file anymore for stitching.
I tried using exiftool with -TagsFromFile and arguments found in the manual to copy all tags to a destination file, the edited version. But it doesn't work (well I can pass a first reject without any metadata copy but it gives an error as soon as conversion starts). Checking exiftool destfile.mp4, I see that most of the metadata is actually not there...
I hope that all make sense. Maybe I missed something or?
Title: Re: Copying all metadata from one file to another
Post by: Phil Harvey on September 30, 2016, 07:33:13 AM
What you are missing is the ExifTool has only limited write ability for MP4 videos, and probably can't copy the information you want.  See the QuickTime tags documentation (https://exiftool.org/TagNames/QuickTime.html) for details about what ExifTool can write.

- Phil