robmikh / SimpleRecorder

A simple screen recorder using both the Windows.Graphics.Capture and Windows.Media.Transcoding APIs.
MIT License
219 stars 43 forks source link

Encoder exception #31

Closed MarcAnt01 closed 3 years ago

MarcAnt01 commented 3 years ago

Some users have this issues with the encoder, it is present also in my fork, if you want I can send you error details from AppCenter via mail. Users that have this kind of issue can never record the screen (apps are fine) image

robmikh commented 3 years ago

Unfortunately there isn't enough information to figure out what is going on.

What's the resolution? Do you get the error if you try to record a window that is the same size as the monitor? Does it work if you turn down some of the settings (bitrate/fps)?

MarcAnt01 commented 3 years ago

@robmikh I don't have this issue, but some users of mine do, here's what one of them said image

robmikh commented 3 years ago

Hmm that makes me think the driver or available registered encoders doesn't support the encoding mode used under the covers by the Transcoding API. Unfortunately this quickly gets into media territory that I'm not super familiar with yet.

What GPU are they running?

FrayxRulez commented 3 years ago

Adding a bit of context. The exception is raised by PrepareTranscodeResult.TranscodeAsync so I’m pretty sure that CanTranscode is set to false, so your guess @robmikh is likely correct.

MarcAnt01 commented 3 years ago

The GPU of the user is an Intel UHD Graphics 620, but I have the same GPU and the app works properly for me on 2004, I'll try to setup a vm in order to attempt to reproduce the issue

robmikh commented 3 years ago

If you set up a VM, it will likely be using WARP and a software encoder. It likely won't reproduce the issue (for the same reasons, at least).

Could we get a dxdiag from the machine?

MarcAnt01 commented 3 years ago

DxDiag.txt

MarcAnt01 commented 3 years ago

Hey @robmikh , sorry for pinging you, have you found out anything about this issue?

robmikh commented 3 years ago

Sorry, but there isn't enough here to debug this issue.