Skip to content
Mihail edited this page Mar 17, 2017 · 14 revisions

Welcome to the GearVRf wiki!

Entitlement Check using GVRF

IO Framework

Lua

Build Tips

Q&A

FAQ

How to capture video for GVRf application in stereo mode?

Oculus now has a way of doing this: https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-testing-capture/

An alternate way, without generating an mp4 every time is the following:
First, run the following command to disable front-buffer rendering

adb shell "echo dev_enableCapture 1 dev_frontbuffer 0 > /sdcard/.oculusprefs"

Then, run the following command to record video

adb shell screenrecord /sdcard/example.mp4

After recording, please remove the configuration file to restore front-buffer rendering

adb shell "rm /sdcard/.oculusprefs"