Radio 1 webcam: what's the correct mode now?

Vangelis forthnet northmedia1 at the.forthnet.gr
Sun Mar 3 14:41:03 EST 2013


On Sun Feb 24 18:35:24 GMT 2013, Имя отправителя писем
(= name of the mail sender) wrote:

>Hello all,
>I'm watching the Radio 1 Official Chart video stream on Sundays and
>I've created a shortcut ages ago to start this stream in get_iplayer.
>....
>it worked all the time, and now, today, all of a sudden, all it does is 
>keeps returning:
>INFO: No specified modes 
>(flashhd,flashvhigh,flashhigh,flashstd,flashnormal,flashlow)
>available for this programme with version 'default' (try using --modes=)
>I've checked the playlist url and it's still the same, and the video runs 
>fine on Radio 1 website.
>Any suggestions?

Hello to you, too!
This stream is live at the time of writing and will still be until the end 
of the "Dan & Phil Show"
(21:00 GMT). The streams for the Radio 1 Webcam have changed recently, so 
did the available
qualities; it used to be only 2 streams, the following is from a saved 
mediaselector page:

<media bitrate="480" encoding="h264" height="360" kind="video" 
service="journalism_uk_stream_h264_flv_lo_live" type="video/mp4" 
width="640">
<connection application="live" authExpires="2012-03-05T02:01:47+00:00" 
authString="auth=daEcTaeb_aqc.cyand_cJcyd.cecJaBdBcE-bpvaD5-bWG-GnpEDnCpHDrEqzF&aifp=v001&slist=music_uk_video_8_lo at s54550;music_uk_video_8_med at s54550" 
identifier="music_uk_video_8_lo at s54550" kind="akamai" priority="10" 
protocol="rtmp" server="cp57152.live.edgefcs.net" supplier="akamai"/>
</media>
<media bitrate="800" encoding="h264" height="360" kind="video" 
service="journalism_uk_stream_h264_flv_med_live" type="video/mp4" 
width="640">
<connection application="live" authExpires="2012-03-05T02:01:47+00:00" 
authString="auth=daEcTaeb_aqc.cyand_cJcyd.cecJaBdBcE-bpvaD5-bWG-GnpEDnCpHDrEqzF&aifp=v001&slist=music_uk_video_8_lo at s54550;music_uk_video_8_med at s54550" 
identifier="music_uk_video_8_med at s54550" kind="akamai" priority="10" 
protocol="rtmp" server="cp57152.live.edgefcs.net" supplier="akamai"/>
</media>

As you say, the playlist URL is still the same, but now the "mediator 
identifier"
is "bbc_radio_one_video"; also, they have now switched to mediaselector v5, 
i.e.
http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/transferformat/plain/vpid/bbc_radio_one_video/
This URL is geo-blocked, it produces results only for UK IPs, else you get 
an error id="geolocation".
>From a UK IP, you'll get the available stream qualities; notice that they 
have now also added AdobeHDS streams (i.e.
http protocol), that Get_iPlayer can't intercept - only the rtmp ones. So 
the stream in your browser may well be a HDS one...
 The highest quality rtmp one is the media bitrate="1500":

media bitrate="1500" encoding="h264" height="396" kind="video" 
service="pc_stream_audio_video_simulcast_uk_v_lm_p006" type="video/mp4" 
width="704"><connection application="live" 
authExpires="2013-03-03T20:58:46+00:00" authExpiresOffset="6777" 
authString="auth=daEcbcsdhd2dfbCb8bpccdWcIaedicnbZbV-brm58n-bWG-CptGHqAqKCvFnxH&aifp=v001&slist=bbc_radio_one_video_10 at s84754;bbc_radio_one_video_30 at s84754;bbc_radio_one_video_60 at s84754;bbc_radio_one_video_40 at s84754;bbc_radio_one_video_20 at s84754;bbc_radio_one_video_50 at s84754" 
dpw="50" identifier="bbc_radio_one_video_60 at s84754" priority="10" 
protocol="rtmp" server="cp209412.live.edgefcs.net" 
supplier="akamai"/><connection application="bbcmedia" 
authExpires="2013-03-03T20:45:40+00:00" authExpiresOffset="5991" 
authString="as=adobe-hmac-sha256&av=1&te=connect&mp=s_bbc_radio_one_video_10,s_bbc_radio_one_video_30,s_bbc_radio_one_video_60,s_bbc_radio_one_video_40,s_bbc_radio_one_video_20,s_bbc_radio_one_video_50&et=1362344749&fmta-token=648c53bb3a8f6d8e2844f4e0a0c92d4bf68a8f988be733c9320692f54e69e114" 
identifier="s_bbc_radio_one_video_60" priority="20" protocol="rtmp" 
server="bbcmedia.fc.llnwd.net" supplier="limelight"/><connection 
authExpires="2013-03-04T04:57:22+00:00" authExpiresOffset="35493" 
href="http://studiowebcams-lh.akamaihd.net/bbc_radio_one_video_60@s84754?__gda__=1362344749_41056016b1878457fa45a938d6c29fe5" 
priority="30" protocol="http" supplier="akamai_hd"/></media>

