mirror of
https://github.com/vondas-network/videobeaux.git
synced 2026-01-17 20:31:09 +01:00
14 lines
404 B
Python
14 lines
404 B
Python
from utils.ffmpeg_operations import run_ffmpeg_command
|
|
|
|
def rb_blur(input_file, output_file):
|
|
command = [
|
|
"ffmpeg",
|
|
"-i", input_file,
|
|
"-filter_complex", "[0:v]gradfun=strength=64:radius=5[out_v]",
|
|
"-map", "[out_v]",
|
|
# "-map", "0:a",
|
|
output_file
|
|
]
|
|
run_ffmpeg_command(command)
|
|
print(f"Video processed with rb_blur and file is {output_file}")
|