videoQuota: Add usage

prenix
Geoffrey Frogeye 2023-03-18 14:55:54 +01:00
parent 59181b2772
commit dc6399dc36
Signed by: geoffrey
GPG Key ID: C72403E7F82E6AD8
1 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,13 @@
#!/usr/bin/env python3
# Compress a video to make it fit under a certain size.
# Usage: videoQuota SIZE SRC DST
# SIZE: destination video size in bytes
# SRC: source video file
# DST: destination video file
# Example: videoQuota 20971520 source.mov dest.mp4
# To make a ~20 MiB MP4 of a MOV video
import sys
import subprocess
import logging