-
Notifications
You must be signed in to change notification settings - Fork 2k
Allow the maximum frame rate possible #876
Conversation
In my setup, I cannot achieve more than 1 fps (!), without setting this field to zero. Obviously, you can set it to zero, to allow the maximum frame rate achievable by the system, or you can set it to a positive value (in 100 nsec units, to get the desired frame rate).
Hi @bastio84, Thanks a lot for your contribution! I am still going through the implications of this change, but please, do you think you could elaborate a little bit more about which property could be added, and where? Thanks again! |
Hi @cesarsouza, As far as I know, there is no guarantee that the final video stream obtained will have exactly this framerate, but - at least in my setup - I cannot achieve more than 1 fps (even with other implementations of DirectShow for .NET) without doing this. I suspect that this is happened after the installation of some updates (before I've never had this problem). I had to do it also because I encountered the same problem with an industrial USB3 Vision camera on a machine running Windows Embedded Standard: no chance to see a video stream without setting the Thanks again, Federico |
Hi @bastio84, Thanks a lot for the response, now I understand what you meant!
Actually, this is quite interesting. Do you mean the video stream didn't start unless this property was set? I am now wondering if this isn't related to issue #881. Regarding the new In fact, I actually wanted to make a slight change to your proposal, that is, to allow this property to also be null, such that whenever If not I can also do it myself, I just don't want to end up breaking the fix for your application in the process. Again many thanks for the pull request! Best, |
It is fine, I will try to do those changes myself! Thanks a lot! |
Hi! In addition, i tried to set the Therefore, I fully agree with you in adding a nullable property, to keep the framework always working in the "regular" way if not changing the default (null) value. Thanks! |
Hi @bastio84,
Yeah, me too. It was indeed inherited from AForge. I've added the new property at
Please let me know if you have any remarks, specially regarding the documentation! Regards, |
In my setup (regular notebook webcam), I cannot achieve more than 1 fps (!), without setting this field to zero.
Obviously, you can set it to zero, to allow the maximum frame rate achievable by the system, or you can set it to a positive value (in 100 nsec units, to get the desired frame rate), therefore a property could be added.