iTranslated by AI
The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🗂
How to Capture Multiple Meta Quest Screens Using scrcpy on macOS
Prerequisites
- OS: MacOS (likely possible on Windows using the same steps)
- Adb (Android Debug Bridge) and scrcpy must be installed
- Device: Meta Quest 2
Steps
-
Connect the device to your Mac:
- First, connect your Meta Quest device to your Mac using a USB cable. The device must be set to developer mode.
-
Get the device serial number:
- Open the terminal and run the following command to get the serial number of the connected device.
adb devices -l - Running the above command will display detailed information for all connected devices. Note the serial number of the required device.
- Open the terminal and run the following command to get the serial number of the connected device.
-
Start capturing with scrcpy:
- To capture multiple devices simultaneously, run the scrcpy command for each device's serial number.
- Use the following command to start the screen capture of your Meta Quest device. Replace
SERIAL_NUMBERwith the actual serial number of your device.scrcpy --stay-awake --max-size 1024 --crop 1534:972:80:532 --serial SERIAL_NUMBER- The
--stay-awakeoption prevents the device from entering sleep mode. - The
--max-sizeoption specifies the maximum screen size. Here it is set to a width of 1024 pixels, but it can be adjusted as needed. - The
--cropoption is a setting for cropping the screen and can be adjusted according to the specified values. - (Optional) You can output a video file by adding the
--recordoption and specifying a filename.
- The
-
Manage capture for each device:
- Open a separate terminal window for each device's serial number and run the above command.
- This allows you to run screen captures for multiple Meta Quest devices simultaneously.
Now you can perform screen captures for multiple Meta Quest devices at the same time. Adjust the capture settings as needed.
Discussion