Oculus Quest 1/2 application
Posted: Thu Apr 08, 2021 12:46 pm
Okay, our app for Oculus Quest 1/2 is ready for mass tests.
What's this?
This app is designed for the low-latency video livestream from the StereoPi. It supports single camera mode, stereoscopic mode (SBS and TB), and able to show 2x180 stereo in VR mode. For VR mode it is better to use wide-angle cameras (with 160, 180 or 200 degrees FOV).
How to install?
Download the app archive and unzip it.
Use the SideQuest application to upload it to your Oculus Quest 1 or 2.
Right red arrow on this screenshot shows you the button for the APK installation.
Please note, SideQuest is showing the IP address of your Oculus at the header of the window (left red arrow). You might need this info on the next step.
How to get the video?
1. If you are using an SLP2 Beta Raspberry OS image, Oculus will automatically find the StereoPi in the network and start a live stream.
2. If you are using SLP1 Raspbery OS image, you need to put the IP address of your helmet to the "UDP clients" field, including port 3000, and press "save" at the bottom of the settings window.
On this screenshot, you can see example settings for our Oculus, which got IP address 192.168.1.224 from the router
Brief settings review
1. "Screen" mode In this mode, you will see your video on the virtual screen. On this tab you can choose the video mode:
2D - show you the video "as is". Use it for a single camera mode, or for reviewing the alignment of your cameras
3D SBS - stereoscopic mode for the side-by-side video. Please set the appropriate mode on the StereoPi
3D TB - stereoscopic mode for the top-bottom. Please set the appropriate mode on the StereoPi
"Window position" - choose the distance to the virtual screen (near-mid-far).
2. VR mode (2x180) In this mode, the video from each (wide-angle) camera is used as a texture for the hemisphere, and you are looking at it from the center of the sphere. Moving your head you can look around, like in the real life.
In this tab, you can set the FOV for your camera. Press one of the preset buttons, or use "+" and "-" buttons for the precise settings.
3. Network If you are using SLP 1 - ignore these settings. For the SLP2 you can turn on/off auto-discovery mode, and choose UDP or TCP stream type.
4. App info You can find the current version info here.
Advanced users section
We added MJPEG support too. This is an experimental feature. To play with it, you can stream your MJPEG video to the app using a command like this:
raspivid -t 0 -w 1280 -h 720 -fps 30 -3d sbs -cd MJPEG -o - | nc 192.168.1.224 3001
Port 3001 is used for MJPEG only. Please note, that MJPEG streaming has its own issues in the stereoscopic mode.
Bug reports.
If you find any issues - please let us know in this forum thread!
What's this?
This app is designed for the low-latency video livestream from the StereoPi. It supports single camera mode, stereoscopic mode (SBS and TB), and able to show 2x180 stereo in VR mode. For VR mode it is better to use wide-angle cameras (with 160, 180 or 200 degrees FOV).
How to install?
Download the app archive and unzip it.
Use the SideQuest application to upload it to your Oculus Quest 1 or 2.
Right red arrow on this screenshot shows you the button for the APK installation.
Please note, SideQuest is showing the IP address of your Oculus at the header of the window (left red arrow). You might need this info on the next step.
How to get the video?
1. If you are using an SLP2 Beta Raspberry OS image, Oculus will automatically find the StereoPi in the network and start a live stream.
2. If you are using SLP1 Raspbery OS image, you need to put the IP address of your helmet to the "UDP clients" field, including port 3000, and press "save" at the bottom of the settings window.
On this screenshot, you can see example settings for our Oculus, which got IP address 192.168.1.224 from the router
Brief settings review
1. "Screen" mode In this mode, you will see your video on the virtual screen. On this tab you can choose the video mode:
2D - show you the video "as is". Use it for a single camera mode, or for reviewing the alignment of your cameras
3D SBS - stereoscopic mode for the side-by-side video. Please set the appropriate mode on the StereoPi
3D TB - stereoscopic mode for the top-bottom. Please set the appropriate mode on the StereoPi
"Window position" - choose the distance to the virtual screen (near-mid-far).
2. VR mode (2x180) In this mode, the video from each (wide-angle) camera is used as a texture for the hemisphere, and you are looking at it from the center of the sphere. Moving your head you can look around, like in the real life.
In this tab, you can set the FOV for your camera. Press one of the preset buttons, or use "+" and "-" buttons for the precise settings.
3. Network If you are using SLP 1 - ignore these settings. For the SLP2 you can turn on/off auto-discovery mode, and choose UDP or TCP stream type.
4. App info You can find the current version info here.
Advanced users section
We added MJPEG support too. This is an experimental feature. To play with it, you can stream your MJPEG video to the app using a command like this:
raspivid -t 0 -w 1280 -h 720 -fps 30 -3d sbs -cd MJPEG -o - | nc 192.168.1.224 3001
Port 3001 is used for MJPEG only. Please note, that MJPEG streaming has its own issues in the stereoscopic mode.
Bug reports.
If you find any issues - please let us know in this forum thread!