RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Transparent 360 video #1782

Closed diegomazala closed 3 months ago

diegomazala commented 3 months ago

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the issue Testing trial version with with Cones-Transparent-2K60-H264.mp4 in Demo_360Stereo scene and it doesn't play in Quest 2. It plays correctly in Unity Editor. If I use any other video without transparency, it works. If I change the shader to Opaque, it play although the image is incorrect.

Your Setup (please complete the following information):

To Reproduce

  1. Open Demo_360Stereo scene
  2. Change MediaPlayer component:
    • select Cones-Transparent-2K60-H264.mp4
    • change Transparency
    • Alpha Packing: Top Bottom
    • Stereo Packing Top Bottom
  3. Change Material_Shader to: AVProVideo/VR/InsideSphere Unlit Transparent

Screenshots image image

Chris-RH commented 3 months ago

What error message are you doing? That's not a 360 video, so won't look right in the 360 scene. I'd suggest trying it on something simple, like the cube in the display components demo scene. I'd use the unlit/transparent shader and you only need transparency and alpha top/bottom set, stereo packing should be set to none.

diegomazala commented 3 months ago

No error msg is show. It just doesn't play.

Is it possible to have 360 videos with transparency?

Chris-RH commented 3 months ago

Nothing in the logcat? Have you tested the cube? I don't see why it wouldn't work. Do you have a sample 360 video with alpha channel?

diegomazala commented 3 months ago

What is the expected format for.a 360 video with transparency? Equirectangular top bottom?

On Tue, 12 Mar 2024 at 13:14, Chris-RH @.***> wrote:

Nothing in the logcat? Have you tested the cube? I don't see why it wouldn't work. Do you have a sample 360 video with alpha channel?

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1782#issuecomment-1991625886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNF7BQEDMYWHV3LBDQOZJ3YX35T5AVCNFSM6AAAAABERDB2FWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGYZDKOBYGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Diego

Chris-RH commented 3 months ago

We support Equirectangular 360, Equirectangular 180 and Cubemap 3:2 (Facebook Cubemap). Alpha can be top bottom or left right.