I always thought on playing with Raspberry camera stereo video.
If so, plan was to buy a second GS camera because of high framerate video capturing.
Recently I saw postings from ddbaron in this forum regarding stereo GScrop.
So I ordered a new GS camera, and two new Pi5 30cm flat ribbon cables.
It took a while until both cameras worked, inserting the cables (after powering down several times)
only worked when I pressed my hanging Pi5 against the wall with the hand that did hold the cable: I found a CS lens labeled 4mm.
After trying several lenses for same view, finally I found a second 4mm CS lens.
I will use those from now on with both GS cameras.
Few days ago I saw a comment from ddbaron on my GScrop gist:
https://gist.github.com/Hermann-SW/e604 ... nt-4942058
At that point my GS camera was ordered, but had not arrived.
After I was able to see both cameras with "--list-cameras", to my surprise only slight changes to GScrop were
needed to do high framerate video capturing with both cameras, one at a time.
Of course next target was to try recording high framerate concurrently.
It will take quite some testing to correctly add Pi5 two camera handling correctly to GScrop gist.
But it already works!
I wanted to start 5s recording of 688x136@402fps concurrently, did that in two terminals:
And it worked, analysis figures show only single frameskip for each camera, and both report 403.9fps!
I played both recorded videos with mplayer, and immediately pressed SPACE to stop.
So both frames are from very beginning of recording.
At that point I had a finger directly in front of camera1:
Just to note, since I run my Pi5 overlocked since weeks, above recordings were done at 3GHz as well:(freq here: viewtopic.php?t=361214)
If so, plan was to buy a second GS camera because of high framerate video capturing.
Recently I saw postings from ddbaron in this forum regarding stereo GScrop.
So I ordered a new GS camera, and two new Pi5 30cm flat ribbon cables.
It took a while until both cameras worked, inserting the cables (after powering down several times)
only worked when I pressed my hanging Pi5 against the wall with the hand that did hold the cable: I found a CS lens labeled 4mm.
After trying several lenses for same view, finally I found a second 4mm CS lens.
I will use those from now on with both GS cameras.
Few days ago I saw a comment from ddbaron on my GScrop gist:
https://gist.github.com/Hermann-SW/e604 ... nt-4942058
At that point my GS camera was ordered, but had not arrived.
After I was able to see both cameras with "--list-cameras", to my surprise only slight changes to GScrop were
needed to do high framerate video capturing with both cameras, one at a time.
Of course next target was to try recording high framerate concurrently.
It will take quite some testing to correctly add Pi5 two camera handling correctly to GScrop gist.
But it already works!
I wanted to start 5s recording of 688x136@402fps concurrently, did that in two terminals:
Code:
sleep $((20 - $(date +%S))) && ./GScrop0 688 136 402 5000
Code:
sleep $((20 - $(date +%S))) && ./GScrop1 688 136 402 5000
And it worked, analysis figures show only single frameskip for each camera, and both report 403.9fps!
I played both recorded videos with mplayer, and immediately pressed SPACE to stop.
So both frames are from very beginning of recording.
At that point I had a finger directly in front of camera1:
Just to note, since I run my Pi5 overlocked since weeks, above recordings were done at 3GHz as well:
Code:
pi@raspberrypi5:~ $ freqmin=cur=3000000=maxpi@raspberrypi5:~ $
Statistics: Posted by HermannSW — Sat Mar 02, 2024 2:27 am