akvirtualcamera icon indicating copy to clipboard operation
akvirtualcamera copied to clipboard

Mac version: fwrite takes too long

Open renzhilan opened this issue 3 years ago • 4 comments

Hi, I installed the virtual camera service in the Mac version, and then tried to write a 2m pixel fwrite (buffer, buffer_size, 1, proc) each time, but it took about 200 milliseconds, causing the picture to get stuck. What's the reason,

renzhilan avatar Nov 13 '21 08:11 renzhilan

The delay is because the plugin needs to convert the source frame to the destination frame, the higher the resolution of the frame, the slowest it will get.

hipersayanX avatar Nov 15 '21 22:11 hipersayanX

The same pixel size of 2M does not freeze on the window version, but it freezes on the mac version.

renzhilan avatar Dec 02 '21 02:12 renzhilan

I freezes completely, or it just lags?

hipersayanX avatar Dec 03 '21 18:12 hipersayanX

The streaming time has slowed down. It takes about 100ms to write a frame fwrite(frameRGBBuffer, bufferSize, 1, outputStream);

renzhilan avatar Dec 08 '21 02:12 renzhilan