From eea11ecfe8d0ae36ba1f2c8da4ef6f32cd41f278 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 14 Jul 2023 23:33:04 +0200 Subject: [PATCH] Add Encoder section This will allow to reference the encoder section directly in issues. --- doc/video.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/video.md b/doc/video.md index 060e277877..57af5c9ff2 100644 --- a/doc/video.md +++ b/doc/video.md @@ -66,6 +66,14 @@ scrcpy --video-codec=av1 H265 may provide better quality, but H264 should provide lower latency. AV1 encoders are not common on current Android devices. +For advanced usage, to pass arbitrary parameters to the [`MediaFormat`], +check `--video-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: ```bash @@ -79,11 +87,6 @@ try another one: scrcpy --video-codec=h264 --video-encoder='OMX.qcom.video.encoder.avc' ``` -For advanced usage, to pass arbitrary parameters to the [`MediaFormat`], -check `--video-codec-options` in the manpage or in `scrcpy --help`. - -[`MediaFormat`]: https://developer.android.com/reference/android/media/MediaFormat - ## Rotation