Have tried all to get a stream playing here: > mplayer http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team > [...] > Connecting to server gisv3.tv-radio.com[91.197.165.1]: 80... > connect error: Connection refused > No stream found to handle url http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > > Exiting... (End of file) Though that's normal, we have a proxy. I did my homework and found the proxy settings for mplayer (somewhat non-standard, nevermind): > $ mplayer http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team > 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 http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u. > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Resolving gisv3.tv-radio.com for AF_INET6... > Couldn't resolve name for AF_INET6: gisv3.tv-radio.com > Resolving gisv3.tv-radio.com for AF_INET... > Connecting to server gisv3.tv-radio.com[91.197.164.1]: 80... > connect error: Connection refused > STREAM_ASF, URL: http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Server returned 400:Bad Request > Failed to parse header. > Failed, exiting. > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Resolving gisv3.tv-radio.com for AF_INET6... > Couldn't resolve name for AF_INET6: gisv3.tv-radio.com > Resolving gisv3.tv-radio.com for AF_INET... > Connecting to server gisv3.tv-radio.com[91.197.165.1]: 80... > connect error: Connection refused > No stream found to handle url http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > > Exiting... (End of file) What is wrong here, since the proxy works (see below)? In principle, I should use a playlist: > $ mplayer -playlist http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Resolving gisv3.tv-radio.com for AF_INET6... > Couldn't resolve name for AF_INET6: gisv3.tv-radio.com > Resolving gisv3.tv-radio.com for AF_INET... > Connecting to server gisv3.tv-radio.com[91.197.164.1]: 80... > connect error: Connection refused > STREAM_ASF, URL: http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Server returned 400:Bad Request > Failed to parse header. > Failed, exiting. > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Resolving gisv3.tv-radio.com for AF_INET6... > Couldn't resolve name for AF_INET6: gisv3.tv-radio.com > Resolving gisv3.tv-radio.com for AF_INET... > Connecting to server gisv3.tv-radio.com[91.197.165.1]: 80... > connect error: Connection refused > No stream found to handle url http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u > Error while opening playlist file http_proxy://localhost:3128/http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u: Operation now in progress > Error parsing option on the command line: -playlist > MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team Does playlist not work with proxy? So what I had to do was $ wget http://www.tv-radio.com/station/france_musique_mp3/france_musique_mp3-32k.m3u $ cat france_musique_mp3-32k.m3u #EXTM3U #EXTINF:france_musique_mp3 http://mp3.live.tv-radio.com/francemusique/all/francemusique-32k.mp3 $ Luckily, the playlist is just the file!: And voil?, there it works, including the proxy: > $ mplayer http_proxy://localhost:3128/http://mp3.live.tv-radio.com/francemusique/all/francemusique-32k.mp3 > MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team > 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 http_proxy://localhost:3128/http://mp3.live.tv-radio.com/francemusique/all/francemusique-32k.mp3. > Resolving localhost for AF_INET6... > Connecting to server localhost[0.0.0.0]: 3128... > connect error: Connection refused > Resolving localhost for AF_INET... > Connecting to server localhost[127.0.0.1]: 3128... > Name : France Musique Bas-d?bit > Website: http://www.radiofrance.fr/francemusique/ > Public : no > Bitrate: 32kbit/s > Cache size set to 320 KBytes > Cache fill: 0.00% (0 bytes) > ICY Info: StreamTitle='';StreamUrl=''; > Cache fill: 17.50% (57344 bytes) > Audio only file format detected. > ========================================================================== > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 > mpg123: Can't rewind stream by 326 bits! > AUDIO: 24000 Hz, 2 ch, s16le, 32.0 kbit/4.17% (ratio: 4000->96000) > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) > ========================================================================== > AO: [pulse] Init failed: Connection refused > Failed to initialize audio driver 'pulse' > AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) > Video: no video > Starting playback... > mpg123: Can't rewind stream by 355 bits! > A: 44.8 (44.8) of -0.0 (unknown) 0.9% 9% > ... So, in case I made no mistake, mplayer doesn't open a stream input behind a proxy; neither with nor without playlist. Though once the list (m3u) is disassembled, mplayer does its job very well. I do think, playlists ought to work behind proxies. That's my wishlist for today, Uwe