I'm new to rtmpdump and trying to learn. Any ideas how I could go about downloading this stream using rtmpdump?
<script type="text/javascript" src="http://castalba.tv/js/jwplayer.js"></script>
<script type="text/javascript">
jwplayer("mediaspace").setup({
'flashplayer': "http://static.castalba.tv/player.swf",
'width': '650',
'height': '400',
'allowfullscreen':'true',
'allowscriptaccess':'always',
'wmode':'opaque',
'controlbar':'over',
'dock':'true',
'dock.position':'left',
'mute':'false',
'stretching':'uniform',
'autostart': 'true',
'rtmp.subscribe': 'true',
'file': 'ChelTV_Ch01_1000k@26291',
'streamer': 'rtmpe://cp96798.live.edgefcs.net/live/',
'rtmp.tunneling': 'false',
'logo.file':'http://castalba.tv/images/playerlogo.png',
'logo.hide':'false',
'logo.position':'top-right',
'logo.link':'http://castalba.tv',
'abouttext':'CastAlba.TV - Stream Live Video',
'aboutlink':'http://castalba.tv',
'skin':'http://static.castalba.tv/bluez.zip'
});
</script>
Based on Emre's answer and for those who want to save mp4 files with ffmpeg (rather than flv), you can use the following command:
ffmpeg -i "rtmp://domain.com/path/to/video.mp4" -vcodec copy -acodec copy out.mp4