This code is based on mpeg_play, available from: http://bmrc.berkeley.edu/frame/research/mpeg/