Questions tagged [framerate]

107 questions
53
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
  • 2,037
35
votes
4 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
  • 611
34
votes
5 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
  • 455
28
votes
4 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…
21
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
  • 465
  • 2
  • 4
  • 9
18
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…
16
votes
3 answers

How can I tell if a video has a variable frame rate?

How can I tell if a video has a variable frame rate? I don't need to be able to do it programmatically, I just don't want to have to install some program that's hundreds of megabytes; for example, if I could do it with the VLC Media Player, that…
12
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
  • 4,559
9
votes
3 answers

How to find out the maximum framerate of a webcamera?

How can I get maximum frame rate from a webcam?
Cenoc
  • 527
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
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
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,165
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…
6
votes
5 answers

How to obviously see every frame per second to check if the monitor is actually updating at expected framerate?

I've been reading up about higher framerate monitors and I've found that a lot of the 60Hz monitors can be slightly overclocked to show 65, 67, 70 or sometimes even 75 frames per second if you play around with custom display modes (people also seem…
user1306322
  • 4,866
1
2 3 4 5 6 7 8