scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Re-setup everytime run 2.3 and 2.4

Open cloudidn opened this issue 1 year ago • 3 comments

  • [y] I have read the FAQ.
  • [y] I have searched in existing issues.

Environment

  • OS: Windows 10
  • scrcpy version: 2.3.1 and 2.4
  • installation method: Windows release
  • device model: HP Probook 445 G9
  • Android version: 11

Describe the bug Every time I run the scrcpy it's always back to default resolution and bitrate settings, i have to re-setup the bitrate and resolution every time I launch it, I thought it require an update because last time I launch it was 2 months ago, so i install the 2.4 and I still have to re-setup it every time i launch it. Bear in mind that I don't know any code language, when I install 2.3.1 4 months ago it run perfectly without re-setup every launch, so I confused as hell about adb and whatnot, so please ELI5

cloudidn avatar Apr 25 '24 20:04 cloudidn

There is no "setup", scrcpy does not store any state between launches.

The parameters you pass are just for the current session. Btw, you can run several instance simultaneously on different devices (or even the same) with different parameters.

If you want to run always with the same parameters, create a script. On Windows, create myscrcpy.bat containing your full command, for example:

scrcpy --video-codec=h265 -b16M -m1920

https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

rom1v avatar Apr 26 '24 05:04 rom1v

There is no "setup", scrcpy does not store any state between launches.

The parameters you pass are just for the current session. Btw, you can run several instance simultaneously on different devices (or even the same) with different parameters.

If you want to run always with the same parameters, create a script. On Windows, create myscrcpy.bat containing your full command, for example:

scrcpy --video-codec=h265 -b16M -m1920

https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

be nice if that actually worked, none of the command line switches work as far as ive tried

adrianmmiller avatar May 07 '24 06:05 adrianmmiller

be nice if that actually worked, none of the command line switches work as far as ive tried

How do you run them?

Try scrcpy --m400 to make it obvious.

rom1v avatar May 07 '24 06:05 rom1v