[FFmpeg-user] mcompand

Paul B Mahol onemda at gmail.com
Mon Mar 26 00:25:17 EEST 2018


On 3/25/18, Martin Rouillard <tintin at audioz.com> wrote:
> Thanks Paul, This helped but I still have an error on the attack and decays
> count, here is my command :
>
> -af "mcompand=0.1 0.2 6 -47/-40 -34/-34 -17/-33 100 | 0.1 0.2 6 -47/-40
> -34/-34 -17/-33 400 | 0.1 0.2 6 -47/-40 -34/-34 -15/-33 1600 | 0.1 0.2 6
> -47/-40 -34/-34 -31/-31 -0/-30 6400 | 0.1 0.2 6 -38/-31 -28/-28 -0/-25
> 22000"
>
> and the error I get is :
>
> [Parsed_mcompand_0 @ 0x5294d40] number of attacks rate plus decays rate
> must be even
> [Parsed_mcompand_0 @ 0x5294d40] Failed to configure output pad on
> Parsed_mcompand_0
> Error reinitializing filters!
> Failed to inject frame into filter network: Invalid argument
> Error while processing the decoded data for stream #0:0
> Conversion failed!

Attacks/decays are set with ',' separator between attack and decay,
same apply for points. (input_db/output_dB , ..)

You may need to escape ',' with '\'.

-af "mcompand=0.1\,0.2 6 -47/-40\,-34/-34\,-17/-33 100 | 0.1\,0.2 6
-47/-40\,-34/-34\,-17/-33 400 | 0.1\,0.2 6 -47/-40\,-34/-34\,-15/-33
1600 | 0.1\,0.2 6 -47/-40\,-34/-34\,-31/-31\,-0/-30 6400 | 0.1\,0.2 6
-38/-31\,-28/-28\,-0/-25 22000"


More information about the ffmpeg-user mailing list