Reimar D?ffinger wrote: > On Tue, Jan 26, 2010 at 04:20:04PM +0800, Kermit Mei wrote: > >> Reimar D?ffinger wrote: >> >>> On Wed, Jan 13, 2010 at 08:44:57PM -0700, Kermit Mei wrote: >>> >>>> Dear all, I use mplayer play a stream media like this: >>>> >>>> mplayer -slave -quiet -af resample=44100,volume=-12 -softvol >>>> -softvol-max 100 http://www.chinesemusicworld.com:8202 >>>> >>>> But it always lost link after playing 3 minute left or right. Also, if I >>>> use mplayer play it directly, it always can't play more than 5 minite. >>>> mplayer http://www.chinesemusicworld.com:8202 >>>> >>> Tried different values for -cache and -cache-min? >>> >> Yes, I had tried the different values for -cache and -cache-min, for >> example, >> "-cache 1024 -cache-min 50" and so on. >> But it also lost link after playing about three minutes. >> > > With > cache=81920 > cache-min=0.5 > it played over half an hour for me (I didn't try any other values). But it is playing just 1 minute left or right for me: $ mplayer cache=81920 cache-min=0.5 http://www.chinesemusicworld.com:8202MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 8) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing cache=81920. File not found: 'cache=81920' Failed to open cache=81920. Playing cache-min=0.5. File not found: 'cache-min=0.5' Failed to open cache-min=0.5. Playing http://www.chinesemusicworld.com:8202. Resolving www.chinesemusicworld.com for AF_INET6... Couldn't resolve name for AF_INET6: www.chinesemusicworld.com Resolving www.chinesemusicworld.com for AF_INET... Connecting to server www.chinesemusicworld.com[72.9.152.74]: 8202... Name : Chinese Classical Music Genre : Classical Website: http://www.chinesemusicworld.com Public : yes Bitrate: 64kbit/s Cache size set to 320 KBytes Cache fill: 5.00% (16384 bytes) ICY Info: StreamTitle='dz-bzt';StreamUrl='http://www.chinesemusicworld.com'; Cache fill: 17.50% (57344 bytes) Audio file file format detected. ========================================================================== Forced audio codec: mad Opening audio decoder: [libmad] libmad mpeg audio decoder AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200) Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3) ========================================================================== AO: [pulse] Failed to connect to server: Connection refused AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... Cannot sync MAD frame.0 (unknown) 5.9% 0% Cannot sync MAD frame Cannot sync MAD frame Cannot sync MAD frame.0 (unknown) 5.8% 0% A: 55.8 (55.8) of -0.0 (unknown) 5.8% 0% Exiting... (End of file) $ Thanks B.R Kermit