Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrcpy is immediately cropping the screens of my Quest 2, how to have the full of both screens ? And how to record stuff directly on my SSD on MAC OS ? #5004

Open
carlos-marker opened this issue Jun 19, 2024 · 5 comments

Comments

@carlos-marker
Copy link

carlos-marker commented Jun 19, 2024

Hi everyone,

I'm writting to you in emergency because I'm making a film tomorrow using a Meta Quest 2 and scrcpy (recording passthrough) on my Mac Book Pro M2 PRO 14" 2023.

I have trying so hard to answer those two questions but I have to admit I can't do it alone. I hope so much some of you will be able to help me quickly...

1st problem : when I lunch scrcpy to stream both screens of my Quest 2 (it's important that I get both of the screens - stereoscopy stuff...), scrcpy is cropping just a little little bit of the left of the left screen and same on the right of the right screen. I tryed a lot of crop command but nothing is solving the problem. You can see the problem on the picture who's coming with this post...

2nd problem : How can I record stuff directly on my SSD hardrive using a mac ? It seems to be easy on PC with -r "C://blablabla/blabla.mp4" but what is the exact line with MAC OS ?

Thank you so much in advance guys,
have a nice evening !

Carlos

Capture d’écran 2024-06-19 à 21 21 34
@rom1v
Copy link
Collaborator

rom1v commented Jun 19, 2024

scrcpy is cropping just a little little bit of the left of the left screen and same on the right of the right screen

It's the screen capture which behaves this way, scrcpy does not crop here.

2nd problem : How can I record stuff directly on my SSD hardrive using a mac ? It seems to be easy on PC with -r "C://blablabla/blabla.mp4" but what is the exact line with MAC OS ?

It's the same on all platforms: https://github.com/Genymobile/scrcpy/blob/master/doc/recording.md

scrcpy -r file.mp4
scrcpy --record=file.mp4

You can pass an absolute path:

scrcpy -r /path/to/your/file.mp4
scrcpy --record=/path/to/your/file.mp4

@carlos-marker
Copy link
Author

Thank you for your answer !

2nd problem is solved, you're absolutely right.

For the 1st, I can confirm that it's scrcpy who behaves like that, cropping juste a little bit and randomly the screens of my Quest 2. Yesterday morning, it was like you can see on the picture I sent with the first post, in the evening it was perfect for the first time on this computer (don't know why) and this morning, scrcpy is cropping the right screen this time...

Like you can see here :
Capture d’écran 2024-06-20 à 14 18 34

I don't know how to manage this random characteristic of scrcpy to make shure he'll not crop anything at the important time...?

On an other computer with which I had done tests months ago, it was ok on the externals sides of the screens but it was stuck in the middle, like you can see here :

Capture d’écran 2024-06-20 à 14 38 09

I'm shooting my film tomorrow if someone can help me with that, would be lovely.

@rom1v
Copy link
Collaborator

rom1v commented Jun 20, 2024

Scrcpy just captures what is rendered on the surface. It does not decide how each eye is rendered, it does not even know that there are eyes, it just plug the virtual display to the encoder, and retrieves the encoded image.

@carlos-marker
Copy link
Author

Okay but in this case, how to explain the differences scrcpy is giving from an hour to another, from a computer to an other ? Even though nothing is changing on the Quest...?

@rom1v
Copy link
Collaborator

rom1v commented Jun 20, 2024

It is changing on the Quest, from an hour to another (maybe depending on orientation or foreground app or something, I don't know)… Scrcpy has no control on how the eyes are rendered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants