tschnz / Live-Video-Magnification

An OpenCV/Qt based realtime application for Eulerian Video Magnification / Motion Magnification. Works with multiple videos and cameras at the same time and let's you export the magnified videos.
GNU General Public License v3.0
445 stars 104 forks source link

Framerate 0 for capture device #11

Open mynameisfiber opened 3 years ago

mynameisfiber commented 3 years ago

When using a capture device, this->imgProcSettings.framerate is zero which leads to the Riesz maximum frequency in the UI being 0.

https://github.com/tschnz/Live-Video-Magnification/blob/master/src/main/ui/MagnifyOptions.cpp#L416-L419

This effectively makes this magnification method unusable for capture devices.