-
Notifications
You must be signed in to change notification settings - Fork 289
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
MediaCapture with GPU based IBasicVideoEffect issue still there #446
Comments
I tried to repro the "parameter is incorrect" issue on two Lumia 950's with 14959, and they both worked. |
It is happening on my Lumia 640 with 14951. Are any of the features in Win2d not supported in Lumia 640? |
As I have elaborated here, if I comment this line in my code, the preview works var effect = await _mediaCapture.AddVideoEffectAsync(
new VideoEffectDefinition(typeof(TheEffect).FullName),
MediaStreamType.VideoPreview); |
If I add a IBasicVideoEffect to the VideoPreview, all I see is a white screen. |
Can you try the camera effect demo in the Win2D Example Gallery? |
Yes I did. That's when I am getting the Media Capture Failed: The parameter is incorrect error message. |
@shawnhar @13thsymphony |
I was finally able to get my hands on a Lumia 640 and upgrade the OS to 14955, and this does indeed repro. This appears to be another regression in the underlying OS; we are investigating more. |
@13thsymphony |
@ratishphilip For my reference, this is internal bug 9637471 |
Does this error happen on devices older than Lumia 640? (Like Lumia 550)? |
Our current hypothesis is that the issue hits devices using the Adreno 300 series of GPU (DX feature level 9_3). This includes the 550, but we haven't tried it explicitly. The Lumia 950, for example, uses a 400 series and is not affected (DX feature level 11_1). |
So to effectively use all the features of Win2d and the camera, the baseline device is Lumia 950? |
@shawnhar @13thsymphony |
@shawnhar @13thsymphony |
No, this is not fixed yet. |
This issue should be fixed in Windows OS builds from mid-Feb onwards. |
Yes it is. Just checked on my L640. Thank you very much. |
@shawnhar
Hi,
This is regarding the issue reported in #350 and #397.
I am currently using a Lumia 640 with build 14951. Though this issue was fixed in an earlier build (14393), I believe it has returned again. I am still seeing the Media Capture Failed: The parameter is incorrect error message.
Also, whenever I add a new VideoEffect to the VideoPreview stream of MediaCapture, in my own sample application, the CaptureElement does not display any video (just a white screen). Removing the VideoEffect shows the preview normally. ( I have reported it here )
Could you please look into this issue?
The text was updated successfully, but these errors were encountered: