[MediaPlayer] add API to export video frames (#983)