mirror of
https://github.com/vondas-network/videobeaux.git
synced 2025-12-16 12:50:02 +01:00
13 lines
353 B
Python
13 lines
353 B
Python
from utils.ffmpeg_operations import run_ffmpeg_command
|
|
|
|
def reverse(input_file, output_file):
|
|
command = [
|
|
"ffmpeg",
|
|
"-y",
|
|
"-i", input_file,
|
|
"-vf", "reverse",
|
|
"-af", "areverse",
|
|
output_file
|
|
]
|
|
run_ffmpeg_command(command)
|
|
print(f"Video reversed and saved as {output_file} from {input_file}") |