Genymobile / Genymobile/scrcpy
Can't limit the fps value when recording?
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
I have tried the command line to enter
`scrcpy --max-fps = 60 -record file.mp4. `
But the recorded video is around 30fps.
Then I went to check the source code and found that the recording is just writing the received Packet, and there is no place to set fps.
Does this mean that the recorded fps is entirely dependent on the refresh rate of my screen?
But oddly enough, if I don't limit the` --max_fps`, the video I record is only about 12fps.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the recording behavior with the command shown, then trace how --max-fps and received packets reach the recording path in the source. Compare the recorded frame rate with the received frame rate. Done means the expected relationship between the frame-rate limit and recorded output is established and the reported behavior is resolved or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- audio-video-rtc, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100