Questions tagged [framerate]
101 questions
48
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,937
- 4
- 19
- 19
31
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
- 425
- 1
- 5
- 5
30
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
- 531
- 3
- 7
- 9
25
votes
3 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,589
- 2
- 15
- 20
20
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
- 425
- 2
- 4
- 9
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
- 297
- 1
- 4
- 15
11
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…
Nathan Wailes
- 341
- 1
- 3
- 15
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
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,199
- 6
- 20
- 22
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
- 452
- 5
- 14
5
votes
1 answer
Remote Desktop how to frame drop?
When eg. scrolling, remote desktop is very slow because it tries to render every change. Is it possible to ask remote desktop to drop frames when it laggs behind too much, similar to -framedrop in mplayer? How?
(I'm not usually interested in how all…
n611x007
- 6,336
- 14
- 61
- 88