Full-resolution, undistorted, single-eye, full-layer-support 2D screenshots and video capture for VR apps are available through the sharing menu. Video capture is also available by configuring localprefs.
The sharing menu, available by pressing the Oculus button and selecting Sharing, allows you to take screenshots and record video anywhere in VR.
Record Video starts recording the screen, and will continue recording until one of these events occurs:
While the recording is on, users will see a solid red dot in their view as an indicator of recording.
Take Photo takes a screenshot after a countdown of 5 seconds. The user will see a blinking red dot during the countdown as an indicator of a pending photo. The photo will be cancelled if the user transitions to certain apps with protected content during the 5 second countdown.
Captures and recordings are stored locally until you export them.
To enable video capture, set
debug.oculus.enableVideoCapture to 1 with the following command:
adb shell setprop debug.oculus.enableVideoCapture 1
When enabled, each
enterVrMode will generate a new mp4 file, and every
vrapi_EnterVrMode() will create a new video file. For example, if you launch an app from Home, you may find one video file for your Home session, one for the app you launch, one for System Activities if you long-press, and so forth.
Please note that video captured using this mechanism will lack audio.
To help ensure that there is no disruption to the user experience while recording, you may wish to force the GPU level up and chromatic correction off:
adb shell setprop debug.oculus.enableVideoCapture 1 debug.oculus.gpuLevel 3
The FOV is reduced to 80 degrees, so you are unlikely to see any black pull-in at the edges.
Note: Make sure to disable video capture when you are done, or you will fill your phone up with video of every VR session you run!