RTMP Dump v1.6
(C) 2009 Andrej Stepanchuk
License: GPLv2

To compile just type

  $ make rtmpdump
  $ make streams

or to cross compile

 $ make -f MakefileWIN32 rtmpdump 
 $ make -f MakefileARM rtmpdump
 $ make -f MakefileARM streams

To download an rtmp stream use

  $ ./get_iplayer --raw --force --get 1 --vmode flashhigh --rtmp --rtmpdump "./rtmpdump"

rtmpdump still supports hulu if you can invoke it with a correct rtmp url.

SWF Verification
----------------

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...

Building OpenSSL 0.9.8k
-----------------------
arm:
./Configure -DL_ENDIAN --prefix=`pwd`/armlibs linux-generic32

Then replace gcc, cc, ar, ranlib in Makefile and crypto/Makefile by arm-linux-* variants  and use make && make install_sw

win32:
Try ./Configure mingw --prefix=`pwd`/win32libs -DL_ENDIAN -DOPENSSL_NO_HW
Replace gcc, cc, ... by mingw32-* variants in Makefile and crypto/Makefile
make && make install_sw

OpenSSL cross-compiling can be a difficult beast.


Credit goes to team boxee for the XBMC RTMP code used in RTMPDumper.

