Copying all metadata from one file to another

Started by perspixe, September 30, 2016, 05:42:35 AM

Previous topic - Next topic

perspixe

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?

Phil Harvey

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 for details about what ExifTool can write.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).