Update muxers documentation

Recording now supports formats other than mp4 and mkv.
This commit is contained in:
Romain Vimont 2023-11-14 09:08:24 +01:00
commit e637feba51
5 changed files with 11 additions and 10 deletions

View file

@ -125,7 +125,7 @@ _scrcpy() {
return
;;
--record-format)
COMPREPLY=($(compgen -W 'mkv mp4' -- "$cur"))
COMPREPLY=($(compgen -W 'mp4 mkv m4a mka opus aac' -- "$cur"))
return
;;
--render-driver)

View file

@ -65,7 +65,7 @@ arguments=(
'--push-target=[Set the target directory for pushing files to the device by drag and drop]'
{-r,--record=}'[Record screen to file]:record file:_files'
'--raw-key-events[Inject key events for all input keys, and ignore text events]'
'--record-format=[Force recording format]:format:(mp4 mkv)'
'--record-format=[Force recording format]:format:(mp4 mkv m4a mka opus aac)'
'--render-driver=[Request SDL to use the given render driver]:driver name:(direct3d opengl opengles2 opengles metal software)'
'--require-audio=[Make scrcpy fail if audio is enabled but does not work]'
'--rotation=[Set the initial display rotation]:rotation values:(0 1 2 3)'