Add support for H265

Add option --codec=h265.

PR #3713 <https://github.com/Genymobile/scrcpy/pull/3713>
Fixes #3092 <https://github.com/Genymobile/scrcpy/issues/3092>
This commit is contained in:
Romain Vimont
2023-02-03 12:40:55 +01:00
parent 3e517cd40e
commit 4342c5637d
7 changed files with 19 additions and 6 deletions

View File

@@ -254,10 +254,12 @@ The [window may also be rotated](#rotation) independently.
#### Codec
The video codec can be selected:
The video codec can be selected. The possible values are `h264` (default) and
`h265`:
```bash
scrcpy --codec=h264 # default
scrcpy --codec=h265
```
@@ -275,7 +277,7 @@ error will give the available encoders:
```bash
scrcpy --encoder=_ # for the default codec
scrcpy --codec=h264 --encoder=_ # for a specific codec
scrcpy --codec=h265 --encoder=_ # for a specific codec
```
### Capture