I finally added dual camera handling for Pi5 to GScrop gist:...
Few days ago I saw a comment from ddbaron on my GScrop gist:
https://gist.github.com/Hermann-SW/e604 ... nt-4942058
...
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!
...
https://gist.github.com/Hermann-SW/e604 ... 4e0e9f6b9c
Code:
pi@raspberrypi5:~ $ GScrop Format: [narrow=1] [cam1=1] /usr/local/bin/GScrop width height framerate ms [us]pi@raspberrypi5:~ $
Default is to use camera 0:
Code:
pi@raspberrypi5:~ $ narrow=1 GScrop 688 136 402 1000/dev/media0...[libx264 @ 0x5556652764a0] kb/s:1641.32Total: 383 frames (382 samples)Average: 2.500 ms / 400.004 fpsMinimum: 2.469 ms at frame 125Maximum: 9.895 ms at frame 246Outliers: 1 (100%) 2 (10.0%) 314 (1.0%) 382 (0.1%)pi@raspberrypi5:~ $
Here camera 1 is used:
Code:
pi@raspberrypi5:~ $ cam1=foobar GScrop 688 136 402 1000/dev/media1...[libx264 @ 0x5555dc266710] kb/s:1369.74Total: 390 frames (389 samples)Average: 2.474 ms / 404.186 fpsMinimum: 2.468 ms at frame 139Maximum: 2.481 ms at frame 140Outliers: 0 (100%) 0 (10.0%) 0 (1.0%) 5 (0.1%)pi@raspberrypi5:~ $
P.S:
The /dev/mediaX vary for the cameras on reboot, GScrop just reports the found one for the used camera.
P.P.S:
Results, opened with these commands and immediately pressed SPACE:
Code:
mplayer /dev/shm/tst.mp4 mplayer /dev/shm/tst1.mp4
P.P.P.S:
Captured with newly 3Dprinted dual GS camera holder stand.
AND with two new official 6mm Raspberry lenses:
viewtopic.php?p=2201031#p2200993
Statistics: Posted by HermannSW — Sat Mar 09, 2024 12:20 am