[FFmpeg-devel] [PATCH] avfilter: add xstack filter

Gyan gyandoshi at gmail.com
Thu Nov 1 09:48:04 EET 2018


On Thu, Oct 25, 2018 at 12:35 AM Paul B Mahol <onemda at gmail.com> wrote:

>
> +        if (s->is_horizontal || s->is_vertical) {
> +            if ((ret = av_image_fill_linesizes(linesize, inlink->format,
> inlink->w)) < 0) {
> +                av_frame_free(&out);
> +                return ret;
> +            }
>

 Nice filter. One unfortunate side-effect is that unused parts of the
canvas are zero-ed which in YUV formats is a shade of dark green. Users
will generally want black. Would be nice to add a color option which fills
the canvas before av_image_copy_plane.

Gyan


More information about the ffmpeg-devel mailing list