Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.72k stars 10.54k forks source link

Bluestacks | Display is inverted Horizontally #2466

Open abdus-shakur opened 3 years ago

abdus-shakur commented 3 years ago

Environment

inverted-screen-bluestacks-5 1 0 1129

Description: Issue occurred upon trying to mirror the screen of Bluestacks in the same machine The plan is to mirror the screen of blue stacks running on a different high specification machine, in the Local network. What works as expected: Controls, clicks and hotkeys.

Expected: Should be able to view the screen as is in Bluestacks. Actual: The screen is inverted horizontally.

terminal command : scrcpy -s 127.0.0.1:5556

rom1v commented 3 years ago

1380

UNIVAC-Colonel-Panic commented 3 years ago

I'm experiencing the same issue under BlueStacks v5.3.10.1001 32bit for Windows. This version of BlueStacks emulates Android 7.1.2.

Enhancement request: Can a command line switch be added to scrcpy?

rom1v commented 3 years ago

The correct solution would be to add 4 more values to --lock-video-orientation (i.e. for the capture orientation/flip), so that if you record it is also in the correct orientation.

However, it seems SurfaceControl.setDisplayProjection() only supports orientation without flip :disappointed:

As a workaround, we could only change the "display" rotation/flip, but that's not very satisfying: https://github.com/Genymobile/scrcpy/issues/1380#issuecomment-626612709

jz1 commented 2 years ago

set bluestacks graphic engine mode to "Compatibility", it will show normal display then