The values are expressed in the device natural orientation (typically, portrait for a phone, landscape for a tablet). Any
.B\-\-max\-size
value is computed on the cropped size.
.TP
.B\-f,\-\-fullscreen
Start in fullscreen.
.TP
.BI"\-F, \-\-record\-format "format
Force recording format (either mp4 or mkv).
.TP
.B\-h,\-\-help
Print this help.
.TP
.BI"\-m, \-\-max\-size "value
Limit both the width and height of the video to \fIvalue\fR. The other dimension is computed so that the device aspect\-ratio is preserved.
Default is 0 (unlimited).
.TP
.B\-n,\-\-no\-control
Disable device control (mirror the device in read\-only).
.TP
.B\-N,\-\-no\-display
Do not display device (only when screen recording is enabled).
.TP
.BI"\-p, \-\-port "port
Set the TCP port the client listens on.
Default is 27183.
.TP
.BI"\-\-push\-target "path
Set the target directory for pushing files to the device by drag & drop. It is passed as\-is to "adb push".
Default is "/sdcard/".
.TP
.BI"\-r, \-\-record "file
Record screen to
.IRfile.
The format is determined by the
.B\-F/\-\-record\-format
option if set, or by the file extension (.mp4 or .mkv).
.TP
.B\-\-render\-expired\-frames
By default, to minimize latency, scrcpy always renders the last available decoded frame, and drops any previous ones. This flag forces to render all frames, at a cost of a possible increased latency.
.TP
.BI"\-s, \-\-serial "number
The device serial number. Mandatory only if several devices are connected to adb.
.TP
.B\-S,\-\-turn\-screen\-off
Turn the device screen off immediately.
.TP
.B\-t,\-\-show\-touches
Enable "show touches" on start, disable on quit.
It only shows physical touches (not clicks from scrcpy).
.TP
.B\-T,\-\-always\-on\-top
Make scrcpy window always on top (above other windows).