mirror of
https://github.com/vondas-network/videobeaux.git
synced 2025-12-20 14:50:02 +01:00
11 lines
302 B
Python
11 lines
302 B
Python
from utils.ffmpeg_operations import run_ffmpeg_command
|
|
|
|
def convert_video(input_file, output_file, format):
|
|
command = [
|
|
"ffmpeg",
|
|
"-i", input_file,
|
|
output_file
|
|
]
|
|
run_ffmpeg_command(command)
|
|
print(f"Video converted to {format} format and saved as {output_file}")
|