UWP Game Capture on Xbox DirectX or MMF

时光总嘲笑我的痴心妄想 提交于 2020-01-03 06:39:11

问题


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 (Now part of Windows API)
  2. Microsoft Media Foundation

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.

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.

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.

Thanks


回答1:


It's not possible at this time.

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

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.

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



来源:https://stackoverflow.com/questions/36395413/uwp-game-capture-on-xbox-directx-or-mmf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!