Add --record-orientation
Add an option to store the orientation to apply in a recorded file. Only rotations are supported (not flip), and most players correctly handle it only for MP4 files (not MKV files).
This commit is contained in:
@@ -62,6 +62,7 @@ _scrcpy() {
|
||||
-r --record=
|
||||
--raw-key-events
|
||||
--record-format=
|
||||
--record-orientation=
|
||||
--render-driver=
|
||||
--require-audio
|
||||
--rotation=
|
||||
@@ -117,6 +118,10 @@ _scrcpy() {
|
||||
COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--record-orientation)
|
||||
COMPREPLY=($(compgen -> '0 90 180 270' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
COMPREPLY=($(compgen -W 'unlocked initial 0 90 180 270' -- "$cur"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user