Is this failure to download a radio programme somethiung I can fix?
Jeremy Nicoll - ml get_iplayer
jn.ml.gti.91 at wingsandbeaks.org.uk
Mon Aug 12 15:55:59 EDT 2013
For several days, and on two machines, I've tried to download a Radio Ulster
programme, called "Bad Language", listed as the 09 Aug episode. It seems to
fail to fetch the first stream using RTMPDUMP, then go on to try another
(real time WMA streaming?). That goes wrong in a different way - I see no
network traffic actually taking place (via my NetMeter app) and the command
window I issue the command in never returns to a C prompt, and XP's task
manager says mplayer isn't actually executing.
Other episodes have been fetched without problem. Any ideas?
I use an ooREXX exec (called getrad) to build the overall get_iplayer
command, which in this case was actually:
"C:\StrawberryPerl_V5-16-2-1\perl\bin\perl.exe" "C:\My
Dropbox\CLIpgms\get_iplayer.pl" --type=radio --profiledir "C:\My
Dropbox\JN_GetiPlayerCachesEtc" --output "C:\GiP" --verbose --long
--fatfilename --aactomp3 --no-tag --get "10606"
I've elided some of the following...
C:\>getrad grab "10606"
_Get_iPlayerSvcs: issuing cmd (use @L to edit log if you need to c&p it):
get_iplayer v2.83, Copyright (C) 2008-2010 Phil Lewis
This program comes with ABSOLUTELY NO WARRANTY; for details use
--warranty.
This is free software, and you are welcome to redistribute it under
certain
conditions; use --conditions for details.
INFO: User prefs dir: C:\My Dropbox\JN_GetiPlayerCachesEtc
INFO: System options dir: C:\Documents and Settings\All
Users/get_iplayer/options
Current options:
aactomp3 = 1
atomicparsley = atomicparsley.exe
fatfilename = 1
ffmpeg = ffmpeg.exe
lame = lame.exe
long = 1
mplayer = C:\My Dropbox\Programs--ALL-\~open-source mplayer
V36348\mplayer.exe
notag = 1
output = C:\GiP
profiledir = C:\My Dropbox\JN_GetiPlayerCachesEtc
rtmpdump = rtmpdump.exe
type = radio
verbose = 1
INFO: Search args: '10606'
INFO: Additionally getting cached programme data for radio
INFO: Got 3338 file cache entries for radio
Matches:
10606: Bad Language - 09/08/2013, BBC Radio Scotland, Comedy,Northern
Ireland,Radio,Scotland,
2 days 2 hours ago - Richard Herring, Des Clarke and Keith Farnan do battle
over the English language.
INFO: 1 Matching Programmes
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/b037pm45
INFO: Getting page http://www.bbc.co.uk/programmes/b037pm45.rdf
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b037pm45
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b037pm45
INFO: Using Not Live standard TV and Radio: b037pl4m
INFO: Version: default, VersionPid: b037pl4m, Duration: 1620
INFO: Getting page
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b037pl4m?cb=39267
INFO: Getting page
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b037pl4m/iplayer_intl_strea
m_mp3/akamai?cb=14133
INFO: Found mode flashaudio1: (iplayer_intl_stream_mp3) rtmp mp3 128kbps
stream (CDN: akamai/10
)
INFO: Found mode rtspaudio1: (iplayer_intl_stream_mp3) rtmp mp3 128kbps
stream (CDN: akamai/10)
INFO: Found mode wma1: (iplayer_intl_stream_wma) mms wma9 128kbps stream
(CDN: asx/10)
INFO: Getting page http://www.bbc.co.uk/programmes/b037pl4m.rdf
INFO: Programme not in history
INFO: Will search for versions: default
INFO: Mode list: flashaachigh,flashaacstd,flashaudio,flashaaclow,wma
INFO: Checking existence of default version
INFO: Version = default
INFO: flashaudio1,wma1 modes will be tried for version default
INFO: Trying flashaudio1 mode to record radio: Bad Language - 09/08/2013
INFO: Attempt number: 1 / 50
INFO: File name prefix = Bad_Language_-_09_08_2013_b037pm45_default
INFO: rtmpdump.exe version 2.4
INFO: RTMP_URL:
rtmp://cp60736.edgefcs.net:1935/ondemand?_fcs_vhost=cp60736.edgefcs.net&undefin
ed&auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-BopEJqzqJCsEnzL&aifp=v001&slist=secure/r
adiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12, tcUrl:
rtmp://cp60736.edgefcs.net:80/ondemand?
_fcs_vhost=cp60736.edgefcs.net&undefined&auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-Bo
pEJqzqJCsEnzL&aifp=v001&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12,
applicat
ion:
ondemand?_fcs_vhost=cp60736.edgefcs.net&undefined&auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr
-bscsqy-bWG-BopEJqzqJCsEnzL&aifp=v001&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_0
5_12, authString:
auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-BopEJqzqJCsEnzL&aifp=v001
&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12, swfUrl:
http://www.bbc.co.uk/em
p/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf, file:
C:\GiP\Bad_Language
_-_09_08_2013_b037pm45_default.partial.mp3, file_done:
C:\GiP\Bad_Language_-_09_08_2013_b037pm4
5_default.mp3
INFO: Command: "rtmpdump.exe" "--port" "1935" "--protocol" "0" "--playpath"
"mp3:secure/radiofo
yle/RBN2_bad_b037pl4m_2013_08_10_12_05_12?auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-B
opEJqzqJCsEnzL&aifp=v001&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12"
"--host
" "cp60736.edgefcs.net" "--swfVfy"
"http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_
618125_4/617463_618125_4_emp.swf" "--tcUrl"
"rtmp://cp60736.edgefcs.net:80/ondemand?_fcs_vhost=
cp60736.edgefcs.net&undefined&auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-BopEJqzqJCsEn
zL&aifp=v001&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12"
"--app" "ondemand?_
fcs_vhost=cp60736.edgefcs.net&undefined&auth=daEdkb2bjdHdIbJaYdXbLaHbvafaXdKdVbr-bscsqy-bWG-Bop
EJqzqJCsEnzL&aifp=v001&slist=secure/radiofoyle/RBN2_bad_b037pl4m_2013_08_10_12_05_12"
"--pageUr
l" "http://www.bbc.co.uk/iplayer/episode/b037pm45/Bad_Language_09_08_2013/"
"--resume" "-o" "C:
\GiP\Bad_Language_-_09_08_2013_b037pm45_default.partial.mp3.flv" "--timeout"
"10" "--verbose"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
...
...
which eventually ends with
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
ERROR: Closing connection: NetStream.Play.StreamNotFound
DEBUG: Closing connection.
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file
C:\GiP\Bad_Language_-_09_08_2013_b037pm45_default.partial.mp3.fl
v via RTMP
DEBUG: Record using flashaudio1 mode return code: 'next'
INFO: skipping flashaudio1 mode
INFO: Trying wma1 mode to record radio: Bad Language - 09/08/2013
INFO: Attempt number: 1 / 3
INFO: File name prefix = Bad_Language_-_09_08_2013_b037pm45_default
INFO: MMS_URLs:
http://open.live.bbc.co.uk/mediaselector/4/asx/b037pl4m/iplayer_intl_stream_wma
, file: C:\GiP\Bad_Language_-_09_08_2013_b037pm45_default.partial.wma,
file_done: C:\GiP\Bad_La
nguage_-_09_08_2013_b037pm45_default.wma
INFO: Getting page
http://open.live.bbc.co.uk/mediaselector/4/asx/b037pl4m/iplayer_intl_stream_
wma
INFO: Command: "C:\My Dropbox\Programs--ALL-\~open-source mplayer
V36348\mplayer.exe" -nolirc -
dumpstream "mms://wm.bbc.co.uk/wms/northernireland/radioulster/bad.wma"
-dumpfile "C:\GiP/Bad_Language_-_09_08_2013_b037pm45_default_part01.wma"
2>&1
INFO: Streaming to file
C:\GiP/Bad_Language_-_09_08_2013_b037pm45_default_part01.wma
mplayer(?) does put a initial progress line into the command window, saying
Threads: 1) 0.000MB recorded (0kbps)
but it never gets updated.
The output file:
C:\GiPBad_Language_-_09_08_2013_b037pm45_default_part01.wma
ends up with three lines of plain text inside it saying:
[Reference]
Ref1=http://wm.bbc.co.uk/wms/northernireland/radioulster/bad.wma?MSWMExt=.asf
Ref2=http://212.58.251.77:80/wms/northernireland/radioulster/bad.wma?MSWMExt=.asf
Is that normal?
I did try issuing the command that my ooREXX exec creates directly in a
command window, but pretty much the same thing happened - the ouput ended
with:
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file
C:\GiP\Bad_Language_-_09_08_2013_b037pm45_default.partial.mp3.flv via RTMP
DEBUG: Record using flashaudio1 mode return code: 'next'
INFO: skipping flashaudio1 mode
INFO: Trying wma1 mode to record radio: Bad Language - 09/08/2013
INFO: Attempt number: 1 / 3
INFO: File name prefix = Bad_Language_-_09_08_2013_b037pm45_default
INFO: MMS_URLs:
http://open.live.bbc.co.uk/mediaselector/4/asx/b037pl4m/iplayer_intl_stream_wma,
file: C:\GiP\Bad_Language_-_09_08_2013_b037pm45_default.partial.wma,
file_done: C:\
GiP\Bad_Language_-_09_08_2013_b037pm45_default.wma
INFO: Getting page
http://open.live.bbc.co.uk/mediaselector/4/asx/b037pl4m/iplayer_intl_stream_wma
INFO: Command: "C:\My Dropbox\Programs--ALL-\~open-source mplayer
V36348\mplayer.exe" -nolirc -dumpstream
"mms://wm.bbc.co.uk/wms/northernireland/radioulster/bad.wma" -dumpfile "C:
\GiP/Bad_Language_-_09_08_2013_b037pm45_default_part01.wma" 2>&1
INFO: Streaming to file
C:\GiP/Bad_Language_-_09_08_2013_b037pm45_default_part01.wma
INFO: Streaming thread has completed for file
C:\GiP/Bad_Language_-_09_08_2013_b037pm45_default_part01.wma
Threads: 1) 0.000MB recorded (0kbps)
and mplayer.exe isn't actually running and the .wma file has plain text in
it again..
--
Jeremy Nicoll - my opinions are my own.
More information about the get_iplayer
mailing list