@gnarr:
thanks for supporting!
(it is crashing with no output on my pc)
things important to know (most of that is written already i think)
- files are numbered in the file itself
- there is a fileCount field and a fileNum (fileCount isnt fixed yet on all files, so dont trust it yet. will do that later)
- no matter if it is the second file after the first file reached 4GiB, or if it is a spanning file, the file is named M00, M01, ...
- all M00, M01, ... also contain a file header (mlv_file_hdr_t)
-> you see no difference in files from card spanning and files that went over 4GiB
- the initial blocks like IDNT, INFO etc are written in the first file before recording
- some of them (RTCI, LENS, EXPO, ELVL) are written periodically too
-> so dont rely on exact positions in file
- blocks are written out of order, which means frame #9 may be in file before frame #4 and frame #6 is in another file
- look at the timestamp to know which EXPO, RTCI, LENS, ELVL etc block belong to the video frame
-> need to build an internal sorted list of all blocks before metadata can be assigned to a frame
will upload a file, takes some time.
it will appear
here, when its done.