attempted ffmpeg support for mac and linux