Skip to content

Commit

Permalink
shrink-video: Add ANY_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed May 8, 2024
1 parent 9fc328c commit 062bb6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/shrink-video
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ else
-crf "$VIDEO_CRF" -acodec aac -b:a 192k "$out"
fi

if (( ANY_SIZE )); then
exit 0
fi

in_sz=$(stat -c%s "$in")
out_sz=$(stat -c%s "$out")
intolerance=1048576
Expand Down

0 comments on commit 062bb6a

Please sign in to comment.