scrcpy/app
Romain Vimont 45382e3f01 Add --capture-orientation
Deprecate --lock-video-orientation in favor of a more general option
--capture-orientation, which supports all possible orientations
(0, 90, 180, 270, flip0, flip90, flip180, flip270), and a "locked" flag
via a '@' prefix.

All the old "locked video orientations" are supported:
 - --lock-video-orientation      ->  --capture-orientation=@
 - --lock-video-orientation=0    ->  --capture-orientation=@0
 - --lock-video-orientation=90   ->  --capture-orientation=@90
 - --lock-video-orientation=180  ->  --capture-orientation=@180
 - --lock-video-orientation=270  ->  --capture-orientation=@270

In addition, --capture-orientation can rotate/flip the display without
locking, so that it follows the physical device rotation.

For example:

    scrcpy --capture-orientation=flip90

always flips and rotates the capture by 90° clockwise.

The arguments are consistent with --display-orientation and
--record-orientation and --orientation (which provide separate
client-side orientation settings).

Refs #4011 <https://github.com/Genymobile/scrcpy/issues/4011>
PR #5455 <https://github.com/Genymobile/scrcpy/pull/5455>
2024-11-19 21:31:04 +01:00
..
data Add --capture-orientation 2024-11-19 21:31:04 +01:00
deps Upgrade FFmpeg (7.0.2) for Windows 2024-09-15 18:58:53 +02:00
src Add --capture-orientation 2024-11-19 21:31:04 +01:00
tests Add --capture-orientation 2024-11-19 21:31:04 +01:00
meson.build Extract mouse capture 2024-10-06 18:00:56 +02:00
scrcpy-windows.manifest
scrcpy-windows.rc Bump version to 2.7 2024-09-15 18:59:27 +02:00
scrcpy.1 Add --capture-orientation 2024-11-19 21:31:04 +01:00