by machare » 07 Mar 2010 23:09
I have started two terminal windows on my Ubuntu 9.04 PC.
In one Window I run get_iplayer and set it to listen. In the other window I run mplayer and tell it to stream from get_iplayer.
When I do this the two programs clearly communicate but there is a failure and no sound.
The displays from the two terminals are shown below. Is there anything that can be done to make this work?
************************************************************************************************
************************************************************************************************
get_iplayer version 2.73 Terminal Window - Playing to mplayer
************************************************************************************************
************************************************************************************************
mike@Ubuntu:~$ get_iplayer.cgi -p 1935 -g /usr/bin/get_iplayer -l 10.0.0.25
INFO: Command: /usr/bin/get_iplayer --nopurge --nocopyright --listplugins
INFO: Listening on 10.0.0.25:1935
WARNING: Insecure Remote access is allowed, use --listen=127.0.0.1 to limit to this host only
GET: /
QUERY_STRING = ACTION=stream&PROGTYPES=liveradio&PID=bbc_radio_one&MODES=flashaac&OUTTYPE=mp3
HEADERS:
Connection: close
Content-Type: audio/mpeg
INFO: Start Streaming bbc_radio_one to browser using modes 'flashaac', output ext '', audio bitrate '', video size '', video fram rate ''
DEBUG: get_iplayer options: "nopurge=1" "modes=flashaac" "stream=1" "pid=bbc_radio_one" "type=liveradio"
INFO: Command: /usr/bin/get_iplayer --nocopyright --hash --expiry=999999999 --webrequest nopurge%3D1?modes%3Dflashaac?stream%3D1?pid%3Dbbc_radio_one?type%3Dliveradio
DEBUG: Forked STDOUT reader with PID 21101
DEBUG: Forked STDERR reader with PID 21102
INFO Trying to stream pid using type liveradio
INFO: pid found in cache
Matches:
80132: BBC Radio 1 - live
INFO: 1 Matching Programmes
INFO: Checking existence of default version
INFO: flashaacstd1,flashaaclow1 modes will be tried for version default
INFO: Trying flashaacstd1 mode to record liveradio: BBC Radio 1 - live
INFO: File name prefix = BBC_Radio_1_live_2010-03-07_223926
FLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting Live Stream
Metadata:
audiocodecid mp4a
audiodatarate 128.00
createdby BBC
canseektoend FALSE
#####################################################################
INFO: 21101 Cleaning up (signal = PIPE), killing cmd PID=21100:
INFO: 21101 killing cmd PID=21100 with SIGINT
INFO: Cleaning up (signal = INT), killing PID=21105:.
Caught signal: 2, cleaning up, just a second...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Download may be incomplete (downloaded about 0.00%), try resuming
..INFO: 21101 killing cmd PID=21100 with SIGPIPE
INFO: Cleaning up (signal = PIPE), killing PID=21105:...INFO: 21101 killing cmd PID=21100 with SIGTERM
INFO: Cleaning up (signal = TERM), killing PID=21105:...INFO: 21101 killing cmd PID=21100 with SIGKILL
INFO: 21101 killed cmd PID=21100
INFO: Finished Streaming bbc_radio_one to browser
************************************************************************************************
************************************************************************************************
mplayer Terminal Window
************************************************************************************************
************************************************************************************************
mike@Ubuntu:~$ mplayer -cache 512 "http://10.0.0.25:1935/?ACTION=stream&PROGTYPES=liveradio&PID=bbc_radio_one&MODES=flashaac&OUTTYPE=mp3"
MPlayer SVN-r30856-4.3.3 (C) 2000-2010 MPlayer Team
Playing http://10.0.0.25:1935/?ACTION=stream&PR ... UTTYPE=mp3.
Resolving 10.0.0.25 for AF_INET6...
Couldn't resolve name for AF_INET6: 10.0.0.25
Connecting to server 10.0.0.25[10.0.0.25]: 1935...
Cache size set to 512 KBytes
Cache fill: 18.75% (98304 bytes)
Exiting... (End of file)
mike@Ubuntu:~$