V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
MiketsuSmasher
V2EX  ›  问与答

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

  •  
  •   MiketsuSmasher · 2023-04-22 19:08:32 +08:00 via Android · 570 次点击
    这是一个创建于 387 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 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 的问题。

    2 条回复    2023-04-22 21:19:06 +08:00
    ysc3839
        1
    ysc3839  
       2023-04-22 21:09:47 +08:00 via Android
    xctcc
        2
    xctcc  
       2023-04-22 21:19:06 +08:00
    我在虚拟机上用 captura 也是这个错误,好像是内存不足,本机没问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3482 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 00:18 · PVG 08:18 · LAX 17:18 · JFK 20:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.