mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Document video codec alignment
PR #6746 <https://github.com/Genymobile/scrcpy/pull/6746>
This commit is contained in:
parent
ae13c77c5e
commit
de3db42997
1 changed files with 11 additions and 0 deletions
11
doc/video.md
11
doc/video.md
|
|
@ -30,6 +30,17 @@ If encoding fails, scrcpy automatically tries again with a lower definition
|
|||
For camera mirroring, the `--max-size` value is used to select the camera source
|
||||
size instead (among the available resolutions).
|
||||
|
||||
The size is rounded to a multiple of the _alignment_ required by the encoder, a
|
||||
power-of-2 value (1, 2, 4, 8 or 16) that the video width and height must be
|
||||
multiples of.
|
||||
|
||||
The alignment can be forced to a minimum value. For instance, to force the width
|
||||
and height to be multiples of 8:
|
||||
|
||||
```bash
|
||||
scrcpy --min-size-alignment=8
|
||||
```
|
||||
|
||||
|
||||
## Bit rate
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue