Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

HereSphere VR Video Player (Meta Quest)

VR video player with immersion-enhancing algorithms, streaming, and media library features · By HereSphere

Feature Request: Accept another video source as passthrough matte?

A topic by blewClue215 created Feb 12, 2024 Views: 587 Replies: 8
Viewing posts 1 to 3

Hello! 

I really love the passthrough feature tbh! Thanks for that!

Not too sure if this is the right place for this, but is it possible to specify another black-and-white video as a matte to passthrough a video within Heresphere?  ( Ideally streaming both at the same time through XBVR  or something like that? )

Currently I'm alpha-packing matte videos into non-alpha-packed videos to get the passthrough and it's fine but it could be difficult and less accessible for non-technical users to do it!

With Quest 3 offering full-color passthrough, I think having this option can create a potential market for user-created mattes applied on videos that they own without technically infringing copyright ( since it'd be quite transformative)  

Thus increasing the number of user-created mattes on the market and therefore greater interest in using Heresphere vs the other passthrough-capable apps? 

Kinda like how Funscripts became a market on its own.

Please let me know if there's a proper place to post feature requests like this! 

Developer

Thanks for the feature request. The trickiest part is getting both videos to synchronize, and making sure the performance is acceptable. I'll have to do some research and testing to see if it's feasible. Packing the alpha into the same video is much easier and probably more performant, since only one video needs to be decoded. You can also create an hsp file with the correct alpha mask settings and distribute it with the video, and the correct settings will automatically be loaded when the user plays the video.

oh yeah that'd be tricky for sure! 

On a separate but related note, I noticed that when I use a green-screened video that's keyed out, sometimes the auto-focus would detect some really crazy values (such as flickering between 1m and 3m for a point that's supposed to be 1m away )

Thanks!
 

Hi!

sorry for spamming this post but I can't seem to get my alpha-packed passthrough video to work :( 
From what I understand, I'm supposed to composite an original video with the alpha matte video into the same "canvas" and shift the coordinates to let heresphere know which part of the canvas to sample to produce the transparency?

I have a 3840 x 1920 Equirectangular 180 SBS video composited with a 3840 x 1920 Equirectangular 180 SBS  video matte in a side-by-side configuration ( so it's now 7680 x 1920, aspect ratio of 4 ) and my settings are:

Shift X -0.5, Shift Y 0, Scale X 1.0, Scale Y 1.0

but it shows up a little bit funky, the subject is split down the middle on the left and right side of the viewing space while in Equirectangular 180 FOV;  switching to Equirectangular 360 kinda fixes that but only the left-eye frame is matting properly, the right-eye frame is somehow matting with what looks like an inverted film negative version of the original video 

here's the video (NSFW) 
https://mega.nz/file/InBlAC6Z#Vg92yvA6o1J0AJPGr9-mIfkfFleLGOJTa_-T-x2lbK8


Please let me know if there are any examples I should follow to get it working!

Thanks for the help! :)

Developer

Seems like I can't get it to work properly either, since the current projection method is dependent on the aspect ratio of the video, and the added alpha image ends up changing the aspect ratio of the video. I'll take a look into it when I have time. Maybe implementing a second video track just for alpha would actually be a better solution after all, lol.

Thanks for the update! :)

I might try not changing the aspect ratio of the video and just compositing the alpha matte in some area of the video that isn't normally seen but it'd likely be at half-res or less, but oh well, it is what it is!

 Alternatively,  i wonder if it's possible to offer support for videos that contain an alpha channel?

perhaps for videos encoded with any of these codecs that offer alpha channel support?
https://pixelbakery.com/recipes/video-image-formats

H.265, VP9 and so on..? 

Might be easier than implementing a second video track :D

Developer

I don't think the Quest's hardware decoders support alpha channels, though.

ah that's too bad! :(