Hello, please let me know if this is the right place to ask.
I'm having problem with screen rotation of the device, basically the screen orientation (portrait, 1080x1920) & input capture (click) are correct, but the video stream of the screen are not (c.f. screenshot 1 & output 1)
❯ ninja -Cx && ./run x --lock-video-orientation 0 scrcpy/git/dev
ninja: Entering directory `x'
[0/1] Generating scrcpy-server with a custom command.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 739ms
26 actionable tasks: 1 executed, 25 up-to-date
2020-03-03 09:57:38.751 scrcpy[72447:1637298] INFO: scrcpy 1.12.1 <https://github.com/Genymobile/scrcpy>
x/server/scrcpy-server: 1 file pushed. 1.8 MB/s (26886 bytes in 0.014s)
2020-03-03 09:57:39.175 scrcpy[72447:1637298] INFO: Initial texture: 1080x1920
When I try to lock screen to rotate 90 degree, it works perfectly, but then everything is rotated (c.f. screenshot2 and output 2)
❯ ninja -Cx && ./run x --lock-video-orientation 1 scrcpy/git/dev
ninja: Entering directory `x'
[0/1] Generating scrcpy-server with a custom command.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 758ms
26 actionable tasks: 1 executed, 25 up-to-date
2020-03-03 10:03:17.570 scrcpy[72684:1643900] INFO: scrcpy 1.12.1 <https://github.com/Genymobile/scrcpy>
x/server/scrcpy-server: 1 file pushed. 1.8 MB/s (26886 bytes in 0.015s)
2020-03-03 10:03:17.999 scrcpy[72684:1643900] INFO: Initial texture: 1080x1920
2020-03-03 10:03:18.126 scrcpy[72684:1643900] INFO: New texture: 1920x1080
My question is "is there a way to rotate the stream again 90 degree so I can work with the app normally without having my neck rotated." I don't mind to hard code a walkaround for this specific case, but still don't know where I can modify the code, client or server etc.
Regards,
Screenshots
https://imgur.com/a/VC2kvEg
Hello, please let me know if this is the right place to ask.
I'm having problem with screen rotation of the device, basically the screen orientation (portrait, 1080x1920) & input capture (click) are correct, but the video stream of the screen are not (c.f. screenshot 1 & output 1)
When I try to lock screen to rotate 90 degree, it works perfectly, but then everything is rotated (c.f. screenshot2 and output 2)
My question is "is there a way to rotate the stream again 90 degree so I can work with the app normally without having my neck rotated." I don't mind to hard code a walkaround for this specific case, but still don't know where I can modify the code, client or server etc.
Regards,
Screenshots
https://imgur.com/a/VC2kvEg