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

Limiting FPS for my game

Alright, i'm making a small game, and I need to limit my FPS, because, when I play on my really fast computer, I have around 850 FPS, and the game will go like, REALLY fast, and when I switch to my older computer, it goes alot slower, so I will need…
Stan
  • 3,659
  • 14
  • 35
  • 42
3
votes
2 answers

What does ffmpeg think is the difference between an audio frame and audio sample?

Here's a curious option listed in the man pages of ffmpeg: -aframes number (output) Set the number of audio frames to output. This is an obsolete alias for "-frames:a", which you should use instead. What an 'audio frame' is seems dubious to…
Mossmyr
  • 909
  • 2
  • 10
  • 26
3
votes
2 answers

FPS throttling(?) - Making a phone's update/draw cycle smoother?

I am building an application for the android Phone and am experiencing some strange 'throttling'. I believe it is because a semaphore is being called to halt whatever the application is doing to process something else within the phone. Though I'm…
Remm
  • 677
  • 8
  • 24
3
votes
3 answers

Making a FPS shower?

I am trying to make a string with FPS showing, but, how do I actually get my programs FPS? I want to do it with g.drawString(getFPS(), 10, 10) How do I get my FPS?
Stan
  • 3,659
  • 14
  • 35
  • 42
3
votes
2 answers

smooth animations in games

How can I create a "smooth" animation? I am developing a game on android. I know that the default way to do smooth animations is not the best: perFrame() { time = highrestime(); frameTime = time - lastTime; lastTime = time; // now…
Daniel Bişar
  • 2,663
  • 7
  • 32
  • 54
3
votes
1 answer

How to change FPS in getusermedia with the 640*480 resolution?

I changed the FPS in MediaDevices.getUserMedia() but resolution also got changed. How can I reduce the FPS, while keeping the resolution at 640 × 480? I tried the code below, but the video is displayed in a different resolution. var constraints =…
Vedant B H
  • 75
  • 1
  • 7
3
votes
1 answer

How to decrease frame rate of USB webcam 2.0 using openCV python

I am working on ubuntu 16.04 and using a USB 2.0 webcam. I want to decrease the frame rate somehow since the project I'm working on requires face detection which really lags the video hence want to decrease the frame rate. I've tried implementing…
Osama
  • 55
  • 1
  • 4
3
votes
2 answers

How to change video speed only while adding a same-speed separated audio stream with ffmpeg?

I'm using ffmpeg for video filter. But, When I changed video speed, that time I got issue Audio is longer than video : ffmpeg -i INPUT.mp4 -filter:v setpts=0.5*PTS -shortest -y -preset ultrafast OUTPUT.mp4 I want to set audio's length same as…
Pooja Jadav
  • 279
  • 1
  • 3
  • 17
3
votes
0 answers

How to fix frame rate drop issues when using Animation Timer in JavaFX?

I'm building a game, in order to manage the frames etc, I'm using AnimationTimer, however, I think that when I go below 60FPS, it just starts lagging a lot, making the game very slow. How can I fix that issue please ? I tried many things, nothing…
TierTwo
  • 123
  • 2
  • 11
3
votes
5 answers

low fps by using cv2.VideoCapture

I have low FPB ~5, I have checked this code on different cameras logitech c270 and logitech 9000, same situation. I completed all the tips about turn off right light etc. import urllib.request as urllib import cv2 import numpy as np import…
Oleksii
  • 43
  • 2
  • 7
3
votes
0 answers

ffmpeg to change video from 30 to 60fps to double speed without re-encoding

First, I have looked at the older questions asking the same, but the responses do not work. Adding -r 30 or 60 to the input file does not impact the output, nor does setting it for the output, which remains unchanged. I am handling a very large…
Eslake
  • 121
  • 1
  • 6
3
votes
1 answer

Using raspivid and cvlc together with low framerates and full FOV

I have a Raspberry Pi with an OV5647 camera module which I use to stream video from. raspivid takes a command line parameter named --mode, -md, which offers a couple of modes the camera can be set to use. Mode Size AR Frame rates FOV …
Daniel F
  • 13,684
  • 11
  • 87
  • 116
3
votes
2 answers

Android GLES20 big textured quad very slow (on Nexus One)

I render 2 triangles covering the whole surface using GLES20 context only. The problem is now that drawing just one single texture this way seems to be unreasonably slow. The framerate goes down from 58fps to 21fps. the problem really seems to be…
Alex Rempel
  • 480
  • 6
  • 12
3
votes
2 answers

Canvas' fps unintentionally speeding up?

I am messing around with the canvas element based off of tutorials online and have constructed the following page, here. Here is my markup: Canvas…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/canvas" class="post-tag grid--cell" title="show questions tagged 'canvas'" rel="tag">canvas</a> <a href="../../questions/tagged/frame-rate" class="post-tag grid--cell" title="show questions tagged 'frame-rate'" rel="tag">frame-rate</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 15 '11 at 05:10">asked Feb 15 '11 at 05:10</time> <a href="../../users/403965/qcom" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/403965.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Qcom" /> </a> <div class="s-user-card--info"> <a href="../../users/403965/qcom" class="s-user-card--link">Qcom</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">18,263</li> <li class="s-award-bling s-award-bling__gold" title="29 gold badges">29</li> <li class="s-award-bling s-award-bling__silver" title="87 silver badges">87</li> <li class="s-award-bling s-award-bling__bronze" title="113 bronze badges">113</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-4988585"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>3</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/4988585/generate-poisson-random-variable-in-real-time" class="question-hyperlink">Generate (Poisson?) random variable in real-time</a></h3> <div class="excerpt">I have a program running in real-time, with variable framerate, e.g. can be 15 fps, can be 60fps. I want an event to happen, on average, once every 5 seconds. Each frame, I want to call a function which takes the time since last frame as input, and…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/language-agnostic" class="post-tag grid--cell" title="show questions tagged 'language-agnostic'" rel="tag">language-agnostic</a> <a href="../../questions/tagged/math" class="post-tag grid--cell" title="show questions tagged 'math'" rel="tag">math</a> <a href="../../questions/tagged/random" class="post-tag grid--cell" title="show questions tagged 'random'" rel="tag">random</a> <a href="../../questions/tagged/real-time" class="post-tag grid--cell" title="show questions tagged 'real-time'" rel="tag">real-time</a> <a href="../../questions/tagged/frame-rate" class="post-tag grid--cell" title="show questions tagged 'frame-rate'" rel="tag">frame-rate</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 14 '11 at 03:25">asked Feb 14 '11 at 03:25</time> <a href="../../users/15055/claudiu" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/15055.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Claudiu" /> </a> <div class="s-user-card--info"> <a href="../../users/15055/claudiu" class="s-user-card--link">Claudiu</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">224,032</li> <li class="s-award-bling s-award-bling__gold" title="165 gold badges">165</li> <li class="s-award-bling s-award-bling__silver" title="485 silver badges">485</li> <li class="s-award-bling s-award-bling__bronze" title="680 bronze badges">680</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=15" rel="prev" title="Go to page 15">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=99" rel="" title="Go to page 99">99</a> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=100" rel="" title="Go to page 100">100</a> <a class="s-pagination--item" href="../../questions/tagged/frame-rate_page=17" rel="next" title="Go to page 17"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>