Add Encoder section

This will allow to reference the encoder section directly in issues.
This commit is contained in:
Romain Vimont
2023-07-14 23:33:04 +02:00
parent 328ed3650d
commit ad05a01800
2 changed files with 15 additions and 10 deletions

View File

@@ -77,6 +77,13 @@ In particular, if you get the following error:
then your device has no Opus encoder: try `scrcpy --audio-codec=aac`.
For advanced usage, to pass arbitrary parameters to the [`MediaFormat`],
check `--audio-codec-options` in the manpage or in `scrcpy --help`.
[`MediaFormat`]: https://developer.android.com/reference/android/media/MediaFormat
## Encoder
Several encoders may be available on the device. They can be listed by:
@@ -90,11 +97,6 @@ To select a specific encoder:
scrcpy --audio-codec=opus --audio-encoder='c2.android.opus.encoder'
```
For advanced usage, to pass arbitrary parameters to the [`MediaFormat`],
check `--audio-codec-options` in the manpage or in `scrcpy --help`.
[`MediaFormat`]: https://developer.android.com/reference/android/media/MediaFormat
## Bit rate