-
Notifications
You must be signed in to change notification settings - Fork 217
Home
Mihail edited this page Mar 17, 2017
·
14 revisions
Welcome to the GearVRf wiki!
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"