Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.34k stars 10.74k forks source link

Can't switch encoder, invalid server param #5329

Open ptcee opened 1 month ago

ptcee commented 1 month ago

When trying to run scrcpy with --video-encoder='any encoder that isnt the one i'm defaulted to from --list-encoders I get ERROR: Invalid server param: ['c2.android.avc.encoder'] and ERROR: Server connection failed

Any idea how to fix this? It happens with every encoder I try.

rom1v commented 1 month ago

On Windows, try removing the ': --video-encoder=c2.android.avc.encoder.

rom1v commented 1 month ago

Suggestions from --list-encoders fixed by ec602a0334357982d75b374f7ac753c5bef1216a.