Fixes for OSX ffmpeg macports installation
Fixes for latest ffmpeg depreciated methods and constants