PDA

View Full Version : How do I save a Flowplayer RTMP video?


streamer
07-26-2015, 02:03 AM
I am subscribed to a pay site, and there are some videos I want to save. Unfortunately VideoDownloadHelper can't save them. I want to save them without using a screen recorder.

The videos use Flowplayer. I looked at the page source for one of the videos, and it has the following:

<script type="text/javascript">
var player = $f("player", "http://www.websitename.com/wp-content/plugins/flowplayer-plugin-with-mobile-support/flowplayer-3.2.16.swf", {
plugins: {
rtmp: {
url: "http://www.websitename.com/wp-content/plugins/flowplayer-plugin-with-mobile-support/flowplayer.rtmp-3.2.12.swf",
netConnectionUrl: "rtmp://s1smix2z5i258m.cloudfront.net/cfx/st"
}
},
clip: {
provider: "rtmp",
// call php function url-escaping for flowplayer config
url: "mp4:connection/lesson1-2?Expires%3D1437898322%26Signature%3DTkwBCZ14hhID~ BUplomeDyP8Kc1-fFjAOQXghxoW08OsbCt0vRT-Fw~p-udZT0SPQQ043IMx1kKAnuYt7wKEkssfFhnHoxqpHAawToAbS0s JrAiN-b7fpVgDUatm9TaG44gAWENDPS7KyZNSuwrFNJOWTrVvZFUj1tP RYyja-pE_%26Key-Pair-Id%3DAPKAJXW3UVME2LSMAROQ",
scaling: "fit"
}
});
</script>


Any idea on how to save the video?

siroco
07-26-2015, 02:06 AM
Using rtmpdump to save your file.

https://rtmpdump.mplayerhq.hu/

rtmpdump -r rtmp://s1smix2z5i258m.cloudfront.net/cfx/st -y mp4:connection/lesson1-2?Expires%3D1437898322%26Signature%3DTkwBCZ14hhID~ BUplomeDyP8Kc1-fFjAOQXghxoW08OsbCt0vRT-Fw~p-udZT0SPQQ043IMx1kKAnuYt7wKEkssfFhnHoxqpHAawToAbS0s JrAiN-b7fpVgDUatm9TaG44gAWENDPS7KyZNSuwrFNJOWTrVvZFUj1tP RYyja-pE_%26Key-Pair-Id%3DAPKAJXW3UVME2LSMAROQ -W http://www.websitename.com/wp-content/plugins/flowplayer-plugin-with-mobile-support/flowplayer-3.2.16.swf -o video.mp4

streamer
07-28-2015, 01:00 AM
I get this error when I try that:


RTMPDump v2.4 GIT-2013-12-05 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

siroco
07-28-2015, 10:00 AM
I get this error when I try that:


RTMPDump v2.4 GIT-2013-12-05 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close


I need some more information to try help you, can you send me the link.

streamer
07-28-2015, 11:16 AM
Unfortunately the link is on a private site, so you wouldn't be able to access it.

I wonder if it has to do with the "Expires" and "Signature" in the url changing when I reload the page with the video. Here's what it is now:

plugins: {
rtmp: {
url: "http://www.websitename.com/wp-content/plugins/flowplayer-plugin-with-mobile-support/flowplayer.rtmp-3.2.12.swf",
netConnectionUrl: "rtmp://s1smix2z5i258m.cloudfront.net/cfx/st"
}
},
clip: {
provider: "rtmp",
// call php function url-escaping for flowplayer config
url: "mp4:connection/lesson1-2?Expires%3D1438107182%26Signature%3DFsuoIDnzZSq6b h3lhiJs1fxrFgDrZKyr0PsJbZ3UR6NBLpT4mmpsT3X4gP~Qjuh PHwI~~KYHwORPRkntTPXSHWaULcDEWFNx4~Jge22lla5V5YHop RpApY-LknNhBMYxCwP8VSntNCWl6WjX-C-J2akybcY0Sn5i6fPHgwV9sjc_%26Key-Pair-Id%3DAPKAJXW3UVME2LSMAROQ",
scaling: "fit"
}

streamer
08-27-2015, 12:24 AM
I got it to work using RTMPDumpHelper.