Solution for windows users

spam.mc spam.mc at gmail.com
Sat Jan 8 04:18:19 EST 2011


 > I am very surprised that flvstreamer still works.
 > at the moment it appears to be the only thing that does work.

I can also confirm that even RTMP 2.3 has stopped working for me over 
the last few days.  I'm in the UK and been using get_iplayer 
successfully for many months.   Here's a program I picked at random:

E:\gip>perl.exe get_iplayer.pl --get arena
get_iplayer v2.78, 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.

Matches:
20:     Arena - The Archers, BBC Two, Arts Culture & the 
Media,Factual,TV, defau
lt

INFO: 1 Matching Programmes
INFO: Checking existence of default version
ERROR: Failed to get iphone URL from iplayer site

INFO: flashhigh1,flashhigh2,flashstd1,flashstd2 modes will be tried for 
version
default
INFO: Trying flashhigh1 mode to record tv: Arena - The Archers
INFO: File name prefix = Arena_-_The_Archers_b0074t7h_default
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
.\Downloads\/Arena_-_The_Archers_b0074t7h_default
.partial.mp4.flv via RTMP
INFO: skipping flashhigh1 mode
INFO: Trying flashhigh2 mode to record tv: Arena - The Archers
INFO: File name prefix = Arena_-_The_Archers_b0074t7h_default
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: WriteN, RTMP send error 10054 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
.\Downloads\/Arena_-_The_Archers_b0074t7h_default
.partial.mp4.flv via RTMP
INFO: skipping flashhigh2 mode
INFO: Trying flashstd1 mode to record tv: Arena - The Archers
INFO: File name prefix = Arena_-_The_Archers_b0074t7h_default
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
.\Downloads\/Arena_-_The_Archers_b0074t7h_default
.partial.mp4.flv via RTMP
INFO: skipping flashstd1 mode
INFO: Trying flashstd2 mode to record tv: Arena - The Archers
INFO: File name prefix = Arena_-_The_Archers_b0074t7h_default
RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
.\Downloads\/Arena_-_The_Archers_b0074t7h_default
.partial.mp4.flv via RTMP
INFO: skipping flashstd2 mode
ERROR: Failed to record 'Arena - The Archers (b0074t7h)'





Here is some debug output from the last attempt:



INFO: Command: .\rtmpdump.exe --port 1935 --protocol 0 --playpath
mp4:secure/480kbps/MP/b006pgk4_1294058364.mp4?auth=daEbddvdCb8c3cNdlaPbVbMbhd5bD
a8brct-bnkcQN-bWG-EqmGIowpKDwHowD&aifp=v001&slist=secure/480kbps/MP/b006pgk4_129
4058364.mp4 --host cp41752.edgefcs.net --swfVfy 
http://www.bbc.co.uk/emp/10playe
r.swf?revision=18269_19216 --tcUrl 
rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_v
host=cp41752.edgefcs.net&undefined&auth=daEbddvdCb8c3cNdlaPbVbMbhd5bDa8brct-bnkc
QN-bWG-EqmGIowpKDwHowD&aifp=v001&slist=secure/480kbps/MP/b006pgk4_1294058364.mp4
  --app 
