https://github.com/Hermann-SW/Raspberry ... ure-frames
Below 3000fps and 9000fps framerate videos are nice, double digit thousand fps framerate videos to come soon ...
kFPS videos from kEPS multiple exposure frames
Now that we can create thousands of eps multiple exposure frames (kEPS), creating kFPS framerate videos from those frames seemed interesting. General purpose tools for that seem to be difficult to create at least (a frame with same view without the moving object would be helpful).
Fastest framerates for raspivid (640x480) videos are 90fps for v1 camera and 200fps for v2 camera. Fastest framerates for raspiraw videos are 665fps for v1 camera (640x64) and 1007fps for v2 camera (640x75). Creating kFPS framerate videos from kEPS multiple exposure frames is the only way for Raspberry v1 camera (not possible with v2 camera) to create this kind of super high framerate videos. And these vidoes can be of quite big frame size like the 2MP airsoft pistol multiple exposure frame.
6mm.frame3946.jpg.sh is a simple tool based on netpbm image tools and ffmpeg. It takes 6mm.frame3946.jpg image as input. The coordinates of the moving parts (left/top/width/height) used in the script were determined manually with gimp. The 3000fps animation was created with this command (scaled down from 1920 to 640 horizontally, animation framerate 2fps, 1500 times slower than real):
Code: Select all
./6mm.frame3946.jpg.sh 640 2

Second tool pointed.pellet.frame0360_undistorted.jpg.sh uses same technique. It takes (594x438) pointed.pellet.frame0360_undistorted.jpg image as input. The coordinates of the moving parts were determined as before with gimp. The 9000fps animation was created with this command (no scaling horizontally, animation framerate 3fps, 3000 times slower than real):
Code: Select all
./pointed.pellet.frame0360_undistorted.jpg.sh 594 3

P.S:
2nd script has been modified to pass optional 3rd/4th argument to specify top/bottom lines to keep, The middle area will be filled black to remove too bright background:
https://github.com/Hermann-SW/Raspberry ... 96225167a7
Code: Select all
./pointed.pellet.frame0360_undistorted.jpg.sh 594 3 70 20
