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
2 answers

High frame rate issues with 144Hz monitor using matlab or java

I am trying to make a visual stimulus for an EEG study. The video is simply a flicker between a black frame and a white frame, and the alternation should occur at a range of rates: 12Hz, 24Hz, 48Hz, 72Hz. Our monitors have a refresh rate of 144Hz…
stan
  • 41
  • 1
4
votes
1 answer

How to access to System.Video.FrameRate in c#

The Windows Shell's property system defines a standard property called System.Video.FrameRate (documented here), which is available on most video files. The surrounding documentation only covers unmanaged APIs for getting these values. How do I…
Matias
  • 541
  • 5
  • 22
4
votes
2 answers

Character vibrates while moving 30fps

I'm developing a 2.5D mobile game with Unity. In order to move the character back and forward I'm using a piece of code inside the update function: void Update () { if (shouldMove==true){ transform.Translate(Vector3.forward * 3 *…
Marti Serra Vivancos
  • 1,195
  • 5
  • 17
  • 33
4
votes
1 answer

Writing variable framerate videos in openCV

The steps I follow for writing a video file in openCV are as follows: CvVideoWriter *writer =cvCreateVideoWriter(fileName, Codec ID, frameRate, frameSize); // Create Video Writer cvWriteFrame(writer, frame); // Write…
Hrishikesh_Pardeshi
  • 995
  • 4
  • 19
  • 45
4
votes
2 answers

setPreviewFpsRange not working despite values being within getPreviewFpsRange's range

This simple code: Camera.Parameters params = currentCamera.getParameters(); params.setPreviewFpsRange( 10000, 15000 ); currentCamera.setParameters( params ); does not work on my Nexus 4 (or my Motorola Atrix), despite the allowed values being…
reor
  • 820
  • 9
  • 22
4
votes
1 answer

Constant and probably inaccurate Frame Rate

I am using the following code to calculate Frame Rate in Unity3d 4.0. It's applied on a NGUI label. void Update () { timeleft -= Time.deltaTime; accum += Time.timeScale/Time.deltaTime; ++frames; // Interval ended -…
0xC0DED00D
  • 19,522
  • 20
  • 117
  • 184
4
votes
3 answers

Cocos2d-x setAnimationInterval doesn't work on Android

I try to set the max FPS in my application in Cocos2d-x with the following code: CCDirector::sharedDirector()->setAnimationInterval(1.0 / 30); It's working on iOS, but when I test it on three Android devices it's ignored, and renders frames with…
user1595102
  • 127
  • 2
  • 8
4
votes
0 answers

WPF Display FPS

I'm trying to display the FPS for a Viewport3D. Doing some searching, I came across CompositionTarget.Rendering, but this seems to give different results to the FPS displayed in the "WPF Performance suite" tool. When using…
hammer
  • 145
  • 1
  • 10
4
votes
0 answers

How to change camera frame rate to create slow motion or time lapse video in Android

I have a class setup that now gives me a preview on my surface view and allows me to record a video file. I would like to increase the FPS to create a slow motion video and decrease the FPS to create a time lapse video. I have tried using…
Scott Helme
  • 4,786
  • 2
  • 23
  • 35
4
votes
0 answers

How to set the FrameRate in a Video Recording Android Application

Following is the full code for recording the videos from both the camera front and the back camera . I need to set the frame rate of the video recoded to 30 fps. That's the big issue i have tried lots of thing but nothing is working out for me .…
4
votes
2 answers

C++ SDL framerate pulsing

Recently I've been working on some SDL wrappers for my own use and I've come with a problem I've been having since I first started working with the SDL library. See, like many others I've been using a timer akin to this one…
The Marlboro Man
  • 971
  • 7
  • 22
4
votes
4 answers

How to get games' FPS (with OpenGL) to like 800 FPS

How can we run a OpenGL applications (say a games) in higher frame rate like 500 - 800 FPS ? For a example AOE 2 is running with more than 700 FPS (I know it is about DirectX). Eventhough I just clear buffers and swap buffers within the game loop, I…
Morpheus
  • 1,722
  • 5
  • 27
  • 38
4
votes
0 answers

Exact mp4 framerate (synchronisation issues)

I'm writing an audio stretcher to convert audio from 24p to PAL video. 24p is 24000 / 1001 ~= 23.976 fps PAL is exactly 25 fps. The algorithm I use is very simple. If 'm' is the output sample number and 'n' is the input sample number, then m =…
rhlee
  • 3,857
  • 5
  • 33
  • 38
3
votes
1 answer

Amazon FPS Return URL Validation with verifySignature PHP api returning "InvalidSignature"

I'm trying to validate the return URL of Amazon FPS CBUI after the client confirm the payment in the CBUI. I 'm using the code examples from Amazon public static function test() { $utils = new Amazon_FPS_SignatureUtilsForOutbound(); …
juanreyesv
  • 853
  • 9
  • 22
3
votes
2 answers

Playing video at frame rates that are not multiples of the refresh rate.

I'm working on an application to stream video to OpenGL textures. My first thought was to lock the rendering loop to 60hz, so to play a video at 30fps or 60fps I would update the texture on every other frame or every frame respectively. How do…
grivescorbett
  • 1,605
  • 1
  • 21
  • 29