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
6
votes
5 answers

Flash Player magical frame rate

A long time ago (5+ years) I read an article about optimal frame rates for the Flash Player. The article reasoned through some calculations that 31 frames per second was the optimal fps to run your movies at and seemed, at the time, logical to me…
Luke
  • 20,878
  • 35
  • 119
  • 178
5
votes
2 answers

Low FPS with android SurfaceView

I have some trubles with my framerate using a SurfaceView. Im doing the tipical stuff i found in some tutorials (all of them said the same), but i cant reach a decent framerate on my samsung galaxy S (the old one, i9000). Here's the code i have for…
Carles
  • 451
  • 5
  • 16
5
votes
2 answers

Unable to get high fps(frames per second) rate(around 30fps) while recording from front camera in my Android app

in my Android app, I observed that the video recorded from the front camera is being recorded with 7-10 fps while the back camera does the job fine, the native camera app does record video from front cam at 29fps. I use the following function to set…
Arif Nadeem
  • 8,524
  • 7
  • 47
  • 78
5
votes
1 answer

Simulating Errors on the Amazon FPS sandbox

I've set up my Amazon flexible payments sandbox account and have been using the PHP library to simulate accepting payments and what not. I was just wondering if anyone knew of a way to simulate realistic error conditions I would expect to encounter,…
Henry
  • 3,447
  • 1
  • 15
  • 12
5
votes
8 answers

Javascript game loop that runs at the same speed?

I have a javascript game that will run really fast on some computers and really slow on others. I've been doing some research and I've found that I need to update my loop based on time, but I can't seem to find any good examples of this for…
Dave
  • 407
  • 4
  • 17
5
votes
3 answers

Game Development: How Do Game Developers Maintain Game Speed Regardless of FPS?

Say like it took a whole second for a character to jump in a game, how would a game developer go about keeping that jump time to 1 second if the FPS is either 10fps, 30fps, 100fps etc? - If you get me, how would you stop a game's fps affecting the…
AlexPriceAP
  • 1,987
  • 6
  • 26
  • 41
5
votes
2 answers

Show FPS in Pygame

I'm working on a project with my friend in python with pygame. We try to show FPS in our game but we just fail. The fps counter are always at zero. Here is the code: #Create Text def Render_Text(what, color, where): font =…
Bla0
  • 89
  • 1
  • 6
5
votes
0 answers

Limiting refresh rate at 60 FPS of SurfaceView on new Android devices with high refresh rates (90-120Hz)

I'm facing increased and even doubled FPS on new Android devices with 90Hz and 120Hz screens (e.g. Samsung S20 FE), it affects my game, which I've developed based on GLSurfaceView (OpenGL implementation of SurfaceView). Originally it was always…
Sergey Emeliyanov
  • 5,158
  • 6
  • 29
  • 52
5
votes
0 answers

How number of classes impact thespeed FPS in a YOLO network

I am a newbie about Computer Vision and Neural Networks. I trained a network using Yolo-tiny, using a subset of the COCO dataset because I wanted to train my network only with one class (Person). The training worked successfully, the accuracy not so…
5
votes
2 answers

Which component to subclass to draw in Java2D (for a 2D game)

I have created my own canvas that has been extended from the JPanel, however I have noticed that w/ the content and so forth, that all of the sudden my FPS took a hit. I am following the swing rules from Filthy Rich Clients, by using paintComponent,…
abc123
  • 71
  • 3
5
votes
2 answers

How to fix inconsistent frame rate (speed) in python turtle

I a made pong game by following this tutorial https://youtu.be/C6jJg9Zan7w The problem I'm having is that speed of the ball (turtle object) is not the same on different computers. For example, on the tutorial instructor's computer the value of…
Saadat
  • 163
  • 4
  • 15
5
votes
1 answer

How to set expected framerate to AVAssetWriterInput

I have an app which encodes videos in different ways and saves it to Photos library - it can cut specific time range, add pictures, text, etc. Everything is working perfectly till I try to encode video 120+ fps. The problem is that video appears to…
Eugene Alexeev
  • 1,152
  • 12
  • 32
5
votes
1 answer

Is glfwSwapInterval() reliable?

Is glfwSwapInterval(1) reliable enough to cap framerate to 60 fps, or should I manually cap it myself? I often see people manually capping framerates instead of using this function. Will the function provide a steadier, more stable fps than manual…
MX wb
  • 61
  • 1
  • 5
5
votes
1 answer

Capturing a video with 240 fps in Swift with AVCaptureVideo

I want to see a video preview on my iPhone's display with 240 fps. My Code (simplyfied) is like this (following): A session is made, the camera is activated and the actual video preview is shown on the display. var session: AVCaptureSession? var…
Korne127
  • 168
  • 14
5
votes
2 answers

Display FPS in Gstreamer's C source

When using gst-launch-1.0 to play a video, we can measure Framerate (FPS) by adding --padprobe v:sink --timer and name=v as below example: gst-launch-1.0 -e --padprobe v:sink --timer filesrc…
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42