Encoder script and video playback test script