Windows 10 使用 Captura 无法录屏,报 System.IO.IOException

2023-04-22 19:08:32 +08:00
 MiketsuSmasher

在 Windows 10 22H2 环境下使用 Captura 录屏,总是在持续最多几秒后中止,并出现如下错误信息:

System.IO.IOException: 系统资源不足,无法完成请求的服务。

   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   在 System.IO.Pipes.PipeStream.BeginWriteCore(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
   在 System.IO.Pipes.PipeStream.BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
   在 System.IO.Stream.<>c.<BeginEndWriteAsync>b__53_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
   在 System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
   在 System.IO.Stream.BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count)
   在 System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
   在 System.IO.Stream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count)
   在 Captura.Models.FFmpegWriter.WriteFrame(IBitmapFrame Frame)
   在 Captura.Models.WithPreviewWriter.WriteFrame(IBitmapFrame Image)
   在 Screna.Recorder.DoWrite()

尝试使用管理员权限运行 Captura ,没有效果。

刚才要把一局游戏的回放录下来,试了几次都没成功,想知道怎么解决无法录屏的问题?如果需要换录屏工具的话,可以推荐一个吗?

btw ,用系统自带的 XBox Game Bar 录屏也会出现类似的错误,推测只要录屏就会出现此类错误,不单是 Captura 的问题。

582 次点击
所在节点    问与答
2 条回复
ysc3839
2023-04-22 21:09:47 +08:00
xctcc
2023-04-22 21:19:06 +08:00
我在虚拟机上用 captura 也是这个错误,好像是内存不足,本机没问题

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/934588

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX