compress-mov.sh

1 min read Original article ↗

Do you use a Canon DSLR to take 1080p video and use OS X?

The size of the produced video files are huge (around 350MB/min)!

Run this script to compress all those videos up to 4.5x smaller in size without any visible quality loss!
For example, a video of length 8:27 is 2.98GB. After compression the file is 655MB!

Requires OSX

bash compress-mov.sh *.MOV

Also requires Xcode in order to preserve created/modified dates.
If you don't want to install Xcode, comment out lines 4 and 6. However, your videos will be dated today.