thanks belcampo, any one is familiar with mplayer source code ? how to find a suitable point that know cache is left little(for example < 5%),and when cache is large (> 80%),maybe a debug info is OK,how to find this?