I am performing processing on the camera output on the iPhone that I can only perform on the device. I now need to store each processed frame together with some additional information that has been provided by the processing step. Ultimately I need to open the data in Matlab to analyze it further.
Currently Im using AVAssetWriter to write a mov file and simultaneously building up a separate data.txt file which I email to myself at the end of each recording.
This process is unpleasant because it means I have to download the data.txt file every time I record something. Then I have to import the movie file from the phone (I obviously cant email the movie file because its too big for email) and then I have to give them both a common name.
Is there a video format supported by iOS and that I can open in Matlab which would allow me to get per frame data AND metadata? Is there a better method than what Im currently doing? I saw there is an AVMediaTypeText but I havnt found sample code for it and I doubt I can interleave it into a mov file...