mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add --audio-codec=raw option
Add support for raw (PCM S16 LE) audio codec (a decoder is included in FFmpeg). Even if it consumes more bandwidth, it provides a lower latency. PR #3757 <https://github.com/Genymobile/scrcpy/pull/3757>
This commit is contained in:
parent
73cd59ab25
commit
29e47bdcdc
7 changed files with 21 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ _scrcpy() {
|
|||
return
|
||||
;;
|
||||
--audio-codec)
|
||||
COMPREPLY=($(compgen -W 'opus aac' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'raw opus aac' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--lock-video-orientation)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ local arguments
|
|||
arguments=(
|
||||
'--always-on-top[Make scrcpy window always on top \(above other windows\)]'
|
||||
'--audio-bit-rate=[Encode the audio at the given bit-rate]'
|
||||
'--audio-codec=[Select the audio codec]:codec:(opus aac)'
|
||||
'--audio-codec=[Select the audio codec]:codec:(raw opus aac)'
|
||||
'--audio-codec-options=[Set a list of comma-separated key\:type=value options for the device audio encoder]'
|
||||
'--audio-encoder=[Use a specific MediaCodec audio encoder]'
|
||||
{-b,--video-bit-rate=}'[Encode the video at the given bit-rate]'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue