Can watch iPLayer but not use get_iplayer?

bat guano batguano999 at hotmail.com
Fri Apr 15 19:13:41 EDT 2011




----------------------------------------
> Date: Fri, 15 Apr 2011 16:12:37 +0100
> From: dinkypumpkin at gmail.com
> To: get_iplayer at lists.infradead.org
> Subject: Re: Can watch iPLayer but not use get_iplayer?
>
> On 15/04/2011 15:22, dinkypumpkin wrote:
> > It looks like the BBC has relocated the flash player file referenced in
> > the URL above, but rtmpdump doesn't interpret the 301 response code to
> > go the new location. I was hitting this last night, but it didn't kill
> > downloads on radio programmes, just tv. That's not really a scientific
> > conclusion, though. I managed to get past it by replacing this:
> >
> > http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576
> >
> > with this:
> >
> > http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576
> >
> >
> > in the get_iplayer script. Not sure if that's a real solution at this
> > point. I think this may have happened before in days of yore - someone
> > here may remember.
>
> For anyone who wants to try this, the patch below shows the context
> where the change needs to be made. So far I've only found it necessary
> for flashhd mode downloads, and I'm not sure why that is. For other
> programmes, the error message above appears, but the download completes.
>
> ---
> diff --git a/get_iplayer b/get_iplayer
> index 433267d..b173205 100755
> --- a/get_iplayer
> +++ b/get_iplayer
> @@ -5852,7 +5852,7 @@ sub get_stream_data_cdn {
> # Common attributes
> # swfurl = Default iPlayer swf version
> my $conn = {
> - swfurl => "http://www.bbc.co.uk/emp/10player.swf?revision=18269_21576",
> + swfurl =>
> "http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576",
> ext => $ext,
> streamer => $streamer,
> bitrate => $mattribs->{bitrate},
> --
>

Hi
That TV programme has downloaded OK for me without using the patch.
No error messages.
Maybe it's because RTMPDump v2.3 is installed (not v2.2).

@ubuntu:~$ get_iplayer --get --force --mode=flashhd --pid=b0074r5v
get_iplayer v2.79, 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: Episode-only pid detected
INFO: Trying pid: b0074r5v 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: flashhd1,flashhd2 modes will be tried for version default
INFO: Trying flashhd1 mode to record tv: Civilisation - 10. The Smile of Reason
INFO: File name prefix = Civilisation_-_10._The_Smile_of_Reason_b0074r5v_default                 
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              2943.28
INFO:   moovPosition          32.00
INFO:   width                 1280.00
INFO:   height                720.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            100.00
INFO:   avclevel              41.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                73579000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                70638592.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
1003582.019 kB / 2943.23 sec (99.9%)
Download complete
 		 	   		  


More information about the get_iplayer mailing list