[Feature request] Improve VR projection type detection #2394
Labels
enhancement
Improvement of an existing feature
help wanted
Extra attention is needed
research-needed
Projects
Is your enhancement request related to a problem? Please describe.
In order to render a VR video correctly, we need a projection type. Invidious currently attempts to detect this via the
projectionType
attribute in theadaptiveFormats
.invidious/src/invidious/videos.cr
Lines 764 to 767 in 50c8afb
However, this method isn't ideal:
EQUIRECTANGULAR
always maps to a plain 360 projectionMESH
can refer to both theEAC
projection and it's side-by-side variant:EAC_LR
Describe the solution you'd like
Find some full proof method to detect the exact projection type.
Describe alternatives you've considered
Since
MESH
can either beEAC
orEAC_LR
we can add a button to let the end-user quickly swap projection types so they can attempt to fix the video themselves.Additional context
The text was updated successfully, but these errors were encountered: