Skip to content
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

VideoCaptureElement can not select the best video capture parameters #110

Open
LazyCuteLion opened this issue Oct 17, 2024 · 1 comment
Open

Comments

@LazyCuteLion
Copy link

LazyCuteLion commented Oct 17, 2024

VideoCaptureElement set :
DesiredPixelWidth="1920"
DesiredPixelHeight="1080"
FPS="30"
UseYuv="False"
Actual,play on 5fps,my camera have: [YUY2,1920x1080,5FPS]、[MJPG,1920x1080,30FPS]……
I debug "VideoCapturePlayer" and find it the "subType" is "MediaSubType.YUY2" although set UseYuv=Flase.
It should be matched "MediaSubType.MJPG".

@LazyCuteLion
Copy link
Author

there's a possible solution https://github.com/LazyCuteLion/WPF-MediaKit/tree/CameraParameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant