Mon Mar 12, 2018 9:31 am
Thanks Kristian Lam for your answer,
I tried your code (and I also did many other tests). If I start the camera with 2160p24 (set by Video Assist) and I run your code, it does not work (i.e., nothing changes), but I found out that if I set the video mode to 2160p25 and then I start your code, the mode changes, but to 2160p24!
I am also able to set 1080p24 with { 24, 0, 3, 0, 0 }, but the same happens also with { 25, 0, 3, 0, 0 } and { 22, 0, 3, 0, 0 }. On the other hand, if I set the resolution to 1080 (with this code or with Video Assist), I am able to set (with the shield) to 2160p24, whatever I put on the first parameter (I tried 0, 1, 2, 3, 22, 30, 40, 24, 25, etc.).
In the code you sent, you put a 25 and say it set the frame rate to 50, so my question is: the first parameter is the exact frame rate I want (i.e., 24 for 24fps, 25 for 25fps... but in this case, what should I say if I want 29.97? Just setting M-rate would transform 30 in 29.97?) or is a code (i.e., 1 for 24fps, 2 for 25fps, etc.)? In the latter case, what are the codes (I do not have any mention on them in my Arduino Shield Manual)?