Sascha-L / WPF-MediaKit

Microsoft Public License
367 stars 116 forks source link

VideoCaptureElement can not select the best video capture parameters #110

Open LazyCuteLion opened 1 month ago

LazyCuteLion commented 1 month ago

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".