Wrapper to control mplayer with c++