videojs / videojs-vr

A plugin to add 360 and VR video support to video.js.
https://videojs-vr.netlify.com/
MIT License
542 stars 145 forks source link

VR180 monoscopic is cropped #226

Open kevleyski opened 4 years ago

kevleyski commented 4 years ago

Description

When playing VR180 content that is not stereoscopic it's cropped in half (e.g. as if only left eye) This can be fixed by hacking the src/plugin.js changeProjection_ to no do this uvs[ i ][ j ].x *= 0.5;

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. Find some monoscopic 180 content, YouTube has plenty examples majority of VR180 is monoscopic
  2. Set projection to "180"
  3. Playback will be left eye only

Results

Expected

Full frame, not cropped in half

Actual

Please describe what actually happened.

Error output

Not an error, but basically only half the source is being used when the input is square

Additional Information

Please include any additional information necessary here. Including the following:

versions

videojs

(all versions including tip of main)

browsers

All browsers

OSes

All platforms

plugins

only the this VR plugin

singerxt commented 3 years ago

This seems to be very useful. Is there any chance we can have this merged?