Add --no-video
Similar to --no-audio, add --no-video to play audio only. Fixes #3842 <https://github.com/Genymobile/scrcpy/issues/3842> PR #3978 <https://github.com/Genymobile/scrcpy/pull/3978>
This commit is contained in:
15
doc/audio.md
15
doc/audio.md
@@ -24,6 +24,21 @@ To disable audio:
|
||||
scrcpy --no-audio
|
||||
```
|
||||
|
||||
## Audio only
|
||||
|
||||
To play audio only, disable the video:
|
||||
|
||||
```
|
||||
scrcpy --no-video
|
||||
```
|
||||
|
||||
Without video, the audio latency is typically not criticial, so it might be
|
||||
interesting to add [buffering](#buffering) to minimize glitches:
|
||||
|
||||
```
|
||||
scrcpy --no-video --audio-buffer=200
|
||||
```
|
||||
|
||||
## Codec
|
||||
|
||||
The audio codec can be selected. The possible values are `opus` (default), `aac`
|
||||
|
||||
@@ -13,7 +13,11 @@ To record only the video:
|
||||
scrcpy --no-audio --record=file.mp4
|
||||
```
|
||||
|
||||
_It is currently not possible to record only the audio._
|
||||
To record only the audio:
|
||||
|
||||
```bash
|
||||
scrcpy --no-video --record=file.mp4
|
||||
```
|
||||
|
||||
To disable mirroring while recording:
|
||||
|
||||
|
||||
10
doc/video.md
10
doc/video.md
@@ -170,6 +170,16 @@ scrcpy --v4l2-sink=/dev/video2 --no-mirror
|
||||
scrcpy --record=file.mkv --no-mirror
|
||||
```
|
||||
|
||||
|
||||
## No video
|
||||
|
||||
To disable video forwarding completely, so that only audio is forwarded:
|
||||
|
||||
```
|
||||
scrcpy --no-video
|
||||
```
|
||||
|
||||
|
||||
## Video4Linux
|
||||
|
||||
See the dedicated [Video4Linux](v4l2.md) page.
|
||||
|
||||
Reference in New Issue
Block a user