Code:
rtmpdump -r "rtmpe://cp133145.edgefcs.net:1935/ondemand" -a "ondemand?videoId=3382077264001&lineUpId=&pubId=963482467001&playerId=1029272630001&affiliateId=" -f "WIN 12,0,0,77" -W "http://admin.brightcove.com/viewer/us20140325.1337/connection/ExternalConnection_2.swf" -p "http://tvnz.co.nz/shortland-street/promo-2014-03-26-video-5872869" -y "mp4:videos/963482467001/201403/2702/963482467001_3382396395001_5872869-1.mp4?videoId=3382077264001&lineUpId=&pubId=963482467001&playerId=1029272630001&affiliateId=" -o "output.flv"