Aharoni-Lab / Miniscope-DAQ-QT-Software

Software for streaming and controlling neural and behavioral data from freely behaving animals
GNU General Public License v3.0
117 stars 29 forks source link

Modifying device files for resolution and frame rate #40

Open saglag opened 3 years ago

saglag commented 3 years ago

Until I get my FLIR camera to work with acquisition software, I'm working with a Logitech Brio.

I've tried modifying the device config file for webcams to include 1920x1080 resolution.

Whenever I try to run this resolution the software crashes.

Also, when I adjust the framerate in the behaviorCams.json it still runs at 30 FPS in the software. And the avi output runs a 30 FPS movie at 60 FPS (independent whether the device file states 30 or 60).

daharoni commented 3 years ago

Hi @saglag,

saglag commented 3 years ago

Made the change in the videoDevices.json image Was able to get the higher resolution, but not the frame rate increase. I can run the camera separately at 1920x1080 at 60 FPS and it seems fine (but do not know if it drops frames).

I've also tried modifying it in the userconfig file: image Unfortunately, still doesn't acquire at 60 FPS

saglag commented 3 years ago

Ah, I need to check timestamps to verify FPS. I'll look tomorrow morning

saglag commented 3 years ago

Indeed it runs at 30 FPS although all json files specify running at 60 FPS (both the videoDevices.json and the userconfig file) image

Verified 30FPS with timestamp so that frame 30 is approximately at 1000 ms image

Mraymon5 commented 1 year ago

I'm running into a similar problem; our video signal keeps getting saturated, and I'm trying to increase framerate as one method of dimming the video, but I can't set the acquisition FPS higher than 30.