Shell
for f in *.mp4; do
orig_size=$(du -m "$orig" | cut -f1)
conv_size=$(du -m "$conv" | cut -f1)
saved=$((orig_size - conv_size))
printf "%-40s %12d %12d %12d\n" "$f" ...
doneVideo size compare
compare_sizes.sh · Shell
Video size compare
Prints a table of original vs 720p MP4 sizes and how many megabytes each transcode saved.
Part of the utils collection on GitHub.