Android - 360 video metadata

So, with ffmpeg I combined two 360 videos into one. The problem is that I lost all 360 metadata videos in the final video (so that it is no longer recognized as 360 videos). If I use exiftool in the final video, I do not have enough metadata:

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

I tried to enter this metadata using ffmpeg, for example:

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

I have no errors, but exiftool still does not show metadata.

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

But I would also like to add metadata in my application, any help would be greatly appreciated,

thanks!

+6
source share
1 answer

I managed to do this using the mp4 parser:

parser mp4 (github)

0
source

Source: https://habr.com/ru/post/1012403/


All Articles