Fixed Rakefile and updated ffmpeg
Added maxbuffer logic