Skip to content

Display and control your Android device

Document default video codec

Romain Vimont25e2eb7d7c21
diff --git a/app/scrcpy.1 b/app/scrcpy.1
index 18c70d65..8f028d7c 100644
--- a/app/scrcpy.1
+++ b/app/scrcpy.1
@@ -29,6 +29,8 @@ Default is 8000000.
.BI "\-\-codec " name
Select a video codec (h264, h265 or av1).
+Default is h264.
+
.TP
.BI "\-\-codec\-options " key\fR[:\fItype\fR]=\fIvalue\fR[,...]
Set a list of comma-separated key:type=value options for the device encoder.
diff --git a/app/src/cli.c b/app/src/cli.c
index 94fccb67..93712113 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -110,7 +110,8 @@ static const struct sc_option options[] = {
.longopt_id = OPT_CODEC,
.longopt = "codec",
.argdesc = "name",
- .text = "Select a video codec (h264, h265 or av1).",
+ .text = "Select a video codec (h264, h265 or av1).\n"
+ "Default is h264.",
},
{
.longopt_id = OPT_CODEC_OPTIONS,