UniversalMediaServer icon indicating copy to clipboard operation
UniversalMediaServer copied to clipboard

Question - Web Player renderer config?

Open threedguru opened this issue 2 years ago • 1 comments

Hi @SubJunk and @SurfaceS

I asked about this in the forum first:

https://www.universalmediaserver.com/forum/viewtopic.php?t=15557#p46766

The web browser(s) in VR headsets support 3D formats. It would be very nice if I can tell the Web Player to enable 2D to 3D transformation - as then users could get away without a media player and it would then potentially work better than a DLNA media player (re- rewind and fast forward for example).

I cannot find a config file for the Web Player. I can see the Transcode folder in the Web Player, so this should just be a question of turning the transformation on in in the right place. Where is best to do that?

Edit: I found the classes that implement the Web renderer. I did some initial fiddling around, but I could not get it to run the 2D to 3D conversion for the web player.

I have struggled to find the perfect VR media player for UMS. Forward / rewind is a problem with DLNA in general. I have mitigated that by advising the enabling of Chapters in UMS in the guide, which works really well in BigScreen for example and VLC. However, Pigasus won't play the chapters or resume. Edit: chapters seem to have started working in Pigasus, which is great - need to find out why... Sky Box has stopped being able to handle the Transcode folder. DeoVR is non-functional.

BigScreen is almost perfect except it assumes everything is in 16:9 format (stretches 4:3). Note, I have just created a pull request that fixes this:

https://github.com/UniversalMediaServer/UniversalMediaServer/pull/3770

VLC with Chapters and Virtual Desktop works best, but is fiddly to use and requires Virtual Desktop (a paid product).

Supporting 2D to 3D in the Web Player would potentially address a number of issues. If it doesn't use DLNA for Transcoded videos (why would it?) then rewind and forward should work better. It also means users don't have to install a specialised media player.

I will be proving this out in the Oculus Browser and Firefox Reality Browser (just noticed it has now branched to become Wolvic browser) in my Meta Quest 2 and Oculus Quest 1 headsets.

Wolvic: https://www.wolvic.com/en/

As an FYI, the latest 2D to 3D algorithm works amazingly well, see here. This version of the algorithm is already in the UMS main branch:

https://iwantaholodeck.com/algorithmic-tuning-motion-and-alignment/

threedguru avatar Jan 10 '23 10:01 threedguru

Yeah it would be great to have browser configs since they are hardcoded now

SubJunk avatar Jan 13 '23 19:01 SubJunk