[MPlayer-users] GUI versus command prompt for internet radio

Thufir hawat.thufir at gmail.com
Mon Dec 3 09:33:26 CET 2007


I found an interesting tutorial, <http://grimthing.com/
archives/2004/05/20/recording-streaming-audio-with-mplayer/>, but it 
doesn't quite address what I want, which is to double click on either 
"playlist.pls" or "playlist.txt", open with mplayer, and simply listen to 
the internet radio station.

Can I change mplayer so that it will correctly play the example file, 
which was renamed from standup.pls, by double-clicking on it?



The following works:

thufir at arrakis ~/Desktop $ 
thufir at arrakis ~/Desktop $ 
thufir at arrakis ~/Desktop $ cat standup.txt
[playlist]
numberofentries=1
File1=http://71.164.88.247:8010
Title1=(#1 - 111/175) Comedy Pipe (DEFCON) - 300+ hours of the Best 
Stand Up Comedy
Length1=-1
Version=2
thufir at arrakis ~/Desktop $ 
thufir at arrakis ~/Desktop $ mplayer -playlist standup.txt
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) CPU 2.13GHz (Family: 15, Model: 4, Stepping: 9)
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Unknown entry type Version=2

Playing http://71.164.88.247:8010.
Connecting to server 71.164.88.247[71.164.88.247]: 8010...
Name   : Comedy Pipe (DEFCON) - 300+ hours of the Best Stand Up Comedy
Genre  : Various,comedy,talk,news
Website: http://www.comedypipe.com
Public : yes
Bitrate: 32kbit/s
Cache size set to 320 KBytes
Cache fill:  2.50% (8192 bytes)   
ICY Info: StreamTitle='Richard Jeni - Greatist 
Bits';StreamUrl='http://www.comedypipe.com';
Cache fill: 17.50% (57344 bytes)   
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 973 bits!
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 497 bits!
A:   9.0 (08.9) of 0.0 (unknown)  0.3% 71% 

MPlayer interrupted by signal 2 in module: enable_cache


MPlayer interrupted by signal 2 in module: play_audio
thufir at arrakis ~/Desktop $ 
thufir at arrakis ~/Desktop $ cat /etc/gentoo-release 
Gentoo Base System release 1.12.9
thufir at arrakis ~/Desktop $ 
thufir at arrakis ~/Desktop $ date
Sun Dec  2 23:50:47 PST 2007
thufir at arrakis ~/Desktop $ 




thanks,

Thufir




More information about the MPlayer-users mailing list