Questions tagged [framerate]

89 questions
44
votes
11 answers

How do I get the number of frames in a video on the linux command line?

I have a video file and I want to get the number of video frames that are in it. I can use ffmpeg to get the length of the video and the FPS. However I can't see anything obvious for the total number of frames. In theory one should be able to…
Amandasaurus
  • 1,857
  • 4
  • 18
  • 19
21
votes
3 answers

Linux: How to extract frames from a video? (lossless)

I've read a few answers and articles on using programs like VLC, MPlayer, ffmpeg, etc., but none of the methods I've seen are "lossless." They don't capture every single frame. I want to extract each frame from a video as an image (100% quality, I…
Trae
  • 431
  • 3
  • 6
  • 9
21
votes
2 answers

FFMPEG / libx264: How to specify a variable frame rate but with a maximum?

Instead of providing a fixed frame rate to FFMPEG/libx264 (-r/-framerate), I would like to specify a variable frame rate with a MAXIMUM value, and allow libx264 to down the frame rate as it sees fit. The idea here is to get extra compression when…
Mark Gerolimatos
  • 1,429
  • 2
  • 13
  • 20
19
votes
4 answers

Change framerate in ffmpeg without reencoding

I have a mkv (h264) video that is 23.976 fps (24000/1001) but I want to convert it to 25fps without reencoding and loosing quality. I know mkvmerge can do it ( with option --default-duration '0:25fps') but I'd like to do it directly from ffmpeg if…
phate89
  • 305
  • 1
  • 3
  • 5
17
votes
2 answers

Drop every even or odd frames using FFmpeg?

Is there an accurate way to take raw video and extract from it a new video that contains only odd frames or even frames (by choice)? For example: I have "blah.yuv" with 400 frames (0-399). I want to create "blahOdd.yuv" that contains frames 1-399…
Mark
  • 375
  • 2
  • 3
  • 8
17
votes
2 answers

Do 60 FPS GIF's actually exist? Or is the maximum 50 FPS?

I've been recently playing around with FFmpeg and I was trying to convert .avi to .gif since other methods I've tried to so far didn't work so well. What I noticed is that, when I use this command: ffmpeg -I filename.gif I can see some of the file…
karl-police
  • 275
  • 1
  • 2
  • 12
8
votes
3 answers

How to find out the maximum framerate of a webcamera?

How can I get maximum frame rate from a webcam?
Cenoc
  • 517
  • 1
  • 7
  • 20
8
votes
3 answers

Getting gratuitous amounts of soft page faults when loading games and watching flash video

My computer has a strange issue when playing games that load assets on the fly. Perhaps I'm looking in the wrong places, but I seem to be unable to find anyone with a similar issue. In case it's not clear, I'll note some examples. In Source games,…
YotaXP
  • 81
  • 7
8
votes
2 answers

How to increase video speed and frame rate without duplicating frames

I have a long video with a frame rate of 30 FPS that I want to convert into a 200x time-lapse with a frame rate of 60 FPS. My only problem is that avconv is unnecessarily duplicating every other frame in the output, making the 60 FPS output…
Pilot_51
  • 251
  • 1
  • 2
  • 8
7
votes
2 answers

How can I see Explorer.exe's frames per second?

I want to see how many FPS I'm getting on my desktop. As I understand it, in Windows it's just a program called Explorer.exe. How can I see how many frames per second it is displaying?
user928642
7
votes
2 answers

Reduce video frame rate without dropping useful frames

I have a video from a security camera that was originally recorded at a low frame rate, maybe 15 fps, maybe 10 fps, maybe even less. It has since been converted by someone else to 25 fps (without changing the duration). I assume that extra,…
Boann
  • 1,156
  • 9
  • 19
7
votes
1 answer

convert high -speed video to normal by subsampling frames

I've found any number of commercial apps that can convert, e.g., 120fps "slow motion" videos to 30 fps by writing every n-th frame to a new video file. I was hoping that the usual freeware tools such as VLC or handbrake or ffmpeg could do this for…
Carl Witthoft
  • 443
  • 5
  • 14
5
votes
3 answers

How do set output framerate "same as source" in ffmpeg

ffmpeg -i input.3gp -someoptions output.flv will by default always use a framerate of 30 for output regardless of the framerate of the source file. I know how to set a given framerate e.g. "-r 15" for 15fps but how do I set the framerate to "same…
matteo
  • 3,830
  • 5
  • 18
  • 20
5
votes
4 answers

Freeware tool to change playback speed of avi file

I am looking for a Windows tool that can convert the framerate of an avi video file. Basically I want it to play at 4 times the speed. The video itself should technically not really be 120fps but still 30fps. It should just resample the source…
clamp
  • 1,152
  • 8
  • 26
  • 40
4
votes
2 answers

How to show refresh rate of monitor in MS-DOS Version 6.22

I was forwarded from Stackoverflow to ask this question here. I am running a psych experiment on an old MS-DOS computer. When I ran the experiment on a different computer that is split via a switch with a computer running Matlab on Windows which…
lord.garbage
  • 143
  • 4
1
2 3 4 5 6