added framerate info into encoder