ondemand?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=daEbddvdCb8c3cNdla
PbVbMbhd5bDa8brct-bnkcQN-bWG-EqmGIowpKDwHowD&aifp=v001&slist=secure/480kbps/MP/b
006pgk4_1294058364.mp4 --pageUrl  --resume -o 
.\Downloads\/Arena_-_The_Archers_b
0074t7h_default.partial.mp4.flv --timeout 10 --verbose --debug

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : cp41752.edgefcs.net
DEBUG: Port     : 1935
DEBUG: Playpath : 
mp4:secure/480kbps/MP/b006pgk4_1294058364.mp4?auth=daEbddvdCb8
c3cNdlaPbVbMbhd5bDa8brct-bnkcQN-bWG-EqmGIowpKDwHowD&aifp=v001&slist=secure/480kb
ps/MP/b006pgk4_1294058364.mp4
DEBUG: tcUrl    : 
rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edge
fcs.net&undefined&auth=daEbddvdCb8c3cNdlaPbVbMbhd5bDa8brct-bnkcQN-bWG-EqmGIowpKD
wHowD&aifp=v001&slist=secure/480kbps/MP/b006pgk4_1294058364.mp4
DEBUG: swfUrl   : http://www.bbc.co.uk/emp/10player.swf?revision=18269_19216
DEBUG: pageUrl  :
DEBUG: app      : 
ondemand?_fcs_vhost=cp41752.edgefcs.net&undefined&auth=daEbddv
dCb8c3cNdlaPbVbMbhd5bDa8brct-bnkcQN-bWG-EqmGIowpKDwHowD&aifp=v001&slist=secure/4
80kbps/MP/b006pgk4_1294058364.mp4
DEBUG: live     : no
DEBUG: timeout  : 10 sec
DEBUG: SWFSHA256:
DEBUG: c4 e8 99 6c 5f 69 1a 32 3a 36 23 ed 07 9c 72 67
DEBUG: 98 eb 24 9c 95 d6 7a 6f f6 73 29 d1 6c b1 bc 2a
DEBUG: SWFSize  : 1020525
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 53
DEBUG: HandShake: Initial client digest:
DEBUG: c8 bd d9 c9 b5 ca 26 d3 8c e1 09 ff e2 6e 15 a0
DEBUG: 01 e4 37 e1 f4 b6 41 86 70 91 8a 78 ba 94 be 7b
DEBUG: HandShake: Type Answer   : 03
DEBUG: HandShake: Server Uptime : 520713519
DEBUG: HandShake: FMS Version   : 3.5.4.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 4a c8 58 40 50 3d 89 8e 01 b1 5f ef c9 96 5d 24
DEBUG: c1 c4 d0 dc 42 5c 66 6a 3d 58 4a 33 85 77 35 75
DEBUG: HandShake: Client signature calculated:
DEBUG: 56 5b e9 21 51 fb 29 01 a6 db ba c8 6e 97 85 af
DEBUG: 45 32 ba 15 91 03 43 0f 1c 93 9a df 4a 9a 13 5c
DEBUG: HandShake: Server sent signature:
DEBUG: 66 49 ea 59 13 4b 17 34 0e 86 2d df c1 9a 74 70
DEBUG: 0e 36 9c cd 4b af 5b 4e bd 8e 56 a0 f7 9a bf b9
DEBUG: HandShake: Digest key:
DEBUG: 7d e1 50 29 bd 1b 3b 2c 84 4b b1 9d 2d a3 8b 14
DEBUG: f0 37 9b 45 57 09 a9 14 2f b5 46 89 4e fe 76 47
DEBUG: HandShake: Signature calculated:
DEBUG: 66 49 ea 59 13 4b 17 34 0e 86 2d df c1 9a 74 70
DEBUG: 0e 36 9c cd 4b af 5b 4e bd 8e 56 a0 f7 9a bf b9
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=1888, size=616
DEBUG2:   0000:  03 00 00 00 00 02 68 14  00 00 00 00               
......h.....

DEBUG2:   0000:  02 00 07 63 6f 6e 6e 65  63 74 00 3f f0 00 00 00   
...connect.?
....
DEBUG2:   0010:  00 00 00 03 00 03 61 70  70 02 00 af 6f 6e 64 65   
......app...
onde
DEBUG2:   0020:  6d 61 6e 64 3f 5f 66 63  73 5f 76 68 6f 73 74 3d   
mand?_fcs_vh
ost=
DEBUG2:   0030:  63 70 34 31 37 35 32 2e  65 64 67 65 66 63 73 2e   
cp41752.edge
fcs.
DEBUG2:   0040:  6e 65 74 26 75 6e 64 65  66 69 6e 65 64 26 61 75   
net&undefine
d&au
DEBUG2:   0050:  74 68 3d 64 61 45 62 64  64 76 64 43 62 38 63 33   
th=daEbddvdC
b8c3
DEBUG2:   0060:  63 4e 64 6c 61 50 62 56  62 4d 62 68 64 35 62 44   
cNdlaPbVbMbh
d5bD
DEBUG2:   0070:  61 38 62 72 63 74 2d 62  6e 6b 63 51 4e 2d 62 57   
a8brct-bnkcQ
N-bW
DEBUG2:   0000:  c3                                                 .

