Document default video codec

Mention the default option value, like for other commands.
This commit is contained in:
Romain Vimont 2023-02-18 19:09:26 +01:00
parent 280a9afda8
commit 25e2eb7d7c
2 changed files with 4 additions and 1 deletions

View file

@ -29,6 +29,8 @@ Default is 8000000.
.BI "\-\-codec " name .BI "\-\-codec " name
Select a video codec (h264, h265 or av1). Select a video codec (h264, h265 or av1).
Default is h264.
.TP .TP
.BI "\-\-codec\-options " key\fR[:\fItype\fR]=\fIvalue\fR[,...] .BI "\-\-codec\-options " key\fR[:\fItype\fR]=\fIvalue\fR[,...]
Set a list of comma-separated key:type=value options for the device encoder. Set a list of comma-separated key:type=value options for the device encoder.

View file

@ -110,7 +110,8 @@ static const struct sc_option options[] = {
.longopt_id = OPT_CODEC, .longopt_id = OPT_CODEC,
.longopt = "codec", .longopt = "codec",
.argdesc = "name", .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, .longopt_id = OPT_CODEC_OPTIONS,