[FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter

Soft Works softworkz at hotmail.com
Thu Nov 18 23:55:32 EET 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Fei
> Wang
> Sent: Tuesday, June 30, 2020 5:58 AM
> To: ffmpeg-devel at ffmpeg.org
> Cc: Xinpeng Sun <xinpeng.sun at intel.com>; Zachary Zhou
> <zachary.zhou at intel.com>; Fei Wang <fei.w.wang at intel.com>
> Subject: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter
> 
> From: Xinpeng Sun <xinpeng.sun at intel.com>
> 
> Overlay one video on the top of another.
> 
> It takes two inputs and has one output. The first input is the "main"
> video on
> which the second input is overlaid. This filter requires same memory
> layout for
> all the inputs.
> 
> An example command to use this filter to overlay an image LOGO at the
> top-left
> corner of the INPUT video and both inputs are h264 file:
> 
> ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 \
> -hwaccel_output_format vaapi -i INPUT.h264 -hwaccel vaapi \
> -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i \
> LOGO.h264 -filter_complex
> "[0:v][1:v]overlay_vaapi=w=50:h=50:alpha=0.5" \
> -c:v h264_vaapi -y OUTPUT.h264
> 
> Signed-off-by: Xinpeng Sun <xinpeng.sun at intel.com>
> Signed-off-by: Zachary Zhou <zachary.zhou at intel.com>
> Signed-off-by: Fei Wang <fei.w.wang at intel.com>
> ---


Does anybody know why this filter hasn't been merged?
I always thought it would have been included for quite a while.

Is there any problem with it?

Thanks,
softworkz


More information about the ffmpeg-devel mailing list