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 watermarkos.sh
- 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.