Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Video player resolution limitation?

Discussion in 'Audio & Video' started by PrivHateVoid, Aug 19, 2022.

  1. PrivHateVoid

    PrivHateVoid

    Joined:
    Dec 16, 2016
    Posts:
    3
    Hello everyone,

    I try to read an *.mp4 file into unity but the console log say :


    VideoPlayer cannot play url : file://C:/**********/Premiere Pro/22.0/Sequence 01_5.mp4
    Cannot read file.

    Context: Setting media type for first video stream
    Error details: No suitable transform was found to encode or decode the content.
    Track types:
    Video Track [5760 x 2880], type: HEVC
    Resolution exceeds the Microsoft Media Foundation HEVC
    decoder limit of 4096 x 2304 on Windows 10 and above.
    Install HEVC Video Extensions to enable HEVC format support on compatible devices.
    https://www.microsoft.com/en-ca/p/hevc-video-extensions-from-device-manufacturer/9n4wgh0z6vhq
    https://www.microsoft.com/en-us/p/hevc-video-extensions/9nmzlz57r3t7



    My video has a resolution of : 5760 x 2880. Its a side by side video for my XR HMD. (each lenses camera resolution is 2880 x 2880).

    Apparently this is a problem about a too big resolution? Its a short clip for test the render, this file size is less than 20 MB (19.8MB). Its about a Windows issue (like it seems in logs) or unity limitation, any way to have a bigger resolution than 4096 x 2304 ? Did the recommended add on ( HEVC Video Extensions from the Device Manufacturer) solve the problem, before purchasing? (The video is played good in VLC, on same computer).

    This if for some test, the final main goal will be to get this video resolution from a local stream, using a private wifi6 mesh network.

    Thanks in advance.


    EDIT: Nevermind, yesterday Windows ask my to paid for the HVEC add on (on windows store directly), and now its free after online store redirection..... Windows.......
     
    Last edited: Aug 19, 2022