diff --git a/h264 b/h264 index 68b1ec4..4f08b80 100755 --- a/h264 +++ b/h264 @@ -8,7 +8,6 @@ Usage: $0 [OPTIONS...] SRC [SRC...] Re-encodes to h.264. Output will be written to \$SRC.h264.mp4 - -width W Rescale to no wider than W -height H Rescale to no taller than H -1080p Rescale to no bigger than 1080p -720p Rescale to no bigger than 720p @@ -21,34 +20,26 @@ This is due to some odd interaction between ffmpeg, h264_v4l2m2m, and mp4. EOD -width=iw height=ih codec=h264_v4l2m2m bitrate="-b:v 2048k" while true; do case "$1" in - -width|--width) - width=$1 - shift - ;; -height|--height) height=$1 shift ;; -1080p|--1080p) - width=1920 height=1080 bitrate="-b:v 2048k" shift ;; -720p|--720p) - width=1280 height=720 bitrate="-b:v 3000k" shift ;; -480p|--480p) - width=640 height=480 bitrate="-b:v 512k" shift