2011-01-26 146 views
4

我的妹妹想讓我保存 http://esewingworkshop.com/video-lesson/overview-zipper-types flash視頻& 夫婦更多用於離線觀看的目的,並問我如何保存它。如何保存此rtmp flash視頻流?

我立即在firefox中發射了firebug,但令人驚訝的是請求中的視頻源不是 。 http://hwcdn.net/m7n9i8d5/fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types.flv.smil 是正在進行的最後一個請求。迴應是:

<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> 

所以,我使用rtmp流協議。我試圖找出此流的 的來源。我用 「Wireshark的」,分析了交通,並遵循TCP 流

 
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 

而這些都是通過HTTP衝擊波flash播放器 (插件-containter.exe)爲了

 
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..._ 

作出POST請求我不明白。我對這個溝通是如何發生的 有點困惑?我無法找到視頻來源。據我所知,從 SMIL請求(瀏覽器)它獲取服務器地址,然後012wshockwaveplayer正在接管通信和對這些HTTP響應 POST請求是視頻的塊。

但是如何&它在哪裏確定它想要哪個視頻? RTMP在哪裏?什麼是 的網址?我如何下載它?

+0

如果您使用的是Linux,只要它在播放,視頻就存儲在`/ tmp`文件夾中。它的名字像`Flash *`,其餘的都是隨機字符。 – mhitza 2011-01-26 23:03:47

回答

-1
 
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 
+2

我想知道這可以被接受的答案。它沒有解釋關於SMIL和RTMP的任何內容......只有一個命令帶有一堆像「00484C」這樣的常量,這些常量在OP發佈的原始請求中不存在。 – 2014-02-11 21:18:34

2

我看不出此相關的問題,但在這裏編程雲:

  • 如何/在哪裏?

    在SMIL文件中,您將看到基本視頻源和 視頻源。因此,完整的URL(可能是受保護的):

    RTMP://fms006.lo1.hwcdn.net/m7n9i8d5/_definst_fms/videos/5_Standard_Zipper/B_Overview_of_Zipper_Types doppl = 965d6485db1d06d2 & dopsig = 867922856d781b57521a1dd3f7c28c5b

  • 哪裏是RTMP ?

    不知道你在問什麼。 SMIL明確引用了RTMP 流URL。

  • 如何下載?

    最好的方法可能是嘗試使用任何數量的能夠通過各種機制捕獲HTTP/RTMP流的3rd party tools

不是說你問的(而不是,這確實是一種編程相關的問題),但很多網站會看不慣他們的下載內容而無需許可。

相關問題