[FFmpeg-user] overlay filter uses unmapped cover image

Christian Ebert blacktrash at gmx.net
Fri May 17 09:45:57 CEST 2013

* Christian Ebert on Wednesday, May 15, 2013 at 15:44:01 +0200
> * Christian Ebert on Wednesday, May 15, 2013 at 13:57:10 +0200
>> Yes, ermh, I noticed. But how could overlay work at the end of
>> the chain?
> This seems to do the trick:
> ffmpeg -i test.m4v -i logo.png -filter_complex '[0:v]scale=640:480[tmp]; [tmp][1:v]overlay=main_w-overlay_w-10:main_h-overlay_h-10' test.mp4

To me it still feels like a bug that -filter_complex does not
take -map 0:v:0 into account when specified before, i.e. chooses
the 2nd video track of the first input - 0:v:1 - which has been
explicitly deselected, instead of the first video track of the
2nd input - 1:v

Does that mean that -map has no effect on filter_complex?

theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:

More information about the ffmpeg-user mailing list