add ffencoder lib, implements record game to mp4 video file.