Thanks for your info. I test on v1 and v2 with 6by9's raspiraw. They both worked fine (of course v2 needs changing the reg addr to fit ---height) on my zero w board but failed on my 4b board. I just tried your code drop and here's the output (I used the 6by9's camera_i2c to expose camera address):
Code: Select all
pi@raspberrypi:~/raspiraw.drop.5_26_18/v1 $ ./640x64 1200
removing /dev/shm/out.*.raw
capturing frames for 1200ms with 665fps requested
186 frames were captured at 166fps
frame delta time[us] distribution
1 -469586627
1
3 0
1 1503
3 4508
3 4509
2 6008
9 6010
76 6011
19 6012
3 7513
46 7514
6 7515
2 7517
1 9016
8 9017
2 9018
after skip frame indices (middle column)
6011,3,468400922
4509,4,468405431
4508,5,468409939
6011,6,468415950
4509,7,468420459
6011,8,468426470
4508,9,468430978
4509,10,468435487
6011,11,468441498
4508,12,468446006
6011,13,468452017
7514,14,468459531
7514,15,468467045
6011,16,468473056
9018,17,468482074
6010,18,468488084
7514,19,468495598
6012,20,468501610
6011,21,468507621
7513,22,468515134
6012,23,468521146
6011,24,468527157
7517,25,468534674
6008,26,468540682
6011,27,468546693
7515,28,468554208
6010,29,468560218
7514,30,468567732
6012,31,468573744
9017,32,468582761
6010,33,468588771
6012,34,468594783
7514,35,468602297
6011,36,468608308
7514,37,468615822
6011,38,468621833
6011,39,468627844
7514,40,468635358
6011,41,468641369
6011,42,468647380
7514,43,468654894
6012,44,468660906
6011,45,468666917
7514,46,468674431
6011,47,468680442
9017,48,468689459
6011,49,468695470
7514,50,468702984
6011,51,468708995
6011,52,468715006
7515,53,468722521
6010,54,468728531
7514,55,468736045
6012,56,468742057
6010,57,468748067
7515,58,468755582
6011,59,468761593
6011,60,468767604
7514,61,468775118
6011,62,468781129
9017,63,468790146
6011,64,468796157
7514,65,468803671
6011,66,468809682
6011,67,468815693
7514,68,468823207
6011,69,468829218
7514,70,468836732
6012,71,468842744
6011,72,468848755
7514,73,468856269
6011,74,468862280
6011,75,468868291
7514,76,468875805
6011,77,468881816
6011,78,468887827
9017,79,468896844
7514,80,468904358
6011,81,468910369
6012,82,468916381
7514,83,468923895
6010,84,468929905
6012,85,468935917
7514,86,468943431
6011,87,468949442
7514,88,468956956
6011,89,468962967
6011,90,468968978
7514,91,468976492
6011,92,468982503
6012,93,468988515
9017,94,468997532
7513,95,469005045
6011,96,469011056
6012,97,469017068
7514,98,469024582
6011,99,469030593
7514,100,469038107
6011,101,469044118
6011,102,469050129
7514,103,469057643
6011,104,469063654
6011,105,469069665
7514,106,469077179
6011,107,469083190
6012,108,469089202
7514,109,469096716
9017,110,469105733
6011,111,469111744
6011,112,469117755
7514,113,469125269
6011,114,469131280
6011,115,469137291
7514,116,469144805
6011,117,469150816
7514,118,469158330
6011,119,469164341
6012,120,469170353
7514,121,469177867
6011,122,469183878
6011,123,469189889
7514,124,469197403
9017,125,469206420
6011,126,469212431
6011,127,469218442
7514,128,469225956
6011,129,469231967
6012,130,469237979
7513,131,469245492
6011,132,469251503
6012,133,469257515
7514,134,469265029
6011,135,469271040
7514,136,469278554
6011,137,469284565
6011,138,469290576
7514,139,469298090
6011,140,469304101
9017,141,469313118
6011,142,469319129
7514,143,469326643
6011,144,469332654
6012,145,469338666
7514,146,469346180
6011,147,469352191
7514,148,469359705
6011,149,469365716
6011,150,469371727
7514,151,469379241
6011,152,469385252
6011,153,469391263
7517,154,469398780
6008,155,469404788
9018,156,469413806
6010,157,469419816
7515,158,469427331
6010,159,469433341
6012,160,469439353
7514,161,469446867
6011,162,469452878
7514,163,469460392
6011,164,469466403
6011,165,469472414
7514,166,469479928
6012,167,469485940
6010,168,469491950
7515,169,469499465
6011,170,469505476
6011,171,469511487
9016,172,469520503
7515,173,469528018
6011,174,469534029
6011,175,469540040
7514,176,469547554
6011,177,469553565
6011,178,469559576
7514,179,469567090
6011,180,469573101
7514,181,469580615
6012,182,469586627
49% frame skips
The same thing happens with 6by9's repository once I try on my 4b board.
btw I do have an HQ camera, but I don't have the software reference manual for imx477 sensor and have no idea how to hack it, so I didn't test high-speed photography on that.