ni_quadra_delogo
The ni_quadra_delogo filter allows you to blur the area you selected as delogo do. You can select the start point and area to blur. ni_quadra_delogo only supports hardware AVFrames as input and output.
The ni_quadra_delogo filter only supports limited color range video (also known as “tv” range). While full-range video (also known as “pc” range) is accepted, the ni_quadra_delogo filter will clamp to limited color range before processing. This will cause a slight color shift in the output video.
Parameters
The following are the ni_quadra_delogo parameters:
x / y
The expressions which specify the top left corner coordinates of the delogo area. It defaults to 0.
w / h
The expressions which specify the width and height of the delogo area;
buffer_limit
Whether to limit the number of output buffers. If enabled, the buffering count of the filter is its buffer pool size(default 4) plus encoding buffering count if its downstream is encoder. It’s enabled by default in FFmpeg-n6.1, FFmpeg-n7.1, FFmpeg 7.1.3, FFmpeg-n8.0.1 and FFmpeg-n8.1.
| Supported Values | Integer 0 and 1. |
| Default | 0 |
The following example shows how to use delogo. The decoder decodes a H.264 input using the h264_ni_quadra_dec, ni_quadra_delogo blurs an area with x=600, y=400, w=300, h=200 and pass it to h265_ni_quadra_enc for encoding. It does not support iw and ih input parameters.
ffmpeg -y -loglevel info -c:v h264_ni_quadra_dec -dec 0 -xcoder-params "out=hw" -i Dinner_1920x1080p30_300.h264 -vf ni_quadra_delogo=600:400:300:200 -c:v h265_ni_quadra_enc –enc 0 delogo.h265