Questions tagged [frame-rate]

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

More information at http://en.wikipedia.org/wiki/Frame_rate

1702 questions
5
votes
3 answers

Getting stuck at 40 fps even with using CADisplayLink?

At first I used NSTimer and ran into the problem of the frame rate being stuck at 40 frames per second. I've read about using CADisplayLink to fix the problem. It seemed to work for a while, but recently, the app starts at 60, then after a little…
avide
  • 61
  • 1
  • 2
5
votes
0 answers

Phantomjs - frames missing for animation

I am using phantomjs to generate screenshot from a d3 animation and then merge the screenshots to create a video using ffmpeg. I am using the phantomjs render method to create series of screenshot. But when render method is used, I have to make…
sam
  • 2,277
  • 4
  • 18
  • 25
5
votes
1 answer

Better to make SKShapeNode or SKSpriteNode in spritekit game?

I make a game in spritekit, so make a some things in SKShapeNode and of course use SKSpriteNode's in my game. Which is better for fps and good for optimization of this game using SKShapeNode's or SKSpriteNode's?
Nurassyl Nuridin
  • 444
  • 4
  • 13
5
votes
7 answers

while loop or Thread.sleep()?

I'm programming a game in Java and I limit the FPS to 60. I figured out 2 different ways to get the same result, but I'm wondering which of them is the better/cleaner way to do it. Or maybe you have a different idea. while(System.nanoTime() -…
Dominik Fuchs
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

How do I avoid an unsupported frame rate error?

I am on a Macbook and I am trying to read video from a camera using the ffmpeg library. The camera is a 10 meter USB underwater camera. I am using the C API through a D binding called ffmpeg-d. However, upon trying to open the input, I get…
hpm
  • 1,202
  • 13
  • 34
5
votes
3 answers

Is there a way to read/get fps in spritekit swift

Is there a method to get the value of fps in swift? No I dont mean changing the frameInterval and no I dont mean skView.showsFPS = true I want to get the fps so that I can have my app wait until fps reaches 60 before it starts the game. For some…
C. Wagner
  • 461
  • 7
  • 13
5
votes
1 answer

Static positioning drastically slows performance (?)

I was sketching on an idea when I suddenly stumbled upon some weird rendering performance issues. I've created a CodePen to illustrate the idea, its a navigation element that change from position: fixed to position: static when it "collides" with…
Slebbo
  • 77
  • 8
5
votes
1 answer

How does SLI decide which VBO belongs to which GPU in OpenGL?

I am aiming to use SLI in AFR mode to increase FPS. I am under the impression that NVIDIA SLI driver will allocate the VBOs automatically and intelligently to individual GPUs. Is this correct? I have a code that has a large amount of vertices/faces…
user3667089
  • 2,996
  • 5
  • 30
  • 56
5
votes
1 answer

Android frames per second

Is it possible to get these values programmatically: frames per second how often the method onDraw() is called if the whole View is invalidated immediately.
A.G.
  • 2,037
  • 4
  • 29
  • 40
5
votes
2 answers

Limiting Sprite Kit game to newer phones?

I am just finishing up a SpriteKit game that has been developed and tested on the iPhone5/5S (1136*640), the game runs at 60fps on both devices. I have also written a version that supports iPhone4/4S (960*640), granted I am testing on the slower…
fuzzygoat
  • 26,573
  • 48
  • 165
  • 294
5
votes
2 answers

Gif Animated Files in C# have Lower framerates than they should

ive got a full screen loading page after my software's done running,which includes a preloader gif file .... which is exactly like the one windows 8 is using for store and metro. however the problem is that no matter what the fps and speed of the…
Niklas
  • 955
  • 15
  • 29
5
votes
2 answers

ionic sidemenu on mobile browser not working smoothly

I am developing mobile web app using ionic sidemenu, but it is not as smooth as it should be. When I open sidemenu using slide left/right, I am getting less than 30 FPS as shown in figure. How can I improve the performance? Reaching 60 FPS…
vinesh
  • 4,745
  • 6
  • 41
  • 45
5
votes
2 answers

Frame rate of video Python

Code: import cv2 import numpy as np import sys import webcolors import time cam=cv2.VideoCapture('video2.avi') _, fo = cam.read() framei = cv2.cvtColor(fo, cv2.COLOR_BGR2GRAY) bg_avg = np.float32(framei) …
GradStudent
  • 166
  • 1
  • 3
  • 12
5
votes
5 answers

How to move object with keyboard in javascript

When I move the object, it's slow and doesn't move in diagonal, only up, down, right and left. How can I fix this, is this a good way to start or should I do it otherwise? var canvas = document.getElementById("canvas"); var ctx =…
Gabs
  • 63
  • 1
  • 1
  • 6
5
votes
8 answers

Race car game, car moving faster on faster computer

I understand why it does that but I don't really have any idea of how to prevent that. So the scenario is, every frame I move the car by a certain of predefined pixels. What happens is when I go on slow or faster computer... well I get less or…
DogDog
  • 4,820
  • 12
  • 44
  • 66