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

Screen capture video using AForge.Video.FFMPEG / AForge.Video.VFW. Frame Rate issue

My WinForms .NET 4 C# application records the desktop while the user interacts with it. It uses the AForge FFMPEG or VFW wrappers depending on the speed of the system. The capturing is done in a background thread of course. In either case, the…
Raheel Khan
  • 14,205
  • 13
  • 80
  • 168
4
votes
9 answers

How many game updates per second?

What update rate should I run my fixed-rate game logic at? I've used 60 updates per second in the past, but that's hard because it's not an even number of updates per second (16.666666). My current games uses 100, but that seems like overkill for…
Tod
  • 4,618
  • 4
  • 32
  • 23
4
votes
3 answers

Capping FPS rate on iPhone?

How do I limit my FPS rate on my OpenGL app (I'm using CADisplayLink) so I can leave the CPU for other things?
user642252
  • 513
  • 5
  • 22
4
votes
1 answer

How to use Frame Rate convertor DMO in MF app

I wish to use the Frame Rate convertor DSP in my media foundation application. I'm using the 'SourceReader' to read the video file. Can anyone tell me where and how to integrate the DMO with MF to obtain frame rate conversion. I don't seem to…
mots_g
  • 637
  • 8
  • 27
4
votes
3 answers

ffmpeg ignores every framerate option, locking the result to 25 fps

ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers No matter what I do, ffmpeg just ignores everything and encodes it as if it's 25fps. -framerate 60 does nothing -t 60 does nothing -r 60 makes it to interpolate…
4
votes
1 answer

Black screen observed sometimes while playing the FairPlay Streaming protected content

We are using AVPlayerLayer to play the content in iOS application. Some time there is a black screen occurred while playing the content but content continue playing audio during playback. This can be observed randomly during the playback also when…
Sumit
  • 41
  • 2
4
votes
1 answer

how to measure the realtime FPS in html5 video while playback

I'm working on measuring the real-time frame rate of html5 video, does anyone has some ideas? Since I have not find the properties info about frame in html5 video, I have no idea about how to do that. Another alternative, how to access each frame…
longchuan
  • 581
  • 1
  • 4
  • 12
4
votes
0 answers

Why does VK_PRESENT_MODE_FIFO_KHR cause catastrophic performance issues in Ubuntu MATE?

I am implementing a simple Vulkan renderer according to a popular Vulkan tutorial (https://vulkan-tutorial.com/Introduction), and I've run into an interesting issue with the presentation mode and the desktop environment performance. I wrote the…
Zee2
  • 163
  • 8
4
votes
0 answers

Unity3D: AR Foundation - CameraConfigFilter?

We noticed, that google pixel devices have a locket 60 fps camera configuration, which blocks focusing. This also impacts the AR Foundation App experience. You can see this information also at the supported device list on google:…
4
votes
1 answer

Is there a way to detect black on FFMPEG video files

I am trying to run a QC check on my video files. I know that there is a way to detect black frame or audio loss in a video file. Can anyone help me with how the syntax is written? I have tried doing the following but I am having issues as I do not…
A Person
  • 441
  • 7
  • 19
4
votes
1 answer

std::this_thread::sleep_for sleeps for too long

Can anyone tell what the problem with following example is? It produces 65 instead of 300 frames per second. #define WIN32_LEAN_AND_MEAN #include #include #include #include int main(int argc, const char*…
Rigid
  • 145
  • 1
  • 4
4
votes
2 answers

How can I improve my python openCV video-stream?

I've been working on a project where I use a raspberry pi to send a live video feed to my server. This kinda works but not how I'd like it to. The problem mainly is the speed. Right now I can send a 640x480 video stream with a speed of around 3.5…
Ruud14
  • 117
  • 7
4
votes
4 answers

Am I calculating my FPS correctly?

So I was wondering if I'm calculating my FPS correctly: Uint32 delayFrom(float startTime, float endTime){ return(endTime - startTime ); } int main(){ int numFrames = 0; Uint32 startTime = SDL_GetTicks(); while(!done){ …
CyanPrime
  • 5,096
  • 12
  • 58
  • 79
4
votes
3 answers

Limiting fps with std::chrono

std::chrono::system_clock::time_point m_BeginFrame = std::chrono::system_clock::now(); std::chrono::system_clock::time_point m_EndFrame = std::chrono::system_clock::now(); std::chrono::nanoseconds m_WorkTime =…
n0lavar
  • 113
  • 6
4
votes
5 answers

How to make timer for a game loop?

I want to time fps count, and set it's limit to 60 and however i've been looking throught some code via google, I completly don't get it.
Neomex
  • 1,650
  • 6
  • 24
  • 38