[libav-tools] avconv - mixing two audio files

Justin Ruggles justin.ruggles at gmail.com
Tue Aug 7 15:03:26 CEST 2012


Hi Marina,

On 08/07/2012 04:27 AM, Zimmermann Marina wrote:
> Hello everyone,
> 
> I just started using avconv in order to mix two audio files. So in the
> online documentation I found the following command:
> 
> |avconv -i INPUT1 -i INPUT2 -filter_complex amix=inputs=2:duration=first:dropout_transition=3 OUTPUT
> 
> However, running this gives me the following error:
> 
> ||Unrecognized option 'filter_complex'
> Failed to set value 'amix=inputs=2:duration=first:dropout_transition=3' for option 'filter_complex'|
> |
> If I understand this correctly, also by reading the manual on ubuntu, the filter-complex part is not defined (not configured?).
> I have been trying to find a solution for some time now, but can't find anything.
> 
> I currently have version 0.8.3-4:0.8.3-0ubuntu0.12.04.1 of avconv.
> Unfortunately, I'm not very experienced with this so maybe someone can tell me if I have to change something in the configurations
> or use a different version of avconv. In case you know any other methods with which I could mix the audio files, please let me know.

The amix filter is fairly new and is not part of the most recent Libav
release, so you can either build the latest Libav from source or use the
Ubuntu daily build PPA at
https://launchpad.net/~motumedia/+archive/libav-daily

Cheers,
Justin


More information about the libav-tools mailing list