Difficulty saving a video

Nigel Taylor njtaylor at asterisk.demon.co.uk
Sun Jul 17 21:33:19 EDT 2011


On 07/18/11 00:34, Andy Bircumshaw wrote:
>
> On 17 July 2011, at 22:17, Sam Kuper wrote:
>
>> Third attempt, still unsuccessful:
>>
>>
>> ./get_iplayer "tv:http://www.bbc.co.uk/learningzone/clips/thermal-imagery-in-the-desert/3204.html"
>> --fileprefix="bbc_clip" --modes=flashnormal1,rtspnormal1,subtitles1
>> --verbose
>
> I would attempt to get this URL using:
>      get_iplayer --url "http://www.bbc.co.uk/learningzone/clips/thermal-imagery-in-the-desert/3204.html"
>
> No harm in showing "--type tv" or "--modes=this,that,other", but keep prefix paths&  stuff out of it when posting to the list, unless it has a bearing on the question. "-o . " is better (or just use your default).
>
> I see pretty clearly:
>    ERROR: rtmp server sent error
>    ERROR: rtmp server requested close
>
> So I don't think you're doing anything wrong.
>
>> From verbose output the server seems to be saying:
>
>    DEBUG: Property:<Name:               code, STRING:     NetConnection.Connect.Rejected>
>    DEBUG: Property:<Name:        description, STRING:     [ AccessManager.Reject ] : Access denied!>
>
> I might guess that a different swfUrl is used / needed, but I might very well be wrong.
>
> The best thing I can suggest - not answering your question but maybe getting you the video - is to try is visiting the webpage using Firefox with the Download Helper extension. I find that (on Linux) usually gets me videos from other sites which get_flash_videos fails on.
> https://addons.mozilla.org/firefox/3006/
>
> aB.
>
>
> (Reply to list, please)
> _______________________________________________
> get_iplayer mailing list
> get_iplayer at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/get_iplayer
>


You can also use rtmpsrv (supplied with rtmpdump), this then captures 
browser requests and uses them as parameters for rtmpdump. If you 
compare, get_iplayer is not passing the correct parameters to rtmpdump, 
which why you get the access error.



$ rtmpsrv
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!

rtmpdump -r 
"rtmp://195.59.58.142:1935/ondemand?_fcs_vhost=cp54782.edgefcs.net&auth=daEbYaWcWd5aQcXd7aUd1cWdid1cpcJdzaJ-boi4kz-bWG-BntFIqDnHDwHwwI&aifp=v001&slist=secure/s_geog/s_geog_ec_03049_16x9_bb" 
-a 
"ondemand?_fcs_vhost=cp54782.edgefcs.net&auth=daEbYaWcWd5aQcXd7aUd1cWdid1cpcJdzaJ-boi4kz-bWG-BntFIqDnHDwHwwI&aifp=v001&slist=secure/s_geog/s_geog_ec_03049_16x9_bb" 
-f "LNX 10,2,152,27" -W 
"http://www.bbc.co.uk/emp/revisions/18269_21576_10player.swf?revision=18269_21576" 
-p 
"http://www.bbc.co.uk/learningzone/clips/thermal-imagery-in-the-desert/3204.html" 
-C B:0 -y "secure/s_geog/s_geog_ec_03049_16x9_bb" -o 
s_geog_ec_03049_16x9_bb.flv

Closing connection... done!

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              122.60
INFO:   width                 512.00
INFO:   height                288.00
INFO:   videodatarate         320.00
INFO:   audiodatarate         48.00
INFO:   framerate             25.00
INFO:   creationdate          Tue Oct  7 19:12:51 2008
INFO:   lasttimestamp         123.01
INFO:   lastkeyframetimestamp 122.48
INFO:   videocodecid          4.00
INFO:   audiocodecid          2.00
INFO:   audiodelay            0.00
INFO:   canSeekToEnd          FALSE
INFO:   filesize              5769048.00
INFO:   videosize             4942957.00
INFO:   audiosize             794740.00
INFO:   datasize              7731.00
5635.899 kB / 123.01 sec (100.3%)
Download complete



More information about the get_iplayer mailing list