[FFmpeg-user] Replace part of video with series of images

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Jan 31 01:58:20 EET 2018


2018-01-31 0:51 GMT+01:00 Joshua Grauman <jnfo-c at grauman.com>:

> replace
> Applicable if the input has alpha. With value 1, the pixels of the painted
> box will overwrite the video’s color and alpha pixels. Default is 0, which
> composites the box onto the input, leaving the video’s alpha intact.
>
> This is exactly what I need. But I can't get it to work. Whenever I do a
> command with it, I get:
>
> "[Parsed_drawbox_0 @ 0x564929e46aa0] Option 'replace' not found
> [AVFilterGraph @ 0x564929e44bc0] Error initializing filter 'drawbox' with
> args 'enable=between(t,2,3):color=0x000000FF:t=999:replace=1'"
>
> I tried to upgrade my ffmpeg to the latest version. I have ffmpeg version
> 3.4.1-1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg developers

Which is too old for "replace".

Please don't forget to always test current FFmpeg git head before
requesting help here.

And please avoid top-posting here, Carl Eugen


More information about the ffmpeg-user mailing list