Skip to content

Screenshots and video capture

Eduardo Lima edited this page Jun 14, 2022 · 3 revisions

Screenshots

Oculus

https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-testing-capture/

  1. Ensure your VR headset is set up for adb (i.e., your Oculus device has Developer Mode enabled, you have adb installed, etc.).
  2. If you're inside Wolvic, press the controller's Oculus button to return to the Oculus OS.
  3. From the tray menu at the bottom, press the button for Sharing > Take Photo.
  4. The screenshot is taken after 5 seconds, so quickly return to Wolvic, and arrange the screenshot.
  5. Launch Android File Transfer on your desktop computer.
  6. Find the video in sdcard > oculus > ScreenShots (/sdcard/oculus/ScreenShots).

Huawei VR

First, if you have not already enabled local storage for Wolvic, do the following:

  1. Navigate to Settings > Apps > Apps.
  2. Search for “Wolvic”, tap Wolvic > Permissions > Storage.
  3. Select enable.

Once that has been done, you can take a screenshot by pressing the trigger and circle (home) button simultaneously while in Wolvic. This should work both on 3dof and 6dof controllers.

Video capture

Oculus

https://developer.oculus.com/documentation/mobilesdk/latest/concepts/mobile-testing-capture/

Note: Previous Oculus support for the adb method of capturing screenshots (adb shell setprop debug.oculus.enableVideoCapture 1 + adb shell setprop debug.oculus.enableVideoCapture 0) has been removed. You now have to manually record from Oculus' menu, Sharing > Record Video. See detailed instructions below.

  1. Ensure your VR headset is set up for adb (i.e., your Oculus device has Developer Mode enabled, you have adb installed, etc.).
  2. If you're inside Wolvic, press the controller's Oculus button to return to the Oculus OS.
  3. From the tray menu at the bottom, press the button for Sharing > Record Video.
  4. Do stuff in Wolvic, but make sure you keep your face in the headset for the remainder of the session you want to video capture. (There is an Oculus software bug where the video file gets terminated early and corrupted if you take off the headset during a video capture without first explicitly stopping the video capture.)
  5. Press the controller's Oculus button.
  6. From the tray menu at the bottom, press the button for Sharing > Stop Video.
  7. Launch Android File Transfer on your desktop computer.
  8. Find the video in sdcard > oculus > VideoShots (/sdcard/oculus/VideoShots).

Or you can run these adb commands from your command-line terminal:

adb shell ls -al /sdcard/oculus/VideoShots
adb pull /sdcard/oculus/VideoShots

Huawei VR

(@TODO)