[libav-tools] avconv documentation examples do not work .. "-filter_complex" completely hosed

Luca Barbato lu_zero at gentoo.org
Sun Apr 12 12:42:48 CEST 2015

On 10/04/15 10:44, Sampsa Riikonen wrote:
> Hello,
> Following examples in libav documentation ..
> https://libav.org/avconv.html#overlay-1
> .. produces errors.

Strange the example

    avconv -i in.mp4 -i in.png -filter_complex
'overlay=x=10:y=main_h-overlay_h-10' /tmp/out.mkv

Works exactly as supposed to and chaining two overlays

    avconv -i in.mp4 -i in1.png -i in2.png -filter_complex
overlay=x=10:y=H-h-10,overlay=x=W-w-10:y=H-h-10' /tmp/out.mp4

Work just fine as well.

> avconv -y -v 9 -loglevel 99 -i HIK_TABLE.mkv -i
> ~/dasys/RecMobile/gfx/offline.tif -i ~/dasys/RecMobile/gfx/offline.tif 
> -filter_complex 'overlay=x=10:y=H-h-10,overlay=x=W-w-10:y=H-h-10'
> output.mkv

I'm doing that with the current version of libav (11), and the online
documentation refers to master, maybe you are using the new syntax on
the old version.


More information about the libav-tools mailing list