Updated to support ffmpeg libraries in main project rather than as a submodule