Add --list-encoders
Add an option to list the device encoders properly. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
@@ -273,12 +273,10 @@ may cause issues or crash. It is possible to select a different encoder:
|
||||
scrcpy --video-encoder=OMX.qcom.video.encoder.avc
|
||||
```
|
||||
|
||||
To list the available encoders, you can pass an invalid encoder name; the
|
||||
error will give the available encoders:
|
||||
To list the available encoders:
|
||||
|
||||
```bash
|
||||
scrcpy --video-encoder=_ # for the default codec
|
||||
scrcpy --video-codec=h265 --video-encoder=_ # for a specific codec
|
||||
scrcpy --list-encoders
|
||||
```
|
||||
|
||||
### Capture
|
||||
|
||||
Reference in New Issue
Block a user