rewriting to take advantage of vlc instead of mplayer