mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Add support for VP8 and VP9 video encoders
This commit is contained in:
parent
247a37d57b
commit
db882500d7
8 changed files with 28 additions and 6 deletions
|
|
@ -110,7 +110,7 @@ _scrcpy() {
|
|||
|
||||
case "$prev" in
|
||||
--video-codec)
|
||||
COMPREPLY=($(compgen -W 'h264 h265 av1' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'h264 h265 av1 vp8 vp9' -- "$cur"))
|
||||
return
|
||||
;;
|
||||
--audio-codec)
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ arguments=(
|
|||
{-v,--version}'[Print the version of scrcpy]'
|
||||
{-V,--verbosity=}'[Set the log level]:verbosity:(verbose debug info warn error)'
|
||||
'--video-buffer=[Add a buffering delay \(in milliseconds\) before displaying video frames]'
|
||||
'--video-codec=[Select the video codec]:codec:(h264 h265 av1)'
|
||||
'--video-codec=[Select the video codec]:codec:(h264 h265 av1 vp8 vp9)'
|
||||
'--video-codec-options=[Set a list of comma-separated key\:type=value options for the device video encoder]'
|
||||
'--video-encoder=[Use a specific MediaCodec video encoder]'
|
||||
'--video-source=[Select the video source]:source:(display camera)'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue