All Questions
Tagged with ffmpeg compression
10
questions
28
votes
3
answers
49k
views
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. ...
69
votes
3
answers
73k
views
Why does preset "veryfast" in FFmpeg generate the most compressed file compared to all other presets?
The FFmpeg wiki says that the best compression rate is by preset "veryslow".
But when I am trying it with my video then preset veryfast provides the best compression in my case.
The following is the ...
17
votes
4
answers
15k
views
Can compressed videos be decoded back to their uncompresed original format?
The following is mentioned in the ffmpeg documentation.
ffmpeg calls the libavformat library (containing demuxers) to read
input files and get packets containing encoded data from them...
...
9
votes
1
answer
34k
views
What archive compression makes .mp4 files the smallest?
Is there an archive-based compression format that is known to make the smallest .mp4 videos?
I did a test 1080p 0:12 duration video with the only archival formats I know about:
(python3) Joshs-MBP:...
8
votes
1
answer
12k
views
Using ffmpeg + MPDecimate to get rid of exact duplicate frames (i.e. losslessly)
According to the documentation, mpdecimate will "Drop frames that do not differ greatly from the previous frame in order to reduce frame rate."
I would like to be able to remove only exact ...
3
votes
1
answer
2k
views
How to compress gif effectively to reduce size?
We use gifs for our blog extensively. We used to embed tenor nano gifs(90px height maintaining aspect ratio, used for GIF previews and shares on mobile) in it. Now we wanted to create our own gifs and ...
2
votes
1
answer
976
views
Why are ffmpeg processed videos per default multiple times smaller in file size than the input file?
I have a mp4 movie of 1:15min length, made with the Sony Alpha 6400 4k camera. It has a size of 528MB. I want to cut it using ffmpeg. Although I only cut a few seconds, the new video was much smaller. ...
1
vote
1
answer
5k
views
Video compression with ffmpeg - Constant quality
I am trying to compress videos of 10 seconds at different bitrates with ffmpeg. My aim is to obtain the same video at different qualities (from very low to very high). I don't want to touch audio part ...
1
vote
1
answer
2k
views
Why does FFmpeg append blank black video to the end of my MP4 files when compressed from MOV?
I have several large MOV files that I want to compress to MP4.
Unfortunately, when I use FFmpeg, it appends lots of black (blank) video at the end.
(The destination file is longer than the source ...
1
vote
0
answers
445
views
FFmpeg CRF compression slower on master than old version
I use FFmpeg to compress videos (amongst other things) on Android. I have been using an FFmpeg build from 2015 for some time now and wanted to upgrade, preferably to the git master. I built FFmpeg ...