Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unrecognized option 'filter_complex' using avconv

Tags:

libav

I would like to mix two audio files using avconv. In the documentation I found the following way of implementing this:

avconv -i INPUT1 -i INPUT2 -filter_complex amix=inputs=2:duration=first:dropout_transition=3 OUTPUT

However, when I'm trying to run this I get the following errors:

Unrecognized option 'filter_complex'
Failed to set value 'amix=inputs=2:duration=first:dropout_transition=3' for option 'filter_complex'

I have been searching for a solution for quite some time, but couldn't find anything.

I have version 0.8.3-4:0.8.3-0ubuntu0.12.04.1 of avconv. Do I need to change anything in the configurations or use a different version of avconv? Is there another way in which I could mix the audio files?

Thank you for your help.

like image 361
user1578793 Avatar asked Aug 06 '12 09:08

user1578793


1 Answers

In some versions, the "complex filter" can specified using the "-filter:v" option, like:

avconv -i INPUT -filter:v amix=inputs=2:duration=first:dropout_transition=3 OUTPUT
like image 64
racribeiro Avatar answered Oct 07 '22 07:10

racribeiro