Here is a version to test:https://bitbucket.org/Dannephoto/magic-lantern/downloads/magiclantern_crop_rec_4k_mlv_snd_1x3_10bit.zipBranch here:
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_1x3_10bit1 - Only useful with
1x3_10bit binning mode. You select 1x3_10bit binning in Crop mode menu. Set resolution so you get 1920x2368. Canon fps menu set to 24 frames per second.
Reason. I redefined white level to 3000 in raw.c. This due to not knowing how to create a crop_rec.h header file so raw.c don´t know what´s going on in crop_rec. Can´t make exceptions here yet. The win here is that full res preview will ook ok and mlv files will have correctly white level 3000 coming out of the camera.
Recommened to import the files in Mlv app. Set Transformation Height stretch to 0.33 if not already when imported.
2 - Liveview will look a little distorted. Strange colors and a little stripy but MLV will look beautiful hopefully.
Reason. I compensate darkened liveview with digital gain trick. A1ex idea of course. Bilal handed me the register:
/* correct liveview brightness */
case 0xC0F42744: return 0x4040404;
Happy testing. Please report bugs and good stuff too. sound should work too but as this is bleeding edge a lot of stuff could happen. Use and play with this at own free will.
Thanks again to A1ex, Bilal, Levas, Mlv App gang and others for great energy and open sourcery...
Oh yea, very special thanks to Bilal. Without his patience nothing.
Decided to run these analog gain numbers:
adtg_new[14] = (struct adtg_new) {6, 0x8884, 40};
adtg_new[15] = (struct adtg_new) {6, 0x8886, 40};
adtg_new[16] = (struct adtg_new) {6, 0x8888, 40};
adtg_new[17] = (struct adtg_new) {6, 0x8882, 40};
adtg_new[18] = (struct adtg_new) {6, 0x8884, 40};
adtg_new[19] = (struct adtg_new) {6, 0x8886, 40};
adtg_new[20] = (struct adtg_new) {6, 0x8888, 40};