How to compress a folder of .mov files

Made a bunch of .movs using quicktime’s screen recording but they’re a bit big? ffmpeg’s default settings when converting to mp4 is a quick win

for i in *.mov; do ffmpeg -i $i $i.mp4; done

Name them alphabetically and you can merge them all together:

ffmpeg -f concat -i <(printf "file '$PWD/%s'\n" ./*.mp4) -c copy merged.mp4

Generating a CMYK file for printing

So you want to print something (like a banner) but the printers have asked for it to be int the CMYK colorspace? Well we could argue about how to spell colour or whether CMYK is a colorspace at all. But I can’t be bothered, let’s just cut and paste this command which is what I came up with after a morning of hacking…

convert -resize 9520 -density 300 rgb_input.pdf +profile icm -profile sRGB_IEC61966-2-1_black_scaled.icc -profile SWOP2006_Coated3v2.icc -quality 85 cmyk_output.jpeg

Importantly, rgb_input.pdf was exported with scribus using the output mode for screen.

Here are some dependencies for you macboy:

brew install ghostscript
brew install imagemagick --with-little-cms
brew cask install xquartz
brew cask install inkscape
brew cask install scribus

You’ll find ICC profiles here.

Yes, this is another blog just for my personal notes ;)

UPDATE for users:

Moo suggest you upload media with the ‘Coated FOGRA39′ ICC profile. You can find it in this zip file here. Moo also have some suggested resolutions for uploaded media although I just multiplied those up a bit to make sure the quality was extra high just in case.

convert -resize 6192 -density 600 rgb_input.pdf +profile icm -profile sRGB_v4_ICC_preference.icc -profile CoatedFOGRA39.icc -quality 85 cmyk_output.jpeg

BONUS! : If this blog post was useful to you, here’s my referral link which will bag you £10 off your first order ;)