Streaming FPS and recording FPS
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 18/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- audio-video-rtc, mobile-dev
Research direction
The report concerns frame rate drift on a real Pixel 8 Pro when prepareVideo is called with fps 60, so the entry point is the video encoding path in the library's Kotlin sources, not the sample app's call site. Reproduce with the onFps callback and compare the requested rate against the rate the encoder actually delivers, then check the recording output. Done would mean a clear explanation of the capped frame rate, ideally with a fix or a documented limit, confirmed on a device.
Written by the indexing model from the issue text.
Description
When I set the fps to 60
genericStream.prepareVideo(
width = streamWidth,
height = streamHeight,
bitrate = streamBitrateBps,
fps = 60,
iFrameInterval = KEY_FRAME_INTERVAL_SECONDS,
rotation = STREAMING_ROTATION,
recordWidth = recordWidth,
recordHeight = recordHeight,
recordBitrate = recordBitrateBps
)
However in onFps callback the streaming fps keep changing, from 25-32, never 60.
For recording I checked the file, it is around 27 fps
phone is Google Pixel 8 Pro Real device
- Dominant language
- Kotlin
- Stars
- 3k
- Forks
- 946
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pedroSG94/RootEncoder
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
pedroSG94/RootEncoder#2213 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 43/100
pedroSG94/RootEncoder#2220 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
pedroSG94/RootEncoder#2207 · 1 reaction ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pedroSG94/RootEncoder#2203 ·
Maintainers usually reply within 3 days
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
pedroSG94/RootEncoder#2192 · 2 comments ·
Maintainers usually reply within 3 days
All issues in pedroSG94/RootEncoder
Similar issues
-
Blank screen in Download tab after searching with no results and switching tabsPossibly taken @mangod12 claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kiwix/kiwix-android#5211 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
deniscerri/ytdlnis#1430 ·
Maintainers usually reply within 1 day
-
[Bug] Lock owned by another client (e.g. Text app) cannot be unlocked from the appPossibly taken @falkloewert claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[Submission] 悠悠有品Opensubmit-adaption submit-adaption-pre
Difficulty 1/5 Under an hour Newbie friendliness 75/100
BetterAndroid/android-notification-icon-project#763 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
simplex-chat/simplex-chat#7755 ·
Maintainers usually reply within 1 day