如何保存此rtmp flash视频流?
我的妹妹想让我保存 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在哪里?什么是 的网址?我如何下载它?
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
我想知道这可以被接受的答案。它没有解释关于SMIL和RTMP的任何内容......只有一个命令带有一堆像“00484C”这样的常量,这些常量在OP发布的原始请求中不存在。 – 2014-02-11 21:18:34
我看不出此相关的问题,但在这里编程云:
-
如何/在哪里?
在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。
不是说你问的(而不是,这确实是一种编程相关的问题),但很多网站会看不惯他们的下载内容而无需许可。
如果您使用的是Linux,只要它在播放,视频就存储在`/ tmp`文件夹中。它的名字像`Flash *`,其余的都是随机字符。 – mhitza 2011-01-26 23:03:47