also discovered some unexpected behavior, will look deeper into it
Played around with it today. Awesome! Is the unexpected behavior the "Frame order error: slot 6, frame xxxx, expected xxxx" ? That comes up with 10-bit but it keeps recording, apparently not affecting the video and audio. 14-bit lossless had a much more detailed error message but also continued recording.
not just this, also experienced some critical error and recording aborted.
Broken this after a refactor:
Before: mlv_rec.c and mlv_lite.c -> write_mlv_vers_blocks -> FIO_WriteFile in mlv_rec.c, mlv_write_hdr in mlv_lite.c (two ways of doing the same).
After (17ceddd08, in crop_rec_4k, before the latest merge): mlv.c -> mlv_write_vers_blocks -> FIO_WriteFile (important?)
will just prevent other modules to hook and modify these blocks, so no big deal.
updated modules, should work smoothly now. did some test recordings and found no issues anymore.
what do you think about this patchset?
Nice, will check.
cc @Dannephoto, @daniel_fort and others who actually use raw video.