Document --encoder option
Add documentation for the new option --encoder in the manpage and in README.md.
This commit is contained in:
parent
42ab8fd611
commit
576814bcec
2 changed files with 20 additions and 0 deletions
16
README.md
16
README.md
|
@ -203,6 +203,22 @@ scrcpy --lock-video-orientation 3 # 90° clockwise
|
||||||
This affects recording orientation.
|
This affects recording orientation.
|
||||||
|
|
||||||
|
|
||||||
|
#### Encoder
|
||||||
|
|
||||||
|
Some devices have more than one encoder, and some of them may cause issues or
|
||||||
|
crash. It is possible to select a different encoder:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
scrcpy --encoder OMX.qcom.video.encoder.avc
|
||||||
|
```
|
||||||
|
|
||||||
|
To list the available encoders, you could pass an invalid encoder name, the
|
||||||
|
error will give the available encoders:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
scrcpy --encoder _
|
||||||
|
```
|
||||||
|
|
||||||
### Recording
|
### Recording
|
||||||
|
|
||||||
It is possible to record the screen while mirroring:
|
It is possible to record the screen while mirroring:
|
||||||
|
|
|
@ -56,6 +56,10 @@ The list of possible display ids can be listed by "adb shell dumpsys display"
|
||||||
|
|
||||||
Default is 0.
|
Default is 0.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI "\-\-encoder " name
|
||||||
|
Use a specific MediaCodec encoder (must be a H.264 encoder).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B \-\-force\-adb\-forward
|
.B \-\-force\-adb\-forward
|
||||||
Do not attempt to use "adb reverse" to connect to the device.
|
Do not attempt to use "adb reverse" to connect to the device.
|
||||||
|
|
Loading…
Reference in a new issue