#!/usr/bin/env python3 # Compresses video using FFMPEG using # FFMPEG's reasonable default settings import os import subprocess import sys files = sys.argv[1:] remove = False if "-r" in files: files.remove("-r") remove = True for f in files: print(os.path.splitext(f))