Measured speeds are always around 177m/s (637km/h).
This was command used, with "-awb greyworld" -- all captures always had 0 frameskips (verified with ptsanalyze):
Code: Select all
pi@raspberrypi4B:~ $ raspivid -md 4 -w 1640 -h 1232 -fps 40 -pts tst.pts -o tst.h264 -t 4000 -awb greyworld
Too many macroblocks/s: Increasing H264 Level to 4.2
pi@raspberrypi4B:~ $
The first two times multiple exposures were split on two frames, not nice.
Third 2-pellet shot with 2µs flash duration at 30KHz PWM got captured in single frame:
Code: Select all
pigs hp 13 30000 60000 && sleep 8 && pigs w 13 0
Distance between the two pellets is "the same" for several shots.
Therefore I captured with 20KHz 2µs flash durations, verifying that indeed the very close pairs are captured by same flash:
Code: Select all
pigs hp 13 20000 40000 && sleep 8 && pigs w 13 0
Airgun lies on side as can be seen in photos earlier in this thread.
Although trying to shoot through lower part of frame, pellets always appear somewhere at top.
Likely that airgun pulling up is cause of that.
I copied the multiple exposures of 30KHz (top) and 20KZ (bottom) PWMs together.
Full resolution (width 1640) capture: https://stamm-wilbrandt.de/airgun/tb.67.png
Scaled to 30% for forum attachment:
I did close window shutter before capturing this time, so room was dark besides the 2µs flashes.
Lower part is darker, because only 20000/40*2µs=1000µs=1ms total flash time happened per frame.
Higher part is brighter, because 30000/40*2µs=1500µs=1.5ms total flash time happened per frame.
(of course one pellet exposure gets 2µs flash time in total only)
In summary I find this experiment of two pellets flying side-by-side nice, although they fly with "only" 177m/s (637km/h).
P.S:
Speed calculated from top image is not much slower than 177m/s measured with gun chronograph:
Code: Select all
$ echo "0.0042/420*540*30000" | bc -ql
162.00000000000000000000
$