Skip to content

picoxr/OpenXR_VideoPlayer_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenXR_VideoPlayer_Demo

OpenXR SDK Version

  • v2.1.0

Description

  • This demo shows how to implement 360, 3D-SBS, 3D-OU, 2D VR video player with Pico OpenXR SDK use OpenGLES and Vulkan.
  • Fully use Android NDK C++, no java code.
  • Use AMediaCodec to decode.
  • Rendering yuv-nv12 with OpenGLES and vulkan.

Usage

  • Scene: 3D-side-by-side(3D-SBS) Demo of VR video player for 3D side-by-side (left-right) video format.

  • Scene: 3D-OverUnder(3D-OU) Demo of VR video player for 3D over under (over-under) video format.

  • Scene: 360 Demo of VR video player for 360 video format.

  • Scene: 2D Demo of VR video player for 2D video format.

How select video mode and Specify video file name

In the cpp/app/options.h file VideoMode field indicates videomode and VideoFileName indicates the video file used to playback. GraphicsPlugin filed indicates what rendering API to use, you can specify OpenGLES or Vulkan2.

Note

For more OpenXR demos, please go here OpenXR demo all in one.

About

OpenXR VideoPlayer Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published