I’m working on a video recording application in C# and I’m encountering high memory usage during recording. I’m using the AForge and Accord libraries for video capture and writing, but the memory consumption seems to be quite high.
Could anyone suggest techniques or best practices to reduce memory usage while recording video? I’m specifically interested in methods to optimize memory management without compromising video quality.
Thanks in advance!
I made a code that accesses a USB camera and takes pictures and records videos, but when I run the program directly the memory consumption increases to 130 MB and when I start recording a video it increases to 500 MB Does anyone know how to lower the memory consumption while recording without changing the video data (FPS…)
Thanks anyway!
maya yanai is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.