LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How To Stream BBC radio1 with MPlayer? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-stream-bbc-radio1-with-mplayer-631411/)

LinuxNewbie999 03-28-2008 11:41 PM

How To Stream BBC radio1 with MPlayer?
 
I read the man of Mplayer but i don't understand how to stream the BBC radio1 [URL="http://www.bbc.co.uk/radio/aod/radio1.shtml"]. ^^ Please teach me how.

Bruce Hill 03-29-2008 12:46 AM

It doesn't look like you have the link correct, but otherwise, this is it:
Code:

mplayer -playlist http://www.bbc.co.uk/radio/aod/radio1.shtml -ao pcm:file=show.wav -vc null -vo null

LinuxNewbie999 03-29-2008 08:18 AM

:(
 
It doesn't work for me.
Code:

mplayer -playlist http://www.bbc.co.uk/radio/aod/radio1.shtml -ao pcm:file=show.wav -vc null -vo null
MPlayer 2:1.0~rc1-0ubuntu13.2 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU          T2050  @ 1.60GHz (Family: 6, Model: 14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Resolving  for AF_INET6...
Couldn't resolve name for AF_INET6:
Resolving  for AF_INET...
Couldn't resolve name for AF_INET:
STREAM_ASF, URL: http://www.bbc.co.uk/radio/aod/radio1.shtml
Resolving  for AF_INET6...
Couldn't resolve name for AF_INET6:
Resolving  for AF_INET...
Couldn't resolve name for AF_INET:
Failed, exiting.
Resolving  for AF_INET6...
Couldn't resolve name for AF_INET6:
Resolving  for AF_INET...
Couldn't resolve name for AF_INET:
File not found: 'www.bbc.co.uk/radio/aod/radio1.shtml'
Failed to open http://www.bbc.co.uk/radio/aod/radio1.shtml.
Error while opening playlist file http://www.bbc.co.uk/radio/aod/radio1.shtml: No such file or directory
Error parsing option on the command line: -playlist


pwc101 03-29-2008 08:24 AM

Code:

mplayer http://www.bbc.co.uk/radio1/realaudio/media/r1live.ram
worked for me.

Bruce Hill 03-29-2008 08:25 AM

The difference is pwc101 has the correct link to the ram file. :D

You just had a web page -> http://www.bbc.co.uk/radio/aod/radio1.shtml

LinuxNewbie999 03-29-2008 09:21 AM

haha,,, i see:)


All times are GMT -5. The time now is 07:46 PM.