RenderHeads / UnityPlugin-AVProVideo

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

Why do you not have any 180 video demo scene? #1641

Closed realitygarage closed 1 year ago

realitygarage commented 1 year ago

Question

Chris-RH commented 1 year ago

We try not to overcomplicate things by having too many demos.

You can use the 360 demo scene to play your 180 video. Just change Video Mapping in the Mediaplayer component to Equi Rectangular 180.

realitygarage commented 1 year ago

hmmm - problem is that I need to play an 8K 180 stereoscopic video, and taking your suggestion, it appears that by just changing the video mapping, it still projects as 2 copies of the 180, and the resolution is half. So... again - it would be super if you'all could provide a good demo scene for getting the most out of your asset :)

realitygarage commented 1 year ago

this is for the quest BTW

realitygarage commented 1 year ago

so I've followed your instructs on page 42 of the user's manual "...Instead a material with the AVProVideo/VR/InsideSphere Unlit Transparent(stereo+color+fog+alpha) shader can be applied to the sphere..." and now only get the video on 1/2 of the sphere, but the resolution is still not 8K - it looks way less quality as compared to playing the same video with an off the shelf video player on the quest. I've tried using both the exoplayer as well as the media player (in your android platform settings of your media player), and I've set the "HighQuality" to true on your shader.. but I am still not able to get expected quality result in a build.

I have been able to use the Oculus example scene "Stereo180Video" which uses the built in Unity Video player - and it looks exactly as it should - so I guess I'll ditch using AVPro for this - but it seems like I'm just missing something - Any and all advise appreciated

Chris-RH commented 1 year ago

What are the full specs of the video that you are using?

Have you tried OES rendering?

realitygarage commented 1 year ago

Here is a screen shot of the mediaInfo tree for the file. Screenshot 2023-09-13 103505

As far as OES rendering.. looks like in order to enable that, I would need to switch to multi-pass rendering and take a performance hit... I'd be happy to send you a link to the video if you like... I'm just looking to get as good of quality as the oculus example that comes with their SDK... Oculus\SampleFramework\Usage\Stereo180Video.unity - which works great with singlepass mode - and just need to understand how to setup AVPro as such. Also good about the oculus example scene is that it projects on a half sphere - which again is nice to have in an example - and it seems like this would be a very popular use case for you'all to support and show off, in particular with the new 180 gear like the Canon Dual Fisheye 3D VR Lens. Thanks

realitygarage commented 1 year ago

Here is a link to the video just in case its helpful

https://drive.google.com/file/d/1Il5h1JBQd5aj2-qAcGFajvUv1YhtQWwI/view?usp=sharing

machenmusik commented 1 year ago

(I suspect the visual quality difference comes from OVROverlay usage)

realitygarage commented 1 year ago

hmmm - you're probably right with that... I expect then that there should be a way to create a solution using avpro and the OVROverlay - but not in my wheel house nor a priority - but just say'n... seems like a use case that renderhead folks would want to support and provide as a demo scene :)

Chris-RH commented 1 year ago

Please bear in mind the video recommendations for the Quest 2 https://creator.oculus.com/getting-started/media-production-specifications-for-delivery-to-meta-quest-2-headsets/

Chris-RH commented 1 year ago

Also, when you set up OES rendering, you need to add the Update Multi-Pass Stereo component and select the correct OES shaders.