DEBUG2:   0000:  47 2d 45 71 6d 47 49 6f  77 70 4b 44 77 48 6f 77   
G-EqmGIowpKD
wHow
DEBUG2:   0010:  44 26 61 69 66 70 3d 76  30 30 31 26 73 6c 69 73   
D&aifp=v001&
slis
DEBUG2:   0020:  74 3d 73 65 63 75 72 65  2f 34 38 30 6b 62 70 73   
t=secure/480
kbps
DEBUG2:   0030:  2f 4d 50 2f 62 30 30 36  70 67 6b 34 5f 31 32 39   
/MP/b006pgk4
_129
DEBUG2:   0040:  34 30 35 38 33 36 34 2e  6d 70 34 00 08 66 6c 61   
4058364.mp4.
.fla
DEBUG2:   0050:  73 68 56 65 72 02 00 0e  57 49 4e 20 31 30 2c 30   
shVer...WIN
10,0
DEBUG2:   0060:  2c 33 32 2c 31 38 00 06  73 77 66 55 72 6c 02 00   
,32,18..swfU
rl..
DEBUG2:   0070:  3a 68 74 74 70 3a 2f 2f  77 77 77 2e 62 62 63 2e   
:http://www.
bbc.
DEBUG2:   0000:  c3                                                 .

DEBUG2:   0000:  63 6f 2e 75 6b 2f 65 6d  70 2f 31 30 70 6c 61 79   
co.uk/emp/10
play
DEBUG2:   0010:  65 72 2e 73 77 66 3f 72  65 76 69 73 69 6f 6e 3d   
er.swf?revis
ion=
DEBUG2:   0020:  31 38 32 36 39 5f 31 39  32 31 36 00 05 74 63 55   
18269_19216.
.tcU
DEBUG2:   0030:  72 6c 02 00 cd 72 74 6d  70 3a 2f 2f 63 70 34 31   
rl...rtmp://
cp41
DEBUG2:   0040:  37 35 32 2e 65 64 67 65  66 63 73 2e 6e 65 74 3a   
752.edgefcs.
net:
DEBUG2:   0050:  38 30 2f 6f 6e 64 65 6d  61 6e 64 3f 5f 66 63 73   
80/ondemand?
_fcs
DEBUG2:   0060:  5f 76 68 6f 73 74 3d 63  70 34 31 37 35 32 2e 65   
_vhost=cp417
52.e
DEBUG2:   0070:  64 67 65 66 63 73 2e 6e  65 74 26 75 6e 64 65 66   
dgefcs.net&u
ndef
DEBUG2:   0000:  c3                                                 .

DEBUG2:   0000:  69 6e 65 64 26 61 75 74  68 3d 64 61 45 62 64 64   
ined&auth=da
Ebdd
DEBUG2:   0010:  76 64 43 62 38 63 33 63  4e 64 6c 61 50 62 56 62   
vdCb8c3cNdla
PbVb
DEBUG2:   0020:  4d 62 68 64 35 62 44 61  38 62 72 63 74 2d 62 6e   
Mbhd5bDa8brc
t-bn
DEBUG2:   0030:  6b 63 51 4e 2d 62 57 47  2d 45 71 6d 47 49 6f 77   
kcQN-bWG-Eqm
GIow
DEBUG2:   0040:  70 4b 44 77 48 6f 77 44  26 61 69 66 70 3d 76 30   
pKDwHowD&aif
p=v0
DEBUG2:   0050:  30 31 26 73 6c 69 73 74  3d 73 65 63 75 72 65 2f   
01&slist=sec
ure/
DEBUG2:   0060:  34 38 30 6b 62 70 73 2f  4d 50 2f 62 30 30 36 70   
480kbps/MP/b
006p
DEBUG2:   0070:  67 6b 34 5f 31 32 39 34  30 35 38 33 36 34 2e 6d   
gk4_12940583
64.m
DEBUG2:   0000:  c3                                                 .

