videoQuota: Add usage

This commit is contained in:
Geoffrey Frogeye 2023-03-18 14:55:54 +01:00
parent 59181b2772
commit dc6399dc36
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -1,5 +1,13 @@
#!/usr/bin/env python3 #!/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 sys
import subprocess import subprocess
import logging import logging