Xbox DirectX或MMF上的UWP游戏捕获 [英] UWP Game Capture on Xbox DirectX or MMF

查看:172
本文介绍了Xbox DirectX或MMF上的UWP游戏捕获的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究构建一个可在 UWP上运行的游戏捕获"应用程序Xbox One ,关于在游戏过程中捕获屏幕的实际内容,在更广泛的Microsoft库生态系统中,似乎有两种方法可供使用:

I'm investigating building a "Game Capture" App that works within UWP on Xbox One, as for capturing the actual content of the screen during game-play, it appears there are two ways to go within the wider eco-system of Microsoft libraries:

  1. DirectX (现在是Windows API的一部分)
  2. Microsoft Media Foundation
  1. DirectX (Now part of Windows API)
  2. Microsoft Media Foundation

考虑到这一点,我的假设是 UWP应用可直接访问DirectX通过Windows运行时API ,除了对DirectX功能集和硬件的限制外,还存在用于捕获Xbox屏幕内容的基本API.

With that in mind, my assumption is that DirectX is natively accessible by UWP apps via the Windows Runtime API, and aside from limitations on the DirectX feature-sets and hardware, basic APIs exist for capturing the content of the Xbox's screen.

我不确定,虽然它确实封装了一些有趣的使用加速视频编码的访问权限,但它似乎不是Xbox上可用的UWP API子集的一部分.

MMF I'm not so sure about, though it does encapsulate some interesting access to using an accelerated video encoding but does not appear to be part of the UWP subset of APIs available on the Xbox.

除了要使用的正确库之外,在开发能够捕获"在设备上本地运行的Xbox屏幕的应用程序时,还有其他已知限制.

Beyond the correct library to use, are there any other known limitations on developing apps that "capture" the Xbox's screen that run natively on the device.

谢谢

推荐答案

目前无法执行.

Xbox One是一个封闭的平台,其开放性不如在台式PC上运行的Windows 10.

The Xbox One is a closed platform and not as open as Windows 10 running on a desktop PC, for example.

在PC上,可以使用现有的API捕获游戏,应用程序等的输出.在Xbox One上,这仅由系统处理.控制台一直在录制,但用户可以决定何时保存该素材或通过Twitch,YouTube等进行广播.

On a PC it's possible to use existing APIs to capture the output from a game, app, etc. On Xbox One, this is handled by the system only. The console is recording all the time, but the user decides when to save that footage or broadcast it via Twitch, YouTube, etc.

在Xbox One上运行的UWP应用程序无法自己录制素材或访问内置API来实现此功能.

UWP apps running on Xbox One cannot record footage themselves or access the built-in APIs for this functionality.

这篇关于Xbox DirectX或MMF上的UWP游戏捕获的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