[FFmpeg-user] difference between filter_complex and vf

Atli Thorbjornsson atlithorn at gmail.com
Fri Jun 1 14:54:37 CEST 2012

Hi I'm trying to combined 2 files via overlay for video and amix for audio.

I have overlay working via filter_complex like this

ffmpeg -i test1.flv -i test2.flv -filter_complex

But obviously this just discards the audio from test.flv
I thought the idea was to use -vf for the video and then add -af for the
audio like this

ffmpeg -i test1.flv -i test2.flv
-af '[0][1] amix=duration=first:dropout_transition=3[out]'

But I never get the filtergraph to work when I use -vf (even if I leave out
the -af part)
I always get this error:

Output pad "default" for the filter "src" of type "buffer" not connected to
any destination

Any ideas?


More information about the ffmpeg-user mailing list