-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrcpy is lagging for no reason #4494
Comments
Is it better with a lower resolution:
? |
If you record, is the recorded file also laggy? (with stuttering)
What is the output in the console if you run |
no difference, i tried with different cables too |
its running on 10fps and below, no wonder, how do i run it on high fps |
OK, it's an issue on the device side then. Try with another encoder: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder |
what code should i try |
Then try with one of the encoders listed, as in the example pointed by the link I posted. |
C:\scrcpy-win64-v2.3.1\scrcpy-server: 1 file pushed, 0 skipped. 84.1 MB/s (66007 bytes in 0.001s) |
C:\scrcpy-win64-v2.3.1>scrcpy --v4l2-buffer=300 |
C:\scrcpy-win64-v2.3.1>scrcpy --list-encoders |
Of course, you don't have any AV1 encoder on your device, so if you request to use AV1 it will fail.
Video4Linux2 is only supported on Linux.
Then test each one of these.
EDIT: btw, if it does not work with quotes on Windows, remove the quotes:
|
i just ran them, its got to do with something of my device, i dont think can fix it, i think its just my phone thats messing it up |
What the output when you run:
? |
C:\scrcpy-win64-v2.3.1>scrcpy --video-codec=h265 --video-encoder='OMX.qcom.video.encoder.hevc' |
isnt 119mb/s too high |
Please record and post the file, so that I see how it lags.
|
Watch the ending, it took so long to open too!! |
Its not letting me upload pass me ur email rq |
file.mp4 |
just download this file and use vlc to open it |
👍 (yes, webbrowsers do not support H.265) Indeed, the capture is very laggy. If you record with screenrecord (without scrcpy), is it the same problem?
Is your physical screen broken by any chance? If so, try to turn the screen off: EDIT: Oh, apparently, yes:
|
the issue isnt the recording its the phone, i think its time to give up and just learn to live with it, gg, thanks for helping me tho, ur a gee |
As I suggested in my previous message, the problem is that the screen is broken/disconnected, which causes capture vsync issues. Running |
brooooo,it workssss!!!!!, my goatttttttttttt ily man |
my phones lcd just came out of the phone a day ago and i tried to use scrcpy but it just lags all the time and takes about 30 secs to respond, my pc is way too powerful for that to happen, ive been trying my best to use tricks from youtube and they still give me the same result. This is what its saying:
(usb) 4bdba881 device 11R
C:\scrcpy-win64-v2.3.1\scrcpy-server: 1 file pushed, 0 skipped. 106.9 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [OnePlus] OnePlus 11R (Android 12)
INFO: Renderer: direct3d
INFO: Texture: 1080x2400
The text was updated successfully, but these errors were encountered: