Injecting/embedding/adding/writing metadata to a .mp4 file so it's recognised as 360
Metadata is not the same as frame side data. FFmpeg tool currently cannot do this, you need to program own thing using available API.