Using FFMPEG to watermark your videos (on Mac OS X)

Installing ffmpeg

  1. Install Homebrew
  2. In Terminal type
    $ brew install ffmpeg - Script to add watermark to video

Download from gist 

Setup - folder structure

The script and watermark image should be in the root folder. The videos are in sub-folders (only one level deep) under the root folder. The script converts videos one folder at a time. Then folders get renamed with a tilde "~" prepended to each folder name.

How to Run

  • Grant executable permissions on the script
    $ chmod 700
  • Run like so
    $ ./


  • ffmpeg maxes out the CPU which is why it sleeps after each run
  • The variable dbox is where the watermarked videos go. They go to a Dropbox folder in my example.