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

Camera Orientation #5060

Closed
TagaTulay opened this issue Jul 5, 2024 · 3 comments
Closed

Camera Orientation #5060

TagaTulay opened this issue Jul 5, 2024 · 3 comments

Comments

@TagaTulay
Copy link

scrcpy --video-source=camera --no-audio --camera-facing=back

Tried this. By default, it is on landscape. When I tried my device to be on portrait, the camera does not automatically move to portrait.

I request that the camera should automatically change its orientation.

@rom1v
Copy link
Collaborator

rom1v commented Jul 5, 2024

Camera rotation does (and will) not change automatically when you rotate the screen. See discussion #241 (comment)

But you can pass a parameter to set the orientation: https://github.com/Genymobile/scrcpy/blob/master/doc/camera.md#rotation

@TagaTulay
Copy link
Author

Thanks. It seems the best way is to use shortcuts - rotate display.

@rom1v
Copy link
Collaborator

rom1v commented Jul 5, 2024

Thanks. It seems the best way is to use shortcuts - rotate display.

Yes, except if you want to record with the correct orientation, you need --orientation=xx.

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