Log in

View Full Version : ffmpeg filter_complex


Atlantis
22nd November 2024, 12:32
I'm trying to encode an eac3 to flac with 3 filters. I use this

-filter_complex "[0:a]atempo=24000/25025[a1];[a1]volume=2dB[a2];[a2]atrim=9.000[a3]" -map "[a3]"

The third argument (atrim=9.000) is ignored. But if I use only 2 like this

-filter_complex "[0:a]atempo=24000/25000[a1];[a1]atrim=9.000[a2]" -map "[a2]"

it works. Any idea where is the problem in the first code?

tebasuna51
23rd November 2024, 09:53
I'm not a expert in ffmpeg sintax but maybe try without intermediate names:

-filter_complex "[0:a]atempo=24000/25025,volume=2dB,atrim=9.000[a3]" -map "[a3]"