[FFmpeg-user] Dynamic range compression fail with: invalid argument

Android PowerUser tschikruma at gmail.com
Sat Oct 23 16:25:44 EEST 2021


I try

ffmpeg -y -i "/storage/emulated/0/Download/(M4A_128K).m4a"
compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0
"/storage/emulated/0/Download/(M4A_128K)_1.m4a"

for dynamic range compression, but it call back: invalid argument

Detail:
ffmpeg -y -i "/storage/emulated/0/Download/(M4A_128K).m4a"
compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0
"/storage/emulated/0/Download/(M4A_128K)_1.m4a"

ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 4.9.x (GCC) 20150123 (prerelease)
  configuration: --enable-version3 --enable-gpl --enable-nonfree
--disable-indev=v4l2 --enable-libmp3lame --enable-libx264 --enable-libx265
--enable-libvpx --enable-libvorbis --enable-libtheora --enable-libopus
--enable-libfdk-aac --enable-libfreetype --enable-libass
--enable-libfribidi --enable-fontconfig --enable-pthreads --enable-libxvid
--enable-filters --enable-openssl --enable-librtmp
--disable-protocol='udp,udplite' --enable-libopencore-amrwb
--enable-libopencore-amrnb --enable-libvo-amrwbenc --enable-libspeex
--enable-libsoxr --enable-libwebp --enable-libxml2 --enable-libopenh264
--enable-mediacodec --enable-jni
--prefix=/home/silentlexx/AndroidstudioProjects/ffmpeg/ffmpeg/build/arm64-api21-r13b
--sysroot=/home/silentlexx/Android/android-ndk-r13b/platforms/android-21/arch-arm64
--arch=arm64 --disable-shared --enable-static --enable-pic --enable-ffmpeg
--disable-ffplay --disable-ffprobe --disable-ffnvcodec --disable-avdevice
--disable-debug --disable-doc --disable-htmlpages --disable-manpages
--disable-podpages --disable-txtpages --disable-symver
--cross-prefix=/home/silentlexx/Android/android-ndk-r13b/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-
--target-os=android --enable-cross-compile --pkg-config-flags=--static
--extra-libs='-lgnustl_static -lm -lpng -l:libz.so -lpthread' --enable-asm
--enable-neon --enable-libxavs2 --enable-libdav1d --enable-libaom
--disable-runtime-cpudetect --enable-small
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007077e1a000] Unknown cover type: 0x1.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Download/
  Metadata:
    major_brand     : M4A
    minor_version   : 512
    compatible_brands: isomiso2
  Duration: 00:03:03.62, start: 0.000000, bitrate: 129 kb/s
  Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp,
125 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
[NULL @ 0xb400007077e1ac00] Unable to find a suitable output format for
'compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0'
compand=0|0:1|1:-90/-900|-70/-70|-30/-9|0/-3:6:0:0:0: Invalid argument


More information about the ffmpeg-user mailing list