如何使用curl命令下载通过视频播放器播放的MP4文件

时间:2013-05-21 05:32:13

标签: video curl download embedded-resource mp4

以下页面自动播放我想在视频播放器上下载的MP4:`

  

http://www.stylelife.com/phase2xl/media/videoplay.php?content_filename=136433981.mp4

但是,当我使用curl命令时,它不会下载mp4

curl -o video.mp4 http://www.stylelife.com/phase2xl/media/videoplay.php?content_filename=136433981.mp4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3615  100  3615    0     0  27704      0 --:--:-- --:--:-- --:--:-- 60250

我查看了页面上的源代码,相关部分完全让我感到困惑。也就是说,我不知道MP4文件的位置。

<a href="mp4:136433981.mp4%3FPolicy%3DeyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiMTM2NDMzOTgxLm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMjQuMjEyLjIyMy40NS8zMiJ9LCJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTM2OTExMzg4OX19fV19%26Signature%3DdGKzwPP4X2g57LRopT4Df2rSm-Ds29Eyi9RQA6lAUxBBzeW6zn7XVQkzFbUPM9MudnJIBGaYqNNwrwvk20oaEqQauFZU6DL6qbvFUE9GRLjhAa0M9KPyMQAVGWYMZSX1fx1WKxdlmAc1FEYHZG1dwuH9AQY6Zj0Xndw4WSGPqGE_%26Key-Pair-Id%3DAPKAJRM5JRJKF6J7YB3A"
   style="display:block;width:640px;height:360px;"
   id="player">

</a>

      <script language="JavaScript">

      flowplayer("player", "http://www.stylelife.com/academy/player/flowplayer.commercial-3.2.10.swf", {
      key: '#$c38c5304eed2df48aaa',
        clip: {
            autoPlay: true,
            autoBuffering: false,
            provider: 'rtmp'
        },
        plugins: {
          rtmp: {
            url: "http://www.stylelife.com/academy/player/flowplayer.rtmp-3.2.11.swf",
            netConnectionUrl: 'rtmp://s2vyr5bshlkw52.cloudfront.net:1935/cfx/st'
          }, 
          controls: { 
            url: 'http://www.stylelife.com/academy/player/flowplayer.controls-3.2.10.swf',
            fullscreen: true
          }  
        }
      });
      </script>

对此有任何帮助将不胜感激。感谢。

0 个答案:

没有答案