Files
videobeaux/programs/convert.py
Agamemnon Juunes 2f30c6c18b initial commit
2024-06-19 12:44:55 -04:00

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}")