Hello,
i have been messing with some gear 360 videos and id like to edit the start orientation.
not sure what the term is called home pov?
Orientation edits mess with the full video not the pov.
i must be missing something. are there any examples to add 180 to a video or still?
i hope to skip any re-encoding.
Stitching Software : Spherical Metadata Tool
Projection Type : equirectangular
Matrix Structure : 1 0 0 0 1 0 0 0 1
Media Header Version : 0
Media Create Date : 0000:00:00 00:00:00
Media Modify Date : 0000:00:00 00:00:00
Media Time Scale : 90000
Media Duration : 5.20 s
Handler Description : Video Media Handler
Other Format : tmcd
Handler Type : Metadata
Handler Vendor ID : Apple
Encoder : Lavf59.17.102
XMP Toolkit : Image::ExifTool 12.41
Orientation : Rotate 180
Media Data Size : 9826678
Media Data Offset : 5203
Image Size : 2560x1280
Megapixels : 3.3
Avg Bitrate : 15.1 Mbps
Rotation : 0
thanks
Rotating a video is more comples, as two things have to be changed and one of them, MatrixStructure , isn't easily human readable. Luckily, exiftool makes it easier with a Composite tag. See Rotation on the Composite tags page (https://exiftool.org/TagNames/Composite.html)j.
Try setting Rotation to 90, 180, or 270
exiftool -Rotation=90 file.mp4
I tried this before and just now, it seem to rotate my video thumbnail and does not seem to related to the 360 videos start orientation?
i am looking for 360 video xmp meta data from what i understand
I think you may want to set some of the GPano tags (https://exiftool.org/TagNames/XMP.html#GPano), but I can't help with which ones.
- Phil
Quote from: Phil Harvey on April 21, 2023, 04:08:12 PMI think you may want to set some of the GPano tags (https://exiftool.org/TagNames/XMP.html#GPano), but I can't help with which ones.
- Phil
I believe its this but ill have to see how it can be added?
<GPano:InitialViewHeadingDegrees>180</GPano:InitialViewHeadingDegrees>
exiftool -InitialViewHeadingDegrees=180 FILE
- Phil
Quote from: Phil Harvey on April 21, 2023, 09:10:59 PMexiftool -InitialViewHeadingDegrees=180 FILE
- Phil
thanks I gave it a try did not seem to help. i read that not all playback software checks the orientation values.
if thats true do you know of any that do as a test.
i have also been testing "VSDC Free Video Editor" using their tutorials still no luck but I maybe messing something up. or i dont have the software to play back as expected..
https://www.videosoftdev.com/free-360-video-editing?utm_source=video_editor&utm_medium=360
https://youtu.be/kaksX0_CCP0
testing with ricoh, vlc player and facebook uploads
I have a 9mb test file i can send if someone can try and see if they have any luck?
ffmpeg did the trick, i only need to reinject the 360 metadata after with Spatial Media Metadata Injector
ffmpeg -i "test3.mp4" -vf v360=e:e:yaw=160:pitch=0:roll=0 "test3160ffout.mp4"