added support for non-mp3 files if we are using ffmpeg