-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Add Command-Line-Option to flip horizontal (Feature Request) #3819
Comments
I understand that it could be convenient, but I'm quite reticent to add this feature, which is not very useful in general cases (only to workaround few buggy devices, and your specific use case your describe here). Here are some reasons. There are two rotation level in scrcpy (if it ignore the device rotation itself): https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#rotation
Both support the 4 possible rotations. However, flip is not possible on the capture side, so it would only be possible for the dynamic orientation. This parameter ( And it would also complexity (i.e. bugs) in the display/screen code (which is already not very pretty). For specific use cases like yours, a simple patch solves the problem specifically, so IMO it is not worth it. |
or consider a local service for web browser , so that others can do anyting to the video output (using css) ? |
Deprecate the option --rotation and introduce a new option --display-orientation with the 8 possible orientations (0, 90, 180, 270, flip0, flip90, flip180 and flip270). New shortcuts MOD+Shift+(arrow) dynamically change the display (horizontal or vertical) flip. Fixes <#3819>
Please test #4441. |
Implemented in v2.3. |
A command line option to mirror the output horizontally would be helpful.
Use case:
I use a tablet with a teleprompter app. The app displays the text mirrored, so that it is displayed correctly in the teleprompter mirror.
With a laptop I control the app via scrcpy (text speed, pause, etc.). The text is displayed mirrored in scrcpy - because it is in the app.
Workaround: I compiled myself a version in which I applied the bugfix described here.
#1380 (comment)
It would be better if I could simply set this via a parameter at startup.
The text was updated successfully, but these errors were encountered: