Search Feedback

96
votes

h265 Video support

Assets

-

-

Samsung GearVR devices have h265 encoded video playback ability. Support for videos encoded using h265 HEVC would allow me to use Unity and reduce my deployed asset file sizes by 35-50%. As it is, I currently need to develop the app using the Oculus mobile native framework.

Comments (10)

  1. 563b4f4b4604270821ea2ce43e950873?d=mm

    LostPanda

    Nov 24, 2018 13:59

    @LEONHARDP, yes,a10 can play h265 video. but slow. video file is 4096*4096,using avpro play is smooth.Please improve efficiency and support GPU acceleration.thanks

  2. 47592ea1d4ee98dcec7b4169573158a6?d=mm

    LeonhardP

    Nov 21, 2018 12:00

    Official support for H.265 is going to be added in 2019.1.0a10. You'll be able to download this version here later this week: https://unity3d.com/unity/alpha/2019.1

  3. 7f22b06f8f561669a99a1c5bb9d3e1ed?d=mm

    jeromeWork

    Oct 23, 2018 22:11

    Is there an ETA on this? It's badly needed for high-end 360video on Rift and Vive.
    See Carmack's tweet anbd comments https://twitter.com/id_aa_carmack/status/875527542119178240

  4. 0e2a14c4ed8282e06e56857d99e51bb6?d=mm

    OnePoint618

    Sep 10, 2018 21:48

    h265 is a huge step forward and it'd be great to have Unity support it. You know, that "being at the cutting edge of technology" thing.

  5. 1a441839ac256ae901c3b790d561e9f6?d=mm

    Junity_Munity

    Aug 20, 2018 14:31

    Please add my name to the list of those hoping to get direct H.265 support in the next iteration. However another route that maybe should be investigated would be to have the video player be able to link directly to YouTube videos using the asset number assigned.

    YouTube's Content Distribution Network (CDN), and others from Amazon, Google Drive, et al will take an H.265 file, but then assigns it an asset number. The result is that you get a URL in the form of https://youtu.be/bAse64nUmbeR where it appears that Unity's video player expects a more conventional URL that ends with a file name with an extension like .mp4.

    I don't know what it would take to allow the link to the YouTube videos, but that would allow you to place the H.265 video on YouTube, then stream it in via the video player. That, of course, also requires an internet connection to use the output from Unity, but it may be a preferred option to embedding the video in the package with the rest of the assets.

  6. B619fff0902eca300e9b1c74189430bd?d=mm

    dariony

    Aug 01, 2018 15:36

    thanks DOMINIQUELRX for the info, any update yet?

  7. E54edd447da1a24417b7ab5676aca1a9?d=mm

    glenneroo

    Jul 01, 2018 20:39

    Is there any update on H.265 integration?

  8. 563b4f4b4604270821ea2ce43e950873?d=mm

    LostPanda

    Apr 29, 2018 14:08

    please add h265 in win,thanks

  9. 6be6452a8a95e892b4830be57562bb61?d=mm

    jarileon

    Feb 19, 2018 12:08

    Is there any estimate when the H.265 support would be added to Unity?

  10. 0f170d49c30bc53839f1d81bfd1244e4?d=mm

    DominiqueLrx

    Jan 22, 2018 18:32

    Hi!

    The work to do to support H.265 is platform-dependent. For example, on Microsoft Platforms (Media Foundation), H.265 will only decode into a specific image channel layout (called NV12), which differs from the one we have implemented for H.264 support (YV12). NV12 is supported for both H.264 and H.265 so when we have time to do this, we’ll get H.265 support on Microsoft platforms. A similar analysis will have to be done for each platform and we simply didn't have time to do it yet.

    For Android, I haven’t seen what would cause the video to not work on the device. However, since the video won’t work in the editor (for the reason explained above), you could try putting the H.265 video in StreamingAssets. You can then read it from there in the game, using the Application.streamingAssetsPath to have the VideoPlayer point to it. The VideoPlayer has a url field that also accepts file paths so you are not forced to only play imported VideoClips.

    If this works, then this could be a workaround you use until we introduce official support for this codec.

    Hope this helps!

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10797)

2D

(282)

Ads

(56)

AI & Navigation

(84)

Analytics

(133)

Animation

(396)

Asset Store

(356)

Asset Store Publisher

(17)

Assets

(544)

Audio

(185)

Cloud Build

(145)

Collaborate

(65)

Docs & Tutorials

(240)

Editor

(2513)

Everyplay

(19)

Game Performance Reporting

(22)

General

(981)

Graphics

(870)

GUI

(432)

Input

(173)

Licensing

(92)

Networking

(189)

Physics

(384)

Platforms

(442)

Profiling & Optimization

(85)

Runtime

(182)

Scripting

(1169)

Terrain

(172)

WebGL

(143)