Quote:
Originally Posted by any ANONYMOUS forum user
rtmpsrv allows you to get all parameters that are required by rtmpdump. You don't need packet sniffers or complex analysis to use rtmpdump when using rtmpsrv. The only problem you may have is when a video consists of several segments (chapters). In such cases just skip to the next chapter.
First of all you need compile rtmpdump, rtmpsrv for Mac. Or you can download a binary filed (which is compiled already).
How to use rtmpsrv in Mac OS X:
Configure your firewall to redirect RTMP traffic through a local port:
Code:
sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935
sudo ipfw add 40 fwd 127.0.0.1,1935 tcp from any to any 1935 not uid RTMP
Note that you need to create the RTMP user before using redirecting traffic to it
Then just start rtmpsrv:
rtmpsrv will be analyzing data from your local port. It will output an rtmpdump command that can be used to download videos.
When you get the rtmpdump command, press CTRL+C. This will stop rtmpsrv.
You may also delete the firewall redirect created above.
Since rtmpsrv produces rtmpdump command, the only thing you need to do is copy-paste it to download the video. Simple as it is 
|
Three questions from your procedure:
1) Is it necessary only the second redirecting (sudo ipfw ... not uid RTMP") or are necessary both the two sudo´s of ipfw add´s?
2) From what of the two users (original-user OR RTMP-user) the command ./rtmpsrv is run?
3) From what of the two users the video (explorer, firefox, ....) is run?
I would appreciate very much the answers.
I have tryed with two terminal windows your procedure of rtmpsrv (one for each user) but the system hangs (Mac OSX 10.6.5). (Notes: ipfw configurations can be seen with: sudo /sbin/ipfw list; they are deleted with rebooting, or manually changing add by delete. Question: What signify the number 40 in this sudo?).
I have also tryed redirecting by editing /etc/host, as explained in my previous post in this thread, but only I get information from ./rtmpsuck (rtmpsrv gaves me a bus error).
Thanks in advance for answers.