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
4
votes
1 answer

Autoscrolling view pager causes frames to drop

I have an infinite and autoscrolling view pager with 3 pages (views, not fragments). Using ObjectAnimator I set up a dummy animation like…
blork
  • 2,150
  • 6
  • 26
  • 45
4
votes
1 answer

How to set framerate in ffmpeg for video generated from static image

I'm trying to generate a 5 sec video from a static jpeg file. I need an 720p .H264 file with 23.976 fps and AAC 44100Hz 192kb for audio (I'm just creating a 5 sec logo to concatenate it with recorded video in this exact format). So I'm doing…
mofoyoda
  • 695
  • 2
  • 10
  • 16
4
votes
5 answers

Android 2d canvas game: FPS Jitter problem

I based my game off of the lunar lander demo, although heavily modified, and I can get around 40-50fps but the problem is it fluctuates between 40-50fps so much that it causes the moving graphics to jitter! Its very annoying and makes my game look…
Cameron
  • 1,612
  • 2
  • 16
  • 24
4
votes
2 answers

Bad FPS in 2D android / java game on high-def devices

I'm working on a 2D game on Android / Java. During each frame, I use a fixed size Back Buffer bitmap (1024x768) to draw all the game's assets (background, sprites, ...). Then at the end of the onDraw(), I draw this back buffer on the screen with the…
JP Depotte
  • 41
  • 2
4
votes
2 answers

How do I get a consistent speed on new as well as old iPhones?

I'm in the process of creating a 2D game in OpenGL ES for the iPhone. I'm calling my game loop using NSTimer at an interval of 0.002 (60 fps) with repeats set to 'NO' (I'm running the NSTimer again from within the function as…
Scott
  • 324
  • 2
  • 4
  • 15
4
votes
1 answer

jframe won't repaint at constant rate

I am trying to learn Java, coming from a C/assembly embedded systems background. After a few weeks of learning, I thought it would be fun to try and make a game, but I am having some problems with a JPanel being repainted at an inconsistent rate. …
John M
  • 1,484
  • 1
  • 14
  • 27
4
votes
2 answers

Xcode FPS Debug Gauge always show 0 FPS

I have a game in Xcode 6.1.1 using OpenGL ES 3.0, targeting iPad Air. When I capture OpenGL ES frame, the FPS number and shader program time always show 0. I have enabled "GPU Frame Capture" option in project scheme. Frame rendering is called by…
user3239388
  • 41
  • 1
  • 2
4
votes
2 answers

requestAnimationFrame: Explanation of returning a Framerate

So I found this helpful piece of code and used it to provide an instantaneous framerate of some animation I have created. I was hoping someone could help me understand how it functions? Here is my code:
Tro
  • 93
  • 9
4
votes
3 answers

FPS drops and game slows down - Sprite-Kit and Swift

I have a game using Sprite-Kit and Swift where I generate random circles falling from the top of the screen to the bottom of the screen. When launching the game, it runs perfectly fine at the beginning (at around 60 FPS or less) but then the FPS…
sachalondon
  • 165
  • 1
  • 11
4
votes
3 answers

matplotlib FuncAnimation frame interval

I am currently experimenting with the matplotbib FuncAnimation and try some exmaples. Everthing runs fine, however, I produce videos via ffmpeg with anim.save(...) and I don't get my animation to play faster/slower. Neither changing…
intasys
  • 75
  • 1
  • 7
4
votes
1 answer

Measuring Frametime/Framerate of an Android GLSurfaceView.Renderer

I have an application that uses OpenGL ES 2.0, and uses a GLSurfaceView and a Renderer class to draw to the screen. Originally, I set the rendermode to RENDER_WHEN_DIRTY, and then called requestRender() 60 times per second, timing how long it took…
Tristram
  • 176
  • 1
  • 8
4
votes
1 answer

Android LibGDX game: FPS drops because of long EGLImpl.eglSwapBuffers calls

I'm working on a game for Android platform, using Java and LibGDX engine. I've run into an odd issue where FPS in my game drops contantly every 30-40 seconds from 57-60 to 40-45 frames and then gets back. Below are screenshots of logcat output.…
Lez77
  • 147
  • 10
4
votes
1 answer

Java - Thread.sleep inside run method

I'm following a tutorial and below is the run method to generate logic and frame updates. I understand how the ticks are updated 60 ticks/second but I don't understand how we adjust frame per second here. Right now with Thread.sleep(2), frame per…
user3421485
  • 45
  • 1
  • 1
  • 5
4
votes
0 answers

Show frame rate in DDMS

As I wanted to compare several apps according to their graphics performance, I wanted to measure the frame rate for each app. In DDMS I discovered a tab "System Information" where I can choose "CPU load", "Memory usage" or "Frame render time". When…
odaa
  • 251
  • 1
  • 13
4
votes
5 answers

Counting digits in a float

I am following some beginner tutorials for OpenGL in c++ but as I started off as a c# programmer it has made me take a lot of things for granted. So my problem occurred when I was debug printing my FPS reading to the output. I think the method was…
daniel
  • 45
  • 1
  • 4