[rtmpdump] ITV download

Holger Rabbach hrabbach at fablemail.com
Tue May 4 14:00:53 CEST 2010


hmm, after reconstructing the whole thing once more, I can now report
success... basically I ran get_flash_videos, while it was running
without swf verification, I got the whole command string from the
processlist, then added the --swfVfy parameter from below and it works.
If I understood more perl, I'd add it right into get_flash_videos...

On 04/05/2010 13:40, Holger Rabbach wrote:
> sorry, I made a c&p error with the playpath, here's the output of the
> corrected version, with --verbose added:
> 
> holgerr at mediacenter:~$ rtmpdump --swfVfy
> http://www.itv.com/mercury/Mercury_VideoPlayer.swf?v=1.5.309 --rtmp
> "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEcFb3dGcTd8dxa_bqaebicuazbLcHb0aMcfbvcjaocqdtdYavc1cuaFcQdxdudYax-bl3.vo-eS-5yr4ECsmvuzp&aifp=v002&slist=production/"
> --flv
> SF-485759226_1-7470-0017-001_britain-s-got-talent_tx010510_itv400_16x9.mp4
> --playpath
> mp4:production/CATCHUP/ddeacf22/2ac4/4edb/b269/674623c264fc/SF-485759226_1-7470-0017-001_britain-s-got-talent_
> tx010510_itv400_16x9.mp4 --swfUrl
> http://www.itv.com/mercury/Mercury_VideoPlayer.swf?v=1.5.309 --verbose
> RTMPDump v2.2d
> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
> DEBUG: Protocol : RTMPE
> DEBUG: Hostname : cp72511.edgefcs.net
> DEBUG: Port     : 1935
> DEBUG: Playpath :
> mp4:production/CATCHUP/ddeacf22/2ac4/4edb/b269/674623c264fc/SF-485759226_1-7470-0017-001_britain-s-got-talent_tx010510_itv400_16x9.mp4
>      DEBUG: tcUrl    :
> rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEcFb3dGcTd8dxa_bqaebicuazbLcHb0aMcfbvcjaocqdtdYavc1cuaFcQdxdudYax-bl3.vo-eS-5yr4ECsmvuzp&ai
> fp=v002&slist=production/
> DEBUG: swfUrl   :
> http://www.itv.com/mercury/Mercury_VideoPlayer.swf?v=1.5.309
> DEBUG: app      :
> ondemand?auth=eaEcFb3dGcTd8dxa_bqaebicuazbLcHb0aMcfbvcjaocqdtdYavc1cuaFcQdxdudYax-bl3.vo-eS-5yr4ECsmvuzp&aifp=v002&slist=production/
> DEBUG: live     : no
> DEBUG: timeout  : 30 sec
> DEBUG: SWFSHA256:
> DEBUG: af f9 c0 33 10 44 42 ce 1f 15 fa 70 ca 8c bb 13
> DEBUG: 84 f8 1a 09 d2 b0 85 ed 54 1c 98 b8 13 12 c7 d9
> DEBUG: SWFSize  : 538613
> DEBUG: Setting buffer time to: 36000000ms
> Connecting ...
> DEBUG: RTMP_Connect1, ... connected, handshaking
> DEBUG: HandShake: Client type: 06
> DEBUG: HandShake: DH pubkey position: 472
> DEBUG: HandShake: Client digest offset: 1383
> DEBUG: HandShake: Initial client digest:
> DEBUG: 47 cb 5d fc fc df 8b 9a 67 c7 e0 c7 6a 8a 74 5f
> DEBUG: b0 90 7f f3 39 09 cd b1 3e ab 47 2e 89 ef 32 ed
> DEBUG: HandShake: Type Answer   : 08
> WARNING: HandShake: Type mismatch: client sent 6, server answered 8
> DEBUG: HandShake: Server Uptime : 1497996422
> DEBUG: HandShake: FMS Version   : 3.5.2.1
> DEBUG: HandShake: Server DH public key offset: 548
> DEBUG: HandShake: Secret key:
> DEBUG: 41 87 a2 df ec ab 1d c9 64 45 ec 4c 03 6d cb ca
> DEBUG: 39 57 65 9c b3 54 33 ce 28 2c 58 66 1e 3b 0c 0d
> DEBUG: af 19 38 9f 54 a1 3a be 66 66 6d ea 44 83 21 dd
> DEBUG: dd c4 08 e4 72 fd b4 7a c2 f0 1b c8 32 e0 b3 55
> DEBUG: d0 5b fa c0 4b 75 73 b7 ac 07 09 c6 c7 4b 9e 73
> DEBUG: 01 58 9f b7 bf 02 8a 09 92 a2 72 43 91 c0 b9 f6
> DEBUG: b1 09 07 06 32 a7 49 2c 92 1f ec 0c 25 bd 61 26
> DEBUG: 72 ee 8e 45 33 3d 0e 24 68 8e 13 cc a4 a3 67 39
> DEBUG: RC4 Out Key:
> DEBUG: 0f a2 1b 59 0b e3 6e 89 aa 9b be 9c b3 17 e8 8b
> DEBUG: RC4 In Key:
> DEBUG: 6a 49 23 12 34 d0 23 14 b3 2b 14 5b 98 99 9e 2c
> DEBUG: HandShake: Calculated digest key from secure key and server digest:
> DEBUG: ab 6f 83 96 43 97 d5 c3 6c f0 a7 35 b2 5f e7 cd
> DEBUG: 0c be 2c 90 2d 36 5f 18 39 89 c2 35 b6 63 2b d1
> DEBUG: HandShake: Client signature calculated:
> DEBUG: e6 86 79 f3 ab 40 09 3c 30 e5 26 2f c7 5a 30 4f
> DEBUG: d7 ec 92 62 d1 6b 68 5a c5 aa 24 15 f7 77 d9 c9
> DEBUG: HandShake: Server sent signature:
> DEBUG: 11 1b 1e 4b a2 91 aa 99 3a 52 f3 f5 40 7d 68 7e
> DEBUG: 52 52 fe e4 9a 41 55 ad 5e 5d 9c 31 54 98 10 34
> DEBUG: HandShake: Digest key:
> DEBUG: f6 aa 25 b7 f2 1e 45 fd d7 28 c9 c2 94 55 e8 eb
> DEBUG: e4 e2 1a a4 0e d9 11 01 d1 88 d8 0d fa 79 b7 1f
> DEBUG: HandShake: Signature calculated:
> DEBUG: 11 1b 1e 4b a2 91 aa 99 3a 52 f3 f5 40 7d 68 7e
> DEBUG: 52 52 fe e4 9a 41 55 ad 5e 5d 9c 31 54 98 10 34
> DEBUG: HandShake: Genuine Adobe Flash Media Server
> DEBUG: HandShake: Handshaking finished....
> DEBUG: RTMP_Connect1, handshaked
> DEBUG: Invoking connect
> INFO: Connected...
> DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
> DEBUG: (object begin)
> DEBUG: Property: NULL
> DEBUG: (object begin)
> DEBUG: Property: <Name:              level, STRING:     error>
> DEBUG: Property: <Name:               code, STRING:
> NetConnection.Connect.Rejected>
> DEBUG: Property: <Name:        description, STRING:     [
> AccessManager.Reject ] : Access denied!>
> DEBUG: (object end)
> DEBUG: (object end)
> DEBUG: HandleInvoke, server invoking <_error>
> ERROR: rtmp server sent error
> DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
> DEBUG: (object begin)
> DEBUG: Property: NULL
> DEBUG: (object end)
> DEBUG: HandleInvoke, server invoking <close>
> ERROR: rtmp server requested close
> DEBUG: Closing connection.
> 
> I'm guessing that I'm missing something in my parameters - it works
> without the swfVfy, but then of course it stops after about a minute and
> needs to be resumed...
> 
> Holger
> 
> On 04/05/2010 11:20, Holger Rabbach wrote:
>> I've tried to add a simply swfVfy to the command generated by
>> get_flash_videos, but the result is not exactly what I had in mind:
>>
>> holgerr at mediacenter:~$ rtmpdump --swfVfy
>> http://www.itv.com/mercury/Mercury_VideoPlayer.swf?v=1.5.309 --rtmp
>> "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEcFb3dGcTd8dxa_bqaebicuazbLcHb0aMcfbvcjaocqdtdYavc1cuaFcQdxdudYax-bl3.vo-eS-5yr4ECsmvuzp&aifp=v002&slist=production/"
>> --flv
>> SF-485759226_1-7470-0017-001_britain-s-got-talent_tx010510_itv400_16x9.mp4
>> --playpath
>> mp4:production/CATCHUP/ddeacf22/2ac4/4edb/b269/674623c264fc/SF-485759226_1-7470-0017-001_britain-s-got-talent_tx010510
>>
>> RTMPDump v2.2d
>> (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
>> Connecting ...
>> WARNING: HandShake: Type mismatch: client sent 6, server answered 8
>> INFO: Connected...
>> ERROR: Closing connection: NetStream.Play.StreamNotFound
>>
>> Is this a problem with my command (missing parameters etc.) or with
>> rtmpdump itself?
>>
>> Best regards,
>> Holger
>>
>> On 04/05/2010 10:05, Holger Rabbach wrote:
>>> Hi again,
>>>
>>> nice work - at least it finds the right URLs and all. I guess the next
>>> step will be swf verify support, that seems to be the really tricky bit.
>>> But for now, resuming until the download has finished seems to work ok.
>>>
>>> Holger
>>>
>>> On 03/05/2010 20:40, Monsieur Video wrote:
>>>> I've added initial support to get_flash_videos. It's rather ugly as they
>>>> use SOAP, code here:
>>>>
>>>> http://github.com/monsieurvideo/get-flash-videos/commit/b804a91db18e4310645d612f8c752029345c925e
>>>>
>>>> On 3 May 2010 14:09, Holger Rabbach <hrabbach at fablemail.com
>>>> <mailto:hrabbach at fablemail.com>> wrote:
>>>>
>>>>     Hi guys,
>>>>
>>>>     I can see in the archive that downloading from ITV has been discussed a
>>>>     few times, but with no solution. Has anyone managed to find the correct
>>>>     parameters and would be able to share them with us?
>>>>
>>>>     Best regards,
>>>>     Holger
>>>>     _______________________________________________
>>>>     rtmpdump mailing list
>>>>     rtmpdump at mplayerhq.hu <mailto:rtmpdump at mplayerhq.hu>
>>>>     https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> rtmpdump mailing list
>>>> rtmpdump at mplayerhq.hu
>>>> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>>> _______________________________________________
>>> rtmpdump mailing list
>>> rtmpdump at mplayerhq.hu
>>> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
>> _______________________________________________
>> rtmpdump mailing list
>> rtmpdump at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
> _______________________________________________
> rtmpdump mailing list
> rtmpdump at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump


More information about the rtmpdump mailing list