updated to ffmpeg 0.5.0