Create file format that can store video and acceleration data frame by frame Android
I'm creating an Android app (using Kotlin) that can record video and other device sensory data. I want to store all of the data (the video and the acceleration sensor data) together in one file so that I can replay it the same way a regular .mp4 plays, but have access to the extra frame-by-frame device sensor info. Right now I have methods to get live sensor data and I am using CameraX for the video capture part.
I already have methods to encode all my numerical sensor data into consecutive...