Opened 7 years ago

Closed 7 years ago

#2742 closed defect (worksforme)

Speex encoding does not allow for specifying complexity level

Reported by: ferene Owned by:
Priority: normal Component: avcodec
Version: unspecified Keywords: libspeex
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug: FFmpeg does not make use of the complexity level setting provided by libspeex. This option is highly useful in CPU-confined environments.

How to reproduce:

ffmpeg -i input -acodec libspeex -ar 8000 -vbr 1 --comp 10 --dtx 1 output.spx

ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 27 2013 08:37:26 with gcc 4.7 (Debian 4.7.3-4)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --enable-libiec61883 --enable-libfdk-  libavutil      52. 18.100 / 52. 18.100
Unrecognized option '-comp'.
Error splitting the argument list: Option not found

Change History (2)

comment:1 Changed 7 years ago by jamal

It's -compression_level, not --comp

comment:2 Changed 7 years ago by cehoyos

  • Keywords libspeex added; speex removed
  • Priority changed from wish to normal
  • Resolution set to worksforme
  • Status changed from new to closed
$ ffmpeg -i input -ar 8k -vn -acodec libspeex -aq 1 -compression_level 10 -dtx 1 out.spx
Note: See TracTickets for help on using tickets.