[FFmpeg-user] Script to time all encoders on a given machine?

Steven Kan steven at kan.org
Mon Feb 8 00:15:34 EET 2021


I know that ffmpeg -encoders will return all the encoders compiled into a given build, but has anyone written a script to actually test each of them and time the results?

Something like:

for each $thisencoder in “ffmpeg -encoders”
	time ffmpeg -i testfile.mp4 -vcodec $thisencoder out.mp4 (or whatever extension is suitable) > results.txt
next $encoder

with error checking, etc. 

Or would this not be useful because y’all already know what works on your machine?


More information about the ffmpeg-user mailing list