[FFmpeg-user] Listing the hardware accelerators

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 27 00:06:35 EEST 2019


Am Do., 26. Sept. 2019 um 21:13 Uhr schrieb Verachten Bruno
<gounthar at gmail.com>:

> I have different environments (X86, ARM, Jetson Nano) on which I'd like to
> use hardware encoders and decoders if available.
> I guess that I won't be able to use them if they have not been built in the
> ffmpeg dependencies if I install a "generic" version.
> Will the configure command autodetect what it should build, or do I have to
> know my hardware before launching configure with specific options?
> I have read https://trac.ffmpeg.org/wiki/HWAccelIntro but it's not clear to
> me yet.
> Is there any way to have ffmpeg list what it has "found" on my system?
> Do I have to launch a series of commands with the different accelerators
> that exist, and see the output?

Are you searching for this command?
$ ffmpeg -hwaccels

> I suppose we have to specify on the command line the hardware acceleration
> chosen for the ffmpeg command, it won't autodetect and choose one that is
> available, am I right?

$ ./configure --help
gives some information, vdpau, vaapi, *toolbox and dxva2 are (for example)
autodetected.

Carl Eugen


More information about the ffmpeg-user mailing list