Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
public:use_rtmpdump_to_download_flowplayer_rtmp_videos [2015/12/19 21:40]
fangfufu
public:use_rtmpdump_to_download_flowplayer_rtmp_videos [2018/03/31 01:38] (current)
Line 1: Line 1:
 +====== Use RTMPDump to download Flowplayer videos ======
 +<note warning> Please respect the copyright of the authors of the websites you are downloading from. They might not want you to download their videos. </​note>​
  
 +Quite a lot of websites on the Internet use the Flowplayer to play RTMP video stream [(citation needed)]. Occasionally they would like you to download their videos, but they forgot to put up a "​download"​ button. This is when the knowledge on this webpage will help you. 
 +
 +In order to download RTMP streams, you need RTMPDump[(RTMPDump Homepage > https://​rtmpdump.mplayerhq.hu/​)]. If you view the HTML source of the web page where the video was embedded in, you should be able to see Flowplayer configuration structure, similar to he ones described on Flowplayer'​s website[(Flowplayer Configuration > http://​flash.flowplayer.org/​plugins/​streaming/​rtmp.html)]. Please note that the configuration structure may occasionally be obfuscated. An example of the configuration structure is shown below:
 +<code C>
 +    clip: {
 +        url: '​mp4:​vod/​demo.flowplayer/​buffalo_soldiers.mp4',​
 +        scaling: '​fit',​
 +        // configure clip to use hddn as our provider, referring to our rtmp plugin
 +        provider: '​hddn'​
 +    },
 + 
 +    // streaming plugins are configured under the plugins node
 +    plugins: {
 + 
 +        // here is our rtmp plugin configuration
 +        hddn: {
 +            url: "​flowplayer.rtmp-3.2.13.swf",​
 + 
 +            // netConnectionUrl defines where the streams are found
 +            netConnectionUrl:​ '​rtmp://​r.demo.flowplayer.netdna-cdn.com/​play'​
 +        }
 +    },
 +    canvas: {
 +        backgroundGradient:​ '​none'​
 +    }
 +</​code>​
 +
 +The ''​netConnectionUrl''​ and ''​url''​ should be used as parameters for RTMPDump'​s ''​--rtmp''​ and ''​--playpath''​ options respectively. ​
 +
 +If that doesn'​t work for you, you should refer to the manual page for RTMPDump, and Flowplayer'​s documentation.