summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 7194375..2d30e7d 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -392,7 +392,7 @@ if [ -n "$_pixels" ] && [ $_pixels -ge $((1024*768)) ]; then
fi
# compute average bitrate from reference data and "power of .75" rule
-if [ -z "$no_bitrate" ] && [ -n "$_pixels" ] && [ -n "$_frames" ]; then
+if [ -n "$_pixels" ] && [ -n "$_frames" ]; then
bitrate_h264=$(perl -E '$refsize=640*360;' \
-E "say int( +(($_pixels/\$refsize)**0.75*\$refsize*$_frames*$refbpp) )")
bitrate_theora=$bitrate_h264 # FIXME