ExifTool Forum

ExifTool => Newbies => Topic started by: qdumont on July 28, 2016, 10:41:47 AM

Title: Correct metadata command for MP4
Post by: qdumont on July 28, 2016, 10:41:47 AM
New to exif tool and working with 360 vid. I am trying to insert the correct metatags so the mp4 is recognized as a 360 Vid on Facebook. This is what I tried, but it seems to corrupt the file:

exiftool -ProjectionType="equirectangular" /home/path/to/file.mp4

Any advice would be great! Thanks.
Title: Re: Correct metadata command for MP4
Post by: Phil Harvey on July 28, 2016, 10:52:30 AM
I don't think that ExifTool will be able to do what you want.  It has only very limited write abilities for MP4 videos -- it can only change some existing date/time tags and write XMP.

- Phil
Title: Re: Correct metadata command for MP4
Post by: qdumont on July 28, 2016, 11:52:25 AM
There would be no way for me to inject:

<?xml version="1.0"?><rdf:SphericalVideo
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:GSpherical="http://ns.google.com/videos/1.0/spherical/"><GSpherical:Spherical>true</GSpherical:Spherical><GSpherical:Stitched>true</GSpherical:Stitched><GSpherical:ProjectionType>equirectangular</GSpherical:ProjectionType><GSpherical:StitchingSoftware>Gear 360 Manager 1.0.4</GSpherical:StitchingSoftware></rdf:SphericalVideo>


into an MP4?
Title: Re: Correct metadata command for MP4
Post by: Phil Harvey on July 28, 2016, 12:00:01 PM
I don't know where you want to write this.  ExifTool can only do it if it is in XMP.  And you would have to create user-defined tags for your GSpherical namespace.

- Phil
Title: Re: Correct metadata command for MP4
Post by: Phil Harvey on November 29, 2022, 08:14:39 AM
ExifTool 11.54 or later has the ability to write this as GSphericalXML in the video track.  Also, more recent versions have much more ability to write tags in MOV/MP4 videos.

- Phil