Demo on how to acquire from multiple FLIR cameras using bonsai and encoding using FFMPEG
To deploy the Bonsai code, run ./bonsai/setup.cmd
. This small script will download and regenerate the current bonsai environment (see tutorial for further details.)
These should only need to be installed once on a fresh new system, and are not required if simply refreshing the install or deploying to a new folder.
Download > archive > 1.29.0.5 > SpinnakerSDK_FULL_1.29.0.5_x64.exe
C:\ffmpeg
C:\ffmpeg\bin
to the system PATH
environment variable./bonsai/Bonsai.exe
)./src/main.bonsai
)Camera<X>
: The serial number of the camera to instantiate (dropdown list)Extension
: The file extension to use for the output video file (e.g. .mp4
)FrameRate
: The frame rate to use for the output video file (e.g. 30
)OutpuArguments
: The output arguments to use for the output video file encoding (e.g. -crf 23 -preset fast
)RootPath
: The root path to use for the output video file (e.g. C:\Data
). Data will be saved in the format: <RootPath>\<Date>\<CameraSerial>.<Extension>
Start
button in the top left corner of the bonsai window