The Limelight servers are not geoblocked, so by utilising a UK http proxy 
and the following GIP command
get_iplayer -p "http//proxyhost:proxyport" --partial-proxy -i 
"http://www.bbc.co.uk/radio1/emp/live/chart.xml" --modes=flashvhigh --force  
-w --file-prefix="BBC Radio 1 Live Webcam" --raw
I am downloading the stream right now:

INFO: Using Proxy http//proxyhost:proxyport
INFO: Trying pid: http://www.bbc.co.uk/radio1/emp/live/chart.xml using type: 
tv
INFO Trying to stream pid using type tv
INFO: pid not found in tv cache
INFO: Checking existence of default version
INFO: flashvhigh1,flashvhigh2 modes will be tried for version default
INFO: Trying flashvhigh1 mode to record tv:  -
INFO: File name prefix = BBC Radio 1 Live Webcam
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: Closing connection: NetStream.Failed
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\Vangelis\iPlayer Recordings\BBC Radio 1 
Live W
ebcam.partial.flv via RTMP
INFO: skipping flashvhigh1 mode
INFO: Trying flashvhigh2 mode to record tv: BBC Radio 1 Live Video - -
INFO: File name prefix = BBC Radio 1 Live Webcam
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: Can't resume live stream, ignoring --resume option
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   width                 704.00
INFO:   height                396.00
INFO:   framerate             25.00
INFO:   videokeyframe_frequency4.00
INFO:   audiocodecid          mp4a
INFO:   audiodatarate         96.00
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO:   audiodevice           Elemental Technologies Live
INFO:   videodevice           Elemental Technologies Live
INFO:   videocodecid          avc1
INFO:   videodatarate         1200.00
435852.534 kB / 2738.91 sec

Or you can use directly an rtmpdump command like this
(obtained with the aid of  RTMPdumphelper + rtmpsrv):

rtmpdump -r "rtmp://cp209412.live.edgefcs.net:1935/live" -a 
"live?aauth=daEa1c.bgdhb5dLdlaRdLdwcsdSdgbAasdu-brm5uM-bWG-
EpnEGqDoMEuHowF&aifp=v001&slist=bbc_radio_one_video_40 at s84754;bbc_radio_one_video_30 at s84754;bbc_radio_one_video_10 at s84754;bbc_radio_one_video_20 at s8
4754;bbc_radio_one_video_50 at s84754;bbc_radio_one_video_60 at s84754" -f "WIN 
10,3,183,67" -W
"http://www.bbc.co.uk/emp/releases/iplayer/revisions/749603_749269_749444_6/749603_749269_749444_6_emp.swf" 
 -p "http://www.bbc.co.uk" --live -C O:1
-C O:0 -y 
"bbc_radio_one_video_60 at s84754?auth=daEa1c.bgdhb5dLdlaRdLdwcsdSdgbAasdu-brm5uM-bWG-
EpnEGqDoMEuHowF&aifp=v001&slist=bbc_radio_one_video_40 at s84754;bbc_radio_one_video_30 at s84754;bbc_radio_one_video_10 at s84754;bbc_radio_one_video_20 at s8
4754;bbc_radio_one_video_50 at s84754;bbc_radio_one_video_60 at s84754" -o 
"bbc_radio_one_video_60 at s84754.flv"

You can get fresh auth strings (auth=...) via the mediaselector URL I posted 
earlier...

RTMPDump v2.4-49-g6ed7d74
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   width                 704.00
INFO:   height                396.00
INFO:   framerate             25.00
INFO:   videokeyframe_frequency4.00
INFO:   audiocodecid          mp4a
INFO:   audiodatarate         96.00
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO:   audiodevice           Elemental Technologies Live
INFO:   videodevice           Elemental Technologies Live
INFO:   videocodecid          avc1
INFO:   videodatarate         1200.00
217639.879 kB / 1364.01 sec

Instead of saving to disk, you can of course pipe to VLC, as you do...
Hope I've helped...

Cheers! 




More information about the get_iplayer mailing list