[FFmpeg-user] Benchmarking with ffmpeg - What are the parameters meaning?

David Wagner david.wagner123 at googlemail.com
Sun Sep 9 07:06:15 CEST 2012


Hi,

I'm trying to compare some codecs. For encoding I use the -benchmark and 
-report. Afterwards I have a log file with some lines which confuse me....

frame=  136 fps=0.0 q=48.0 size=      21kB time=00:00:02.90 bitrate=  
58.9kbits/s
frame=  249 fps=0.0 q=45.0 size=      40kB time=00:00:06.67 bitrate=  
49.5kbits/s
frame=  358 fps=239 q=45.0 size=      65kB time=00:00:10.31 bitrate=  
52.0kbits/s
frame=  467 fps=234 q=43.0 size=      82kB time=00:00:13.94 bitrate=  
48.4kbits/s
frame=  562 fps=223 q=44.0 size=     109kB time=00:00:17.11 bitrate=  
51.9kbits/s
frame=  661 fps=219 q=44.0 size=     130kB time=00:00:20.42 bitrate=  
52.0kbits/s
frame=  772 fps=220 q=43.0 size=     150kB time=00:00:24.12 bitrate=  
50.9kbits/s
frame=  888 fps=221 q=44.0 size=     178kB time=00:00:27.99 bitrate=  
52.1kbits/s
frame= 1000 fps=221 q=43.0 size=     197kB time=00:00:31.73 bitrate=  
50.9kbits/s
No more output streams to write to, finishing.
frame= 1065 fps=214 q=-1.0 Lsize=     238kB time=00:00:35.46 bitrate=  
55.0kbits/s
bench: utime=8.781s maxrss=49488kB

What is meant by the fps? Is it the (averaged) speed at which the frames 
are processed? So 1065frames / 214fps = 4,97 s. Which is not equal utime 
= 8,7818s. Also I have seen that at the end time=00:00:35.46 is exactly 
the length of the encoded video. Could someone please explain me the 
parameters?

BTW exists there a mode for benchmarking the DEcoding process, so that I 
have some stats and won't need to play all the files in realtime?

Regards,
David



More information about the ffmpeg-user mailing list