View Single Post
  #7  
Old 07-26-2009, 07:34 AM
compn compn is offline
Stream recording expert
 
Join Date: Sep 2006
Posts: 128
compn has a spectacular aura aboutcompn has a spectacular aura aboutcompn has a spectacular aura about
Default

Re: How do you use rtmp dump?


here is a command line using mtv's website as an example:

Code:
rtmpdump.exe  --swfhash 1155163cece179766c97fedce8933ccfccb9a553e47c1fabbb5faeacc4e8ad70 --swfsize 563963 --swfUrl "http://media.mtvnservices.com/player/release/?v=3.14.0" -r rtmp://cp10740.edgefcs.net/ondemand/mtvcomstor/_!/mtv.com/onair/the_stew/comp_reel/mt_71824_stew_26_320.flv -o mt_71824_stew_26_320.flv
to find the rtmp url i used URL Snooper
the swfhash and swfsize were generated by:

Quote:
Download the swf player you want to use for SWFVerification, unzip it using

$ flasm -x file.swf

It will show the decompressed filesize, use it for --swfsize

Now generate the hash

$ openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" file.swf

and use the --swfhash "01234..." option to pass it.

e.g. $ ./rtmpdump --swfhash "123456..." --swfsize 987...
Reply With Quote