diff options
-rwxr-xr-x | localvideowebencode | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index e31ae33..30da59f 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -134,7 +134,7 @@ while true ; do -r|--rate) framerate="$2"; shift 2;; --video) video="$2"; shift 2;; --refbpp) refbpp="$2"; shift 2;; - -b|--bitrate) bitrate_fixed="$2"; shift 2;; + -b|--bitrate) bitrate="$2"; bitrate_fixed=yes; shift 2;; --formats) formats="$2"; shift 2;; --h264profile) h264profile="$2"; shift 2;; --h264preset) h264preset="$2"; shift 2;; @@ -304,7 +304,6 @@ if [ -n "$_pixels" ] && [ $_pixels -ge $((1024*768)) ]; then fi fi -bitrate="$bitrate_fixed" # compute average bitrate from reference data and "power of .75" rule if [ -z "$bitrate" ] && [ -n "$_pixels" ] && [ -n "$_frames" ]; then bitrate=$(perl -E '$refsize=640*360;' \ |