+
+
Cover head switching noise
+
ffmpeg -i input_file -filter:v drawbox=w=iw:h=7:y=ih-h:t=max output_file
+
This command will draw a black box over a small area of the bottom of the frame, which can be used to cover up head switching noise.
+
+ - ffmpeg
- starts the command
+ - -i input_file
- path, name and extension of the input file
+ - -filter:v drawbox=
+ - This calls the drawtext filter with the following options:
+
+ - w=in_w
- Width is set to the input width. Shorthand for this command would be w=iw
+ - h=7
- Height is set to 7 pixels.
+ - y=ih-h
- Y represents the offset, and ih-h sets it to the input height minus the height declared in the previous parameter, setting the box at the bottom of the frame.
+ - t=max
- T represents the thickness of the drawn box. Default is 3.
+
+
+ - output_file
- path and name of the output file
+
+
+
+