1,714 questions
1
vote
1
answer
78
views
FPS locked to 61 in glium
As I was messing around with Glium, I made an FPS counter to appear in the terminal, but it seems locked to 61 FPS.
I tried lowering the number of rendered objects, but the result was the same. At ...
0
votes
1
answer
148
views
How do I tell when the screen's refresh rate changes?
I have to repaint the screen every refresh, and matching with the native refresh rate makes smooth animations. It seems the easiest way to get the native refresh rate is via:
Component....
1
vote
0
answers
121
views
three.js: How do I wait for the <canvas> image to update for each render?
Calling renderer.render() in a requestAnimationFrame() loop will often fire faster than the <canvas> element can update its image, making any "true" FPS measurement inaccurate.
In ...
2
votes
0
answers
111
views
Why is ScreenCaptureKit frame capture delayed by more than 16ms at 60 FPS?
I'm using ScreenCaptureKit to capture screen frames at 60 FPS.
To measure capture latency, I display a timer label on the screen using CVDisplayLink, and when each frame is captured, I save the image ...
1
vote
0
answers
57
views
FrameRate function will not return accurate frameRate P5JS
I have this piece of code:
var framerate = 120;
function setup() {
createCanvas(1920, 1080);
frameRate(framerate);
}
function draw() {
clear();
textSize(13);
text(frameRate(), 20, 20);
}
&...
0
votes
0
answers
37
views
FPS is not calculating right in React
FPS calculation is not giving expected number in my react application.
My application looks like this
<Myapp>
<App1>
<FPSComponent />
</App1>
<App2>
<...
0
votes
0
answers
37
views
How to obtain frame rate for iOS proMotion devices
Due to the release of ProMotion devices, the system may switch frame rates in certain scenarios, resulting in the loss of reference value for data collected through CADisplayLink callbacks at a fixed ...
0
votes
0
answers
191
views
Is it possible to record video in a flutter application for 60 fps?
I am building a flutter app to record videos but they need to be at 4K and 60 fps. First off, I tried using the native Flutter camera plugin, which supposedly takes in an optional fps paramter, but ...
0
votes
1
answer
47
views
Moving a div in a webpage at perfect constant speed
I would like to move a div at a perfect constant speed.
The following project shows my implementation
https://stackblitz.com/edit/angular-6x9fejz3?file=src%2FAnimationPage%2Fanimation.component.html
...
5
votes
2
answers
221
views
Screen recorder with python
I'm trying to create a screen recording program using Python, but I'm running into some issues. My goal is to be able to set a specific duration (e.g., 10 seconds) and frame rate (e.g., 30 FPS), but ...
3
votes
0
answers
56
views
How to calculate FPS in image classification?
Please, I would appreciate some help and will be grateful for any help.
I have some doubts about how to calculate the frame rate (FPS) in image classification for training an testing routines. I've ...
6
votes
1
answer
186
views
How to request higher refresh rate for animation under Windows dynamic refresh rate?
I'm developing my own toy UI framework in C++ using OpenGL. However, animations seem to be capped at 60Hz when dynamic refresh rate (DRR) is on, whereas I have a display with 120Hz. It seems like the ...
2
votes
1
answer
78
views
How Can I Correctly Delay the Printing of Strings in Windows Command Prompt to Match a Video's FPS?
I made an ASCII video player that runs in the Windows command prompt. However, I am having issues in regards to having the frames print at the same speed (FPS) as the original video.
At first I ...
0
votes
0
answers
15
views
How can I fix the choppy video output in AVKIT?
Intro
The capture video device supports 1920x1080, { 60.00 30.00 25.00 20.00 10.00 fps }. So I first set the device to the proper active format (1920x1080) and min/max frame duration (60fps).
Video ...
-3
votes
1
answer
136
views
How can I make the movement in SFML 3.0 less choppy?
My pong implementation is very choppy, and I think it may be because of how I calculate how much the program sleeps. The maximum frame rate is set to 60 and my computer should be able to run this at ...