Recording from http://www.bbc.co.uk/music/festivals/glastonbury/archive/

Vangelis forthnet northmedia1 at the.forthnet.gr
Wed Jun 12 19:45:59 EDT 2013


On Wed Jun 12 13:20:52 BST 2013, dinkypumpkin wrote:

>As you tell from the URL, this clip:
>
>http://www.bbc.co.uk/music/artists/a74b1b7f-71a5-4011-9441-d0b5e4122711
>
>is not on iPlayer, and get_iplayer doesn't know how to process that
>page.  I'm not sure it ever could since the necessary playlist
>information is generated dynamically in the browser.

When I use Firefox 21.0 and navigate to said URL, I do not press
the play button on the embedded video player, instead I focus on the
"carousel" right under it; the video shown in the player (Glastonbury
 - Radiohead at Glastonbury 1997) is the first on the left.
Press the thumbnail of that video in the carousel and take a closer look
at your browser's URL bar; it has now turned to:

http://www.bbc.co.uk/music/artists/a74b1b7f-71a5-4011-9441-d0b5e4122711#p00trtg3

There it is: p00trtg3 is the video's PID!

(This video is UK-only, my physical location is blocked, so if I press play 
on the player, I
get a "media selection request failed" error; right click on the player, 
"copy error message" and I
get:

EMP v.3.1.0.r749603_749269_749444_6
 Playlist URL : http://www.bbc.co.uk/iplayer/playlist/p00trtg3/
 Error code : MediationError [0] : media selection request failed
null

this is another method to acquire the video PID).

Video can then be downloaded (from a UK IP) using the pid method in 
get_iplayer
(proxy details hidden, or else it will die a sudden death!):

get_iplayer -p 
"http://host:3128" -i --pid=p00trtg3 --modes=flashvhigh --partial-proxy --force 
 -w --file-prefix="Radiohead at Glastonbury 1997"

INFO: Using Proxy http://host:3128
INFO: Trying pid: p00trtg3 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: Glastonbury - Radiohead at 
Glastonbu
ry 1997: Glastonbury - Radiohead at Glastonbury 1997
INFO: File name prefix = Radiohead at Glastonbury 1997
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file D:\Vangelis\iPlayer Recordings\Radiohead at 
Glast
onbury 1997.partial.mp4.flv via RTMP
INFO: skipping flashvhigh1 mode
(this is because the flashvhigh1 CDN is geo-blocked from my location...)
INFO: Trying flashvhigh2 mode to record tv: Glastonbury - Radiohead at 
Glastonbu
ry 1997: Glastonbury - Radiohead at Glastonbury 1997
INFO: File name prefix = Radiohead at Glastonbury 1997
RTMPDump v2.4-81-g2872601
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              3487.48
INFO:   moovPosition          40.00
INFO:   width                 640.00
INFO:   height                360.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            77.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       48000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                8718700.00
INFO:   timescale             2500.00
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                167394304.00
INFO:   timescale             48000.00
INFO: sampledescription:
INFO:   sampletype            mp4a
120495.646 kB / 663.12 sec (19.0%)

 Repeating the same procedure for the other videos on the carousel, will get 
them on your disk.
So, Chris Dunne ENJOY! 




More information about the get_iplayer mailing list