天天看点

录制错误问题记录

录制错误:

SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: 参数错误。

   在 SharpDX.Result.CheckError()

   在 SharpDX.DXGI.Output1.DuplicateOutput(IUnknown deviceRef)

   在 DesktopDuplication.DuplCapture.Init()

   在 DesktopDuplication.DuplCapture..ctor(Output1 Output)

   在 DesktopDuplication.FullScreenDesktopDuplicator.<>c__DisplayClass2_1.<.ctor>b__2(Output M)

   在 System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()

   在 System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

   在 DesktopDuplication.FullScreenDesktopDuplicator..ctor(Boolean IncludeCursor, IPreviewWindow PreviewWindow, IPlatformServices PlatformServices)

   在 Captura.Models.DeskDuplFullScreenImageProvider..ctor(Boolean IncludeCursor, IPreviewWindow PreviewWindow, IPlatformServices PlatformServices)

   在 Captura.WindowsPlatformServices.GetAllScreensProvider(Boolean IncludeCursor)

   在 Captura.Models.FullScreenItem.GetImageProvider(Boolean IncludeCursor)

   在 Captura.ViewModels.RecordingModel.GetImageProvider(RecordingModelParams RecordingParams)

   在 Captura.ViewModels.RecordingModel.SetupVideoRecorder(IAudioProvider AudioProvider, RecordingModelParams RecordingParams)

继续阅读