|
24 JUL 2022 FFMPEG/AVCONV BENCHMARKS
OLDER FFMPEG/AVCONV BENCHMARKS
6 Mar 2020
3 Jun 2017
21 Nov 2012
26 Dec 2011
8 Oct 2011
OVERVIEW
These are run times of ffmpeg.exe v5.1 (static build)
and avconv.exe v13 dev (dll build).
If you are not aware of why there are now two different web sites (ffmpeg.org and libav.org)
and two different converters (ffmpeg.exe and avconv.exe),
see the FFmpeg section of my useful utilities page.
Note that at this point the split between FFmpeg and libav is old news and it appears libav
has not been touched for over four years whereas FFmpeg is still being actively developed.
This may be the last time I compare the two.
DETAILS
- I used just one source video this time--a 23-second, high-def (720p) video (.mts file) directly from a Panasonic Lumix camera. I'm figuring that the encoding is the dominant part of the conversion time.
- Run times are wall-clock time.
- I'm running Windows 11 Pro.
- My CPU is a core i9-9900 (3.10 GHz base clock) with 8 cores and 2 threads per core, so it can take advantage of up to 16 threads, but in my experience, going beyond 8 threads is counterproductive.
RESULTS
- Detailed results are in the table below. There has been no progress with avconv.exe since it stopped devlopment in 2018, so run times have not changed from 2020. With FFmpeg, the .mp4, .hevc, and .ogv encoders have held steady from 2020, the .webm seems about 10% faster than in 2020, and the .vp9 encoder is 10-15% faster than in 2020.
CONVERSIONS
I converted a 23-second .mts (h264-encoded) video from my Panasonic camera to these formats using these command lines:
Encoder | Command line |
(All encoders) |
-i myfile.mts -threads <n> -s 640x360 -b:v 1250k -b:a 56k -ar 22050 -qmax 63 |
x264 (.mp4) |
-vcodec libx264 -i_qfactor 0.71 -qcomp 0.6 -qmin 10 -qdiff 4 -trellis 0 out.mp4 |
x265 (hevc) |
-vcodec libx265 -i_qfactor 0.71 -qcomp 0.6 -qmin 10 -qdiff 4 -trellis 0 out.avi |
vp8 (.webm) |
-vcodec libvpx -acodec libvorbis outfile.webm |
vp9 (.webm) |
-vcodec libvpx-vp9 -acodec libvorbis outfile.webm |
theora (.ogv) |
-vcodec libtheora -acodec libvorbis outfile.ogv |
Run Times from July 24, 2022 Downloads
Command |
Type |
Version |
gcc ver |
Encoder |
Encoder Version |
-threads 1 |
-threads 2 |
-threads 3 |
-threads 4 |
ffmpeg.exe |
win64 static |
5.1 |
12.1.0 |
x264 (.mp4) |
Lavc59.37.100 |
11.2 s |
6.4 s |
4.3 s |
2.8 s |
avconv.exe |
win64 w/DLLs |
13_dev0-1440 |
4.8.3 |
x264 (.mp4) |
Lavc58.8.0 |
11.3 s |
6.4 s |
3.8 s |
2.7 s |
ffmpeg.exe |
win64 static |
5.1 |
12.1.0 |
x265 (hevc) |
Lavc59.37.100 |
11.1 s |
9.9 s |
10.0 s |
10.0 s |
avconv.exe |
win64 w/DLLs |
13_dev0-1440 |
4.8.3 |
x265 (hevc) |
Lavc58.8.0 |
(no encoder) |
ffmpeg.exe |
win64 static |
5.1 |
12.1.0 |
vp8 (.webm) |
Lavc59.37.100 |
26.1 s |
14.5 s |
8.8 s |
8.2 s |
avconv.exe |
win64 w/DLLs |
13_dev0-1440 |
4.8.3 |
vp8 (.webm) |
Lavc58.8.0 |
135.0 s |
76.7 s |
48.0 s |
44.3 s |
ffmpeg.exe |
win64 static |
5.1 |
12.1.0 |
vp9 (.webm) |
Lavc59.37.100 |
75.2 s |
42.1 s |
42.2 s |
42.4 s |
avconv.exe |
win64 w/DLLs |
13_dev0-1440 |
4.8.3 |
vp9 (.webm) |
Lavc58.8.0 |
935 s |
939 s |
932 s |
929 s |
ffmpeg.exe |
win64 static |
5.1 |
12.1.0 |
theora (.ogv) |
Lavc59.37.100 |
7.7 s |
7.6 s |
7.5 s |
7.6 s |
avconv.exe |
win64 w/DLLs |
13_dev0-1440 |
4.8.3 |
theora (.ogv) |
Lavc58.8.0 |
(no encoder) |
| |
|