
01-03-2011, 04:20 PM
|
Junior Member
|
|
Join Date: Dec 2010
Posts: 10
|
|
 Re: How do you compile rtmpdump in Mac OS X 10.6?
Quote:
Originally Posted by any ANONYMOUS forum user
I don't know if anyone is able to compile rtmpdump for mac os x. Please someone tell me. And can someone tell me how to download videos from hulu.com and nick.com? SIMPLE INSTRUCTIONS lol, all I see is bla bla bla, I would rather pictures of you doing it, so I can just follow what your doing.
Thanks! I wish someone would make a real program, that can sniff ANY rtmp, ANY, not some, including hulu, but noooo they all got a DMCA removal or don't want to -_- COME ON HACKERS, I also want a hacker to make a alternitive for flash for my mac os x and iphone os. Not for windows, windows doesn't deserve it, let flash keep crashing their internet explorerer lol
|
How to compile RTMPDump in Mac OS: - Download and extract the latest RTMPDump source tarball, open a Terminal window and cd to the directory you just extracted the sources, i.e. ./rtmpdump-2.3
- We need to make a small change in the Makefile in the ./librtmp directory, so you need to cd into that directory
- Edit Makefile in ./librtmp and replace -soname with -dylib_install_name
- cd ..
- sudo make install SYS=posix
Depending on the version you compile, the compilation output will look something like this:
Code:
Jans-Mac-Pro:rtmpdump-2.3 jan$ make SYS=posix
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o log.o log.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o amf.o amf.c
In file included from amf.c:33:
bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswf.o hashswf.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
gcc -shared -Wl,-dylib_install_name,librtmp.so.0 -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz
ln -sf librtmp.so.0 librtmp.so
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -O2 -c -o rtmpdump.o rtmpdump.c
gcc -Wall rtmpdump.o librtmp/librtmp.a -o rtmpdump -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -O2 -c -o rtmpgw.o rtmpgw.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -O2 -c -o thread.o thread.c
gcc -Wall rtmpgw.o thread.o librtmp/librtmp.a -o rtmpgw -lpthread -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -O2 -c -o rtmpsrv.o rtmpsrv.c
gcc -Wall rtmpsrv.o thread.o librtmp/librtmp.a -o rtmpsrv -lpthread -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.3\" -O2 -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall rtmpsuck.o thread.o librtmp/librtmp.a -o rtmpsuck -lpthread -lssl -lcrypto -lz
- Now there should be a rtmpdump executable in your /usr/local/bin directory.
Source: http://trick77.com/2010/07/31/captur...dump-mac-os-x/
Hope help you
|