|
8 OCT 2011 FFMPEG/AVCONV BENCHMARKS
OTHER FFMPEG/AVCONV BENCHMARKS
21 Nov 2012
26 Dec 2011
OVERVIEW
These are run times of ffmpeg.exe
as downloaded from Zeranoe (FFmpeg.org)
and avconv.exe
as downloaded from
win32.libav.org (libav.org).
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.
To get the run times below, I ran ffmpeg.exe and avconv.exe under Windows 7 on a core i5-670 (3.47 GHz, 2 cores, 4 threads).
The source video is
a 23-second, high-def (720p) video (.mts file) directly from my Panasonic Lumix camera.
It should be noted that as of October 8, 2011, each site (ffmpeg.org and libav.org) offers
both ffmpeg.exe and avconv.exe executables. But I found that the avconv.exe from ffmpeg.org
had virtually identical run times and behavior to ffmpeg.exe, and the ffmpeg.exe from
libav.org now encourages you to use avconv.exe instead, so I stuck with the executables
named for each site for these benchmarks.
As of October 8, 2011, somewhat surprisingly, the 32-bit ffmpeg download from
Zeranoe is the only one
that successfully does all of the conversions below. I'm not sure what the
libav.org folks have against enabling .webm and .ogv encoding in their Windows builds.
CONVERTING TO MP4
Command-line options: |
|
-i myfile.mts -strict experimental -threads <n> -s 640x360 -b:v 1250k -i_qfactor 0.71 -qcomp 0.6 -qmin 10 -qmax 63 -qdiff 4 -trellis 0 -vcodec libx264 -b:a 56k -ar 22050 outfile.mp4 |
Note: The "-strict experimental" command-line option is only necessary for the win32.libav.org downloads due to the aac audio encoding.
Run Times from Oct 8, 2011 Downloads
Command |
From |
Type |
Version |
gcc ver |
-threads 1 |
-threads 2 |
-threads 3 |
-threads 4 |
ffmpeg.exe |
zeranoe |
win32 static |
N-33308-g6638207 |
4.6.1 |
26.8 s |
16.7 s |
13.8 s |
12.6 s |
ffmpeg.exe |
zeranoe |
win64 static |
N-33308-g6638207 |
4.6.1 |
25.6 s |
16.0 s |
13.1 s |
12.0 s |
avconv.exe |
win32.libav.org |
win32 |
0.7-1157-gac6eab1 |
4.5.2 |
23.0 s |
13.9 s |
11.7 s |
11.2 s |
avconv.exe |
win32.libav.org |
win32 w/pthreads |
0.7-1157-gac6eab1 |
4.5.2 |
22.9 s |
14.2 s |
38.5 s* |
18.9 s* |
avconv.exe |
win32.libav.org |
win64 |
0.7-1157-gac6eab1 |
4.5.2 |
21.6 s |
13.2 s |
11.2 s |
10.6 s |
* - Note regression in run times with pthreads version.
CONVERTING TO WEBM
Command-line options: |
|
-i myfile.mts -threads <n> -s 640x360 -b:v 1250k -qmax 63 -b:a 56k -ar 22050 -acodec libvorbis outfile.webm
|
Run Times from Oct 8, 2011 Downloads
Command |
From |
Type |
Version |
gcc ver |
-threads 1 |
-threads 2 |
-threads 3 |
-threads 4 |
ffmpeg.exe |
zeranoe |
win32 static |
N-33308-g6638207 |
4.6.1 |
24.7 s |
18.2 s |
18.8 s |
19.2 s |
ffmpeg.exe |
zeranoe |
win64 static |
N-33308-g6638207 |
4.6.1 |
n/a* |
avconv.exe |
win32.libav.org |
win32 |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
avconv.exe |
win32.libav.org |
win32 w/pthreads |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
avconv.exe |
win32.libav.org |
win64 |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
* - ffmpeg.exe win64 version crashed.
** - win32.libav.org versions did not have .webm encoding.
CONVERTING TO OGG/THEORA
Command-line options: |
|
-i myfile.mts -threads <n> -s 640x360 -b:v 1250k -qmax 63 -b:a 56k -ar 22050 -acodec libvorbis outfile.ogv
|
Run Times from Oct 8, 2011 Downloads
Command |
From |
Type |
Version |
gcc ver |
-threads 1 |
-threads 2 |
-threads 3 |
-threads 4 |
ffmpeg.exe |
zeranoe |
win32 static |
N-33308-g6638207 |
4.6.1 |
20.1 s* |
ffmpeg.exe |
zeranoe |
win64 static |
N-33308-g6638207 |
4.6.1 |
19.0 s* |
avconv.exe |
win32.libav.org |
win32 |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
avconv.exe |
win32.libav.org |
win32 w/pthreads |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
avconv.exe |
win32.libav.org |
win64 |
0.7-1157-gac6eab1 |
4.5.2 |
n/a** |
* - Number of threads seems to have no effect.
** - win32.libav.org versions did not have .ogv encoding.
|
|
|