mirror of
https://github.com/vondas-network/videobeaux.git
synced 2025-12-20 06:40:02 +01:00
14 lines
524 B
Python
14 lines
524 B
Python
from utils.ffmpeg_operations import run_ffmpeg_command
|
|
|
|
def overexposed_stutter(input_file, output_file):
|
|
command = [
|
|
"ffmpeg",
|
|
"-y",
|
|
"-i", input_file,
|
|
"-filter_complex", "[0:v]tblend=c0_mode=or:c1_mode=freeze:c2_mode=negation:c3_mode=geometric:all_mode=vividlight,random=frames=132,lagfun[out_v]",
|
|
"-map", "[out_v]",
|
|
"-map", "0:a",
|
|
output_file
|
|
]
|
|
run_ffmpeg_command(command)
|
|
print(f"Video processed with overexposed_stutter and file is {output_file}") |