-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Camera Characteristics #52
Comments
Thank you for using FlashCap! Maybe this camera supports 60FPS in a format that is not supported by FlashCap. https://github.com/kekyo/FlashCap/tree/feature/52 Check out this branch, open sln and build it, then run the Avalonia sample code. If you see an item in the format selection combo box that is throw new ArgumentException(
$"FlashCap: Couldn't use unknown pixel format: {characteristics} ({characteristics.RawPixelFormat})"); I imagine it might be some kind of YUV format that FlashCap does not support (in that case, we would need to implement a transcoder...) |
Interesting, and unexpected... :( I suspect some kind of DirectShow issue, since devices that actually support 60FPS, such as the screenshot we presented, definitely enumerate 60FPS characteristics. It could be that the DirectShow API is lying (somehow ignoring that particular), or it could be that the MediaFoundation API is lying (e.g., bitmap doubling to make 30 FPS look like 60 FPS when it is actually 30 FPS). I have a plan to support the MediaFoundation API (#15 (comment)), but it has been put on the back burner because it has to be implemented from scratch... |
If you are willing to follow up, you may be able to isolate the DirectShow issue by trying to see if 60FPS can be selected in an application that can perform video capture with the OSS implementation. For example, if 60FPS is selectable with OBS, then all we need to do is to check which set of APIs OBS is using. If they are using the MediaFoundation API, then the above hypothesis will be reinforced. |
Hey, did you have any chance too see my last comment? |
Yes, and I am having trouble figuring out what is causing it... What we know at this point is:
If OBS is using MediaFoundation API, it could work if FlashCap supports MediaFoundation API. We would like to confirm that the MediaFoundation API can reliably acquire 60fps information. However, due to my lack of knowledge of the MediaFoundation API (although I have some documentation on hand in case of such a situation), I have not been able to verify this due to lack of time in the near future... |
In 1.10.0, supported NV12 transcoder. Maybe it can be improved in YUV format, but I believe it is probably a DS API issue. Give it a try if you are interested. This issue is closed for now. |
Hi,
I did non a lot of research and testing and I am still running into the following issue.
So I have a Logitech Stream Cam connected via USB-C 3.0
The sample Code to print the camera characteristics works fine, but I am missing the 60 FPS selection (see screenshot)
For comparison in the windows Camera App there is the option to select 60FPS.
Sorry if I am missing something obvious, but I don't see any solution to this problem.
For my project idea I absolutely need 60 FPS - Any Ideas why the DircetShow pro. for 60 FPS is missing?
Thanks in advance
Kind regards
M.
The text was updated successfully, but these errors were encountered: