get_iplayer currently broken...

Alan Milewczyk alan at soulman1949.com
Wed Jan 13 20:39:40 PST 2016


On 14/01/2016 08:42, Vangelis forthnet wrote:
> On Wed Jan 13 21:25:59 GMT 2016, tellyaddict wrote:
>
>> I know you've shown us how to construct an rtmpdump command before
>> Vangelis but please can you remind me how to do it
>> for the different CDNs and how to find the playlist
>> to get the info from?
>
> I'm two timezones ahead of you and with fever...
> You appear to be an advanced user of GiP;
> I gained much of my understanding of the
> inner workings of GiP by producing and saving
> verbose/debug logs of GiP downloading sessions,
> which where then studied in detail...
> Having basic knowledge of rtmpdump and ffmpeg,
> with time, perl code blocks start to make sense...
>
> If you MUST download something with imminent
> expiration, then I think the hls modes via ffmpeg
> are simpler to use manually.
>
> A. Radio example:
>
> http://www.bbc.co.uk/programmes/b06yjbxc
>
> (pid=b06yjbxc, 15min "Newsbeat" of this cursed day)
>
> Load the page in browser (Firefox with NPAPI
> Adobe Flash plugin) BUT DO NOT PRESS PLAY
> on the embedded player - instead right click
> and then click the second line of the context menu;
> it is now copied to your clipboard, pasted looks
> like this:
> b06yjbnk / radioProgramme / b06yjbxc
>
> First string is the vpid one, necessary for stream access;
> so, vpid=b06yjbnk.
> Load the following mediaselector5 URL:
>
> http://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/b06yjbnk 
>
>
> This is geo-filtered, it will produce 128kbps
> stream data for the UK, 48kbps elsewhere...
>
> What you need is the <connection href=" URL,
> the "master" HLS playlist. The token (everything
> after the "master.m3u8?" bit) is shortlived, I
> think it expires after an hour (and a new one has to be
> generated by reloading the page).
>
> Construct and use the following FFmpeg command:
> (playlist is for UK stream)
>
> ffmpeg -loglevel error -stats  -i 
> "http://cp401492-vh.akamaihd.net/i/prod_af_mp4_aaclc_128/iplayerstream/l2o/b06yjbnk_a573f2d3-f4a2-409f-bba6-63e86875e1d9.mp4/master.m3u8?hdnea=st=1452728177~exp=1452749777~acl=/*b06yjbnk_a573f2d3-f4a2-409f-bba6-63e86875e1d9.mp4*~hmac=d9b14d624b496557923eda824d1c862c627fef011a8b9c4df3c8b4d62e06e18e" 
> -vn -c:a copy radio.ts
>
The above is where I got stuck. I got the response:

'ffmpeg' is not recognized as an internal or external command, operable 
program or batch file

I was pasting the command in a DOS box, initially in the get_iplayer 
folder, then in the subfolder in which  ffmpeg.exe resides.

Using Win 7 x64.




More information about the get_iplayer mailing list