[FFmpeg-user] list of audio codecs only ?

laurent.bellegarde laurent.bellegarde at free.fr
Thu Nov 24 09:47:35 CET 2011


Hi all,

i'm trying to improve a new program which use ffmpeg.

I need to get back from a terminal the complete list of audio codecs.

the command

ffmpeg -codecs doesn't work and told :

laurent at laurent-laptop:~$ ffmpeg -codecs
FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.2, Copyright (c) 2000-2009 
Fabrice Bellard, et al.
   configuration: --extra-version=4:0.5.1-1ubuntu1.2 --prefix=/usr 
--enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib 
--enable-libgsm --enable-libschroedinger --enable-libspeex 
--enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib 
--disable-stripping --disable-vhook --enable-runtime-cpudetect 
--enable-gpl --enable-postproc --enable-swscale --enable-x11grab 
--enable-libdc1394 --enable-shared --disable-static
   libavutil     49.15. 0 / 49.15. 0
   libavcodec    52.20. 1 / 52.20. 1
   libavformat   52.31. 0 / 52.31. 0
   libavdevice   52. 1. 0 / 52. 1. 0
   libavfilter    0. 4. 0 /  0. 4. 0
   libswscale     0. 7. 1 /  0. 7. 1
   libpostproc   51. 2. 0 / 51. 2. 0
   built on Sep 16 2011 17:04:18, gcc: 4.4.3
ffmpeg: missing argument for option '-codecs'

the command ffmpeg -formats works, but all the codecs are listed.

Any suggestions ?

Laurent
lprod.org


More information about the ffmpeg-user mailing list