Android - 360 video metadata
Asked Answered
R

1

6

So with ffmpeg I've concatenated two 360 videos into one. The problem is that I lost all the 360 video metadata in the final video (so it's not recognized as a 360 video anymore). If I use exiftool on the final video, I lack those metadatas :

  • Spherical : true
  • Stitched : true
  • Stitching Software : Spherical Metadata Tool
  • Projection Type : equirectangular

I've tried to inject those metadatas with ffmpeg, like this for example :

ffmpeg -i <input_video> -metadata Spherical="true" -codec copy <output_video>

I don't get any errors doing that, but exiftool still doesn't show the metadatas.

I know Google has a Python script that does this well, here .

But I would like to inject metadatas in my app as well, any help would be much appreciated,

thanks !

Redroot answered 17/11, 2016 at 10:21 Comment(0)
R
0

I've managed to do it using mp4 parser :

mp4 parser (github)

Redroot answered 11/5, 2017 at 17:12 Comment(1)
How you managed it? because after I cropped video I will lose my 360 metadata so how can I prevent from thisKasey

© 2022 - 2024 — McMap. All rights reserved.