Unrecognized 'filter_complex' option using avconv

I would like to add two audio files using avconv. In the documentation, I found the following way to implement this:

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

However, when I try 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 looking for a solution for quite some time, but haven’t found anything.

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

Thank you for your help.

+6
source share
4 answers

In some versions, a "complex filter" can be specified using the "-filter: v" option, for example:

 avconv -i INPUT -filter:v amix=inputs=2:duration=first:dropout_transition=3 OUTPUT 
+3
source

Today I also looked at this problem, and the final solution was just to download a new static copy of ffmpeg and forget about the problem ..

Avconv does not seem to implement -filter_complex, although the manual states what it does.

+2
source

The problem with the version is you should update ffmpeg last. but we can also -vf instead of filer-complex like:

 ffmpeg -i new1.mp4 -vf "movie=wlogo.png [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]" -strict experimental output.mp4 
+2
source

You should probably use libav9. Version 9.9 was recently released.

0
source

Source: https://habr.com/ru/post/922204/


All Articles