VideoCapture API in Unity3D on HL2 only returns Legacy Resolutions under SupportedResolutions

Valentin 40 Reputation points

Using VideoCapture API I am able to record videos on the HL2 for resolutions 2272x1278 and 896x504. I am encountering the same problem as described here:

It seems like only resolutions listed under the Legacy profile are returned as supported ones. How can I record videos at different, supported resolutions on HL2 though?

Thank you!

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,217 questions
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
380 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ying Li - MSFT 725 Reputation points Microsoft Vendor

    Hello, Welcome to Microsoft Q&A,

    You can use MediaCapture API to expand your options for camera profiles and video capture resolutions on the HoloLens device. To  capture videos with MediaCapture API, please refer to Basic photo, video, and audio capture with MediaCapture - UWP applications | Microsoft Learn.

    To check all the profiles and resolutions supported by HoloLens 2 device, please refer to - hololens-2.

    To learn how to select a profile based on supported resolution, please refer to - - select-a-profile-based-on-supported-resolution-and-frame-rate.

    I did some tests with two supported resolutions: 1952x1100 and 1280x720, both of which worked successfully.

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful