Is there any way I could make the frametime more smooth ?
Is there any way I could make the frametime more smooth ? I used an app and I noticed when I cap the FPS of the mirroring at either 60 or 30 , the frametime is all over the place and its not smooth.
Don't cap the frame rate.
Run scrcpy --print-fps, what is the output?
Please also read the note about the frame rate: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#frame-rate
The frame rate is intrinsically variable: a new frame is produced only when the screen content changes. For example, if you play a fullscreen video at 24fps on your device, you should not get more than 24 frames per second in scrcpy.
I don't know how to use commands as the one u told me to use before , but I use an app and it shows me that the fps is not constant and yes , I just read the note now about the framerate but I still don't understand why the framerate is not at 60 fps if the content on the screen is 60 or when I'm just in the home page of the phone .
I don't know how to use commands as the one u told me to use before
For Windows, read: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run
My framerate goes from 0-83 in the home menu ( my screen refreshrate is of 120 Hz ) and once i had a frameskip too ( I used the command u mentioned above )
My framerate goes from 0-83 in the home menu ( my screen refreshrate is of 120 Hz )
This does not look incorrect, even if your screen is 120Hz, it does not mean that you render 120 different images per second (if nothing changes on the screen for example there is 0 fps, if you watch a 24 fps video there are 24 fps).
On the other hand, on a Pixel 8 at 120Hz, I get 110~120 fps if I move something very fast on the screen with my finger. If you can't get past 80fps, it might be that the capture/encoding can not be performed fast enough. Try with a lower resolution or encoder. But there's probably nothing scrcpy can do, it's device-dependent.