2

I have a simple question.

When casting oculus quest 2 with scrcpy, the casted video shows two screens while oculus app's video shows one screen.

Why Oculus quest 2's video with scrcpy shows two screens? and how can oculus app get the screen one eye sees?

enter image description here (scrcpy)

enter image description here (oculus app)

LYG
  • 41
  • 1
  • 7

3 Answers3

5

You can use SCRCPY and get full screen view using the following command:

scrcpy --crop 1730:974:1934:450 --max-fps 30
M. Kjaer
  • 136
  • 1
  • 8
1

Following the previous answers, SCRCPY can capture the video shown on the two displays in the Meta/Oculus Quest 2. As the display renders the image for the screens to pass through special VR lenses, it has this unusual shape. For Quest 2, the most proper crop for landscape oriented capturing I could find is 1600:900:2017:510. It can be cropped with this command:

scrcpy -b25M --crop 1600:900:2017:510
marquies
  • 1,066
  • 1
  • 10
  • 17
0

You are seeing two screens because that is literally what the screen in the Oculus headset is showing (one image for each eye).

In order to not see this, you need to provide a -c crop parameter. Depending on your eye spacing that you have set it the oculus headset, you may need to tweak it some, but this should get you a good starting point:

scrcpy -b 25M -c 1440:1540:60:60

(The -b sets the bitrate.)