DEBUG2:   0000:  70 34 00 04 66 70 61 64  01 00 00 0c 63 61 70 61   
p4..fpad....
capa
DEBUG2:   0010:  62 69 6c 69 74 69 65 73  00 40 2e 00 00 00 00 00   
bilities. at ..
....
DEBUG2:   0020:  00 00 0b 61 75 64 69 6f  43 6f 64 65 63 73 00 40   
...audioCode
cs.@
DEBUG2:   0030:  a8 ee 00 00 00 00 00 00  0b 76 69 64 65 6f 43 6f   
.........vid
eoCo
DEBUG2:   0040:  64 65 63 73 00 40 6f 80  00 00 00 00 00 00 0d 76   
decs. at o.....
...v
DEBUG2:   0050:  69 64 65 6f 46 75 6e 63  74 69 6f 6e 00 3f f0 00   
ideoFunction
.?..
DEBUG2:   0060:  00 00 00 00 00 00 00 09                            ........

DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00               
............

DEBUG2:   0000:  00 13 12 d0                                        ....

DEBUG: HandleServerBW: server BW = 1250000
DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  02 00 00 00 00 00 05 06  00 00 00 00               
............

DEBUG2:   0000:  00 13 12 d0 02                                     .....

DEBUG: HandleClientBW: client BW = 1250000 2
DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  02 00 00 00 00 00 03 04  00 00 00 00               
............

DEBUG2:   0000:  00 1a 01                                           ...

DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 0f 92 6d 00 0f 92 6d 8b 17 42 23
DEBUG: ad a9 cb 37 87 9b 3f e8 45 42 12 0b 16 21 31 d7
DEBUG: fc 76 18 e4 5f 27 25 d7 17 06 e7 d9
DEBUG2: RTMP_SendPacket: fd=1888, size=44
DEBUG2:   0000:  42 00 00 00 00 00 2c 04                            B.....,.

DEBUG2:   0000:  00 1b 01 01 00 0f 92 6d  00 0f 92 6d 8b 17 42 23   
.......m...m
..B#
DEBUG2:   0010:  ad a9 cb 37 87 9b 3f e8  45 42 12 0b 16 21 31 d7   
...7..?.EB..
.!1.
DEBUG2:   0020:  fc 76 18 e4 5f 27 25 d7  17 06 e7 d9               
.v.._'%.....

DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  03 00 00 00 00 00 f2 14  00 00 00 00               
............

DEBUG2:   0000:  02 00 07 5f 72 65 73 75  6c 74 00 3f f0 00 00 00   
..._result.?
....
DEBUG2:   0010:  00 00 00 03 00 06 66 6d  73 56 65 72 02 00 0e 46   
......fmsVer
...F
DEBUG2:   0020:  4d 53 2f 33 2c 35 2c 34  2c 31 30 30 33 00 0c 63   
MS/3,5,4,100
3..c
DEBUG2:   0030:  61 70 61 62 69 6c 69 74  69 65 73 00 40 5f c0 00   
apabilities.
@_..
DEBUG2:   0040:  00 00 00 00 00 04 6d 6f  64 65 00 3f f0 00 00 00   
......mode.?
....
DEBUG2:   0050:  00 00 00 00 00 09 03 00  05 6c 65 76 65 6c 02 00   
.........lev
el..
DEBUG2:   0060:  06 73 74 61 74 75 73 00  04 63 6f 64 65 02 00 1d   
.status..cod
e...
DEBUG2:   0070:  4e 65 74 43 6f 6e 6e 65  63 74 69 6f 6e 2e 43 6f   
NetConnectio
n.Co
DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  c3                                                 .

