Created a config file, added more logging
Grr, my strings have single quotes! Also, locking to prevent more than
one instance of ffmpeg at a time.