change mencoder to ffmpeg , not finished this process.