DEBUG2:   0000:  6e 6e 65 63 74 2e 53 75  63 63 65 73 73 00 0b 64   
nnect.Succes
s..d
DEBUG2:   0010:  65 73 63 72 69 70 74 69  6f 6e 02 00 15 43 6f 6e   
escription..
.Con
DEBUG2:   0020:  6e 65 63 74 69 6f 6e 20  73 75 63 63 65 65 64 65   
nection succ
eede
DEBUG2:   0030:  64 2e 00 0e 6f 62 6a 65  63 74 45 6e 63 6f 64 69   
d...objectEn
codi
DEBUG2:   0040:  6e 67 00 00 00 00 00 00  00 00 00 00 04 64 61 74   
ng..........
.dat
DEBUG2:   0050:  61 08 00 00 00 00 00 07  76 65 72 73 69 6f 6e 02   
a.......vers
ion.
DEBUG2:   0060:  00 0a 33 2c 35 2c 34 2c  31 30 30 33 00 00 09 00   
..3,5,4,1003
....
DEBUG2:   0070:  00 09                                              ..

DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:           no-name., STRING:     _result>
DEBUG: Property: <Name:           no-name., NUMBER:     1.00>
DEBUG: Property: <Name:           no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:             fmsVer, STRING:     FMS/3,5,4,1003>
DEBUG: Property: <Name:       capabilities, NUMBER:     127.00>
DEBUG: Property: <Name:               mode, NUMBER:     1.00>
DEBUG: (object end)
DEBUG: Property: <Name:           no-name., OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:     status>
DEBUG: Property: <Name:               code, STRING:     
NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name:        description, STRING:     Connection 
succeeded.>
DEBUG: Property: <Name:     objectEncoding, NUMBER:     0.00>
DEBUG: Property: <Name:               data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:     3,5,4,1003>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG2: RTMP_SendPacket: fd=1888, size=4
DEBUG2:   0000:  02 00 00 00 00 00 04 05  00 00 00 00               
............

DEBUG2:   0000:  00 13 12 d0                                        ....

DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=1888, size=10
DEBUG2:   0000:  42 00 00 00 00 00 0a 04                            B.......

DEBUG2:   0000:  00 03 00 00 00 00 00 00  01 2c                     
.........,

DEBUG2: RTMP_SendPacket: fd=1888, size=25
DEBUG2:   0000:  43 00 00 00 00 00 19 14                            C.......

DEBUG2:   0000:  02 00 0c 63 72 65 61 74  65 53 74 72 65 61 6d 00   
...createStr
eam.
DEBUG2:   0010:  40 00 00 00 00 00 00 00  05                        
@........

DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=1888
DEBUG2:   0000:  03 00 00 00 00 00 15 14  00 00 00 00               
............

DEBUG2:   0000:  02 00 08 6f 6e 42 57 44  6f 6e 65 00 00 00 00 00   
...onBWDone.
....
DEBUG2:   0010:  00 00 00 00 05                                     .....

DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:           no-name., STRING:     onBWDone>
DEBUG: Property: <Name:           no-name., NUMBER:     0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG2: RTMP_SendPacket: fd=1888, size=21
DEBUG2:   0000:  03 00 00 00 00 00 15 14  00 00 00 00               
............

DEBUG2:   0000:  02 00 08 5f 63 68 65 63  6b 62 77 00 40 08 00 00   
..._checkbw.
@...
DEBUG2:   0010:  00 00 00 00 05                                     .....

DEBUG: Invoking _checkbw
DEBUG2: RTMP_ReadPacket: fd=1888
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file 
.\Downloads\/Arena_-_The_Archers_b0074t7h_default
.partial.mp4.flv via RTMP
DEBUG: Record using flashstd2 mode return code: 'next'
INFO: skipping flashstd2 mode
DEBUG: mode_ver_download_retry_loop retcode = 1
ERROR: Failed to record 'Arena - The Archers (b0074t7h)'


Anyone got any ideas?  It must be something the BBC have done?



More information about the get_iplayer mailing list