portugueslab / stytra

A modular package to control stimulation and track behaviour
http://www.portugueslab.com/stytra/
GNU General Public License v3.0
41 stars 26 forks source link

Question: Frame acquisition and compression through a GPU #90

Open GautamSridhar opened 1 year ago

GautamSridhar commented 1 year ago

Hello,

We are planning to set up stytra using a Mikrotron camera with NI frame grabber 1433. For our purposes, we would also like to save the videos, but a high frame rate, high resolution video might be difficult to save if we run an experiment for a few hours. Does stytra allow us to compress frames in real time via a GPU, and save in ffmpeg format ?

If not, could I be pointed to the part in the backend that manages the framegrabbing and saving ? I would like to see if we can possibly build on this aspect, so I could fork the repository and add this as a feature if there is any interest.

Gautam