Dee wrote:Although I am still interested in any answers to my previous post I have found that if you set the buffer in preferences to under 600MB and keep both cameras on VGA you can achieve a reasonably stable buffer of 15 seconds on both screens.
Yes, this corresponds to what I meant by saying "the memory setting in the preference to be understood for both screens combined".
Right now, if you set the memory setting sufficiently low, the combined space of the two buffers + the rest of the program + the .NET runtime, will stay under 2GB and you won't have the crash.
Dee wrote:Comments
1) The slider bar seems to become very inaccurate doing this (the number of seconds indicated becomes very erratic when trying to adjust)
Here is some more context to understand how it currently works:
The number of seconds is actually computed dynamically by taking into account: 1. the memory space taken by each frame, 2. the total amount of memory allowed, and 3. the speed at which we receive frames.
The trick here is that when choosing a configuration (say 30fps), we only ask the device to send us frames at this rate, but in reality, we may receive frames a bit more slowly. And the difference really depends on the burden the CPU is currently under.
For now I decided to track and use the actual frame rate we receive. It is more accurate, but its stability depends on external parameters…
I agree it's not optimal. I'm not too sure how to improve this part right now. It also negatively impacts the recording function because we store the frame rate of the created video upfront, and then we receive frames even more slowly, which makes the final video not frame rate accurate…
Dee wrote:3) It would be really nice to be able to achieve a little better screen resolution, is is possible to have the buffer written to somewhere else (eg high speed flashdrive or a SSD)
Well, at some point we'll have to consider this option, yes. Right now I'd like to explore a bit more the in-memory buffer concept. I think it opens some possibilities that will not be available with an on-disk buffer.