Come salvare questo flusso video in flash rtmp? [chiuso]
Domanda
Mia sorella mi voleva salvare http://esewingworkshop.com/video-lesson/overview-zipper-types flash Video & paio di più per scopi di visualizzazione offline e mi ha chiesto come salvarlo.
Ho subito licenziato Firebug in Firefox, ma sorprendentemente la sorgente video non è nelle richieste. http://hwcdn.net/m7n9i8d5/fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types .flv.smil è l'ultima richiesta che è stato fatto. essere di risposta:
<smil>
<head>
<meta base="rtmp://fms006.lo1.hwcdn.net/m7n9i8d5/_definst_">
</head>
<body>
<video
src="fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types?doppl=965d6485db1d06d2&dopsig=867922856d781b57521a1dd3f7c28c5b"></video>
</body>
</smil>
Quindi, la sua utilizzando il protocollo di streaming rtmp
. Ho cercato di capire la fonte di
questo flusso. Ho usato "Wireshark" e analizzato il traffico e seguii il protocollo TCP
flusso
POST http://fms006.lo1.hwcdn.net/fcs/ident2 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: fms035.lo1.hwcdn.net Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 14 Server: FlashCom/3.5.5 Content-Type: text/plain 209.197.11.150POST http://209.197.11.219/open/1 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 17 Server: FlashCom/3.5.5 Content-Type: application/x-fcs Wubmcmj7Q1T-6Tic POST http://209.197.11.219/idle/Wubmcmj7Q1T-6Tic/0 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 1 Server: FlashCom/3.5.5 Content-Type: application/x-fcs POST http://209.197.11.219/send/Wubmcmj7Q1T-6Tic/1 HTTP/1.1 Content-Type: application/x-fcs User-Agent: Shockwave Flash Host: 209.197.11.219 Content-Length: 1537 Proxy-Connection: Keep-Alive Pragma: no-cache HTTP/1.1 200 OK Cache-Control: no-cache Connection: Keep-Alive Content-Length: 3074 Server: FlashCom/3.5.5 Content-Type: application/x-fcs
e questi sono HTTP POST richieste delle shockwave flash player (Plugin-containter.exe) al fine
http://fms006.lo1.hwcdn.net/fcs/ident2 http://209.197.11.150/open/1 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/0 http://209.197.11.150/send/2BZmcmj6mhTWexFa/1 http://209.197.11.150/send/2BZmcmj6mhTWexFa/2 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/3 http://209.197.11.150/send/2BZmcmj6mhTWexFa/4 http://209.197.11.150/send/2BZmcmj6mhTWexFa/5 http://209.197.11.150/idle/2BZmcmj6mhTWexFa/6 _this continues till /407..._
Io non capisco. Sto po 'confuso su come esattamente questa comunicazione è prendere posto? Sono in grado di trovare la sorgente video. Per quanto ho capito, da la richiesta SMIL (browser ha reso) relativo ottenere l'indirizzo del server e poi shockwaveplayer sta prendendo il sopravvento la comunicazione e le risposte a queste HTTP richieste POST sono il video in pezzi.
Ma come e dove sta identificando che il video vuole? Dov'è RTMP? cosa è l'url? Come posso scaricarlo?
Soluzione
rtmpdump -r rtmp://fms.484C.edgecastcdn.net/00484C/videos/5_Standard_Zipper \ -a 00484C/videos/5_Standard_Zipper -y B_Overview_of_Zipper_Types \ -W http://esewingworkshop.com/sites/default/libraries/mediaplayer-5/player_5.6.swf \ -o a.flv RTMPDump v2.4-84-gdd57cd0 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Starting download at: 0.000 kB [...] 10780.451 kB / 241.50 sec (99.9%) Download complete
Altri suggerimenti
Non vedo come questo una questione connessa la programmazione, ma qui va:
-
Come / Dove?
Nel file SMIL, vedete base e la sorgente video. Così URL completo (probabilmente protetta):
rtmp:? //Fms006.lo1.hwcdn.net/m7n9i8d5/_definst_fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types Doppl = 965d6485db1d06d2 & dopsig = 867922856d781b57521a1dd3f7c28c5b
-
Dove si trova RTMP?
Non sei sicuro di quello che stai chiedendo. Il SMIL fa riferimento in modo esplicito il RTMP flusso URL.
-
Come scaricare?
Il modo migliore sarebbe probabilmente di provare a utilizzare un numero qualsiasi di 3rd strumenti di terze parti che sono in grado di catturare HTTP / RTMP streaming attraverso diversi meccanismi.
Non è che si stava chiedendo (e non che questo era davvero una domanda relativa programmazione), ma molti siti sarà disapprovare scaricano il loro contenuto senza autorizzazione.