RTMPDump 2.4 binaries for OS X 10.7 Lion
I just got word from a commenter that RTMPDump 2.4 is out (thanks!). Since the release of Xcode 4 I have been unable to compile the RTMPDump binaries using the supplied Makefile. Actually, the binaries are all there but I always get a signal fault when the rtmpdump binary tries to establish a connection to a target server. I had to resort to plan B which was to import the RTMPDump sources into Xcode and to create a proper console application project.
Since I’m an Xcode noob that was quite a steep learning curve, I tell ya!
Eventually, I succeeded to build combined Intel 32/64 bit binaries but I’ve been unable to verify if they run in OS X versions older than 10.7 Lion. Let me know. Apparently, the rtmpdump binary runs fine in Snow Leopard as well. I’m not sure about rtmpgw, rtmpsrv and rtmpsuck though, so let me know if they’re working properly as well.
Check out the downloads area for the RTMPDump 2.4 package installer.
The package installer will install the librtmp library to /usr/local/lib and the rtmpdump binaries to /usr/local/bin.
Comments(44)








Hello !
Can someone explain how to build RTMPDump from source under 10.7.3 Lion and Xcode 4.2.1 ?
Thanks.
Installed the package but keep getting “No suitable image found. Did find: /usr/local/lib/librtmp.dylib: stat() failed with errno=13″ error.
Any advice?
*Did try using your 2.3 build which appears to work but all streams fail with the error “NetStream.Play.StreamNotFound”, yet the stream plays perfectly fine under Windows using rtmpdump 2.4.
So I installed this on 10.7.3, but I cant find where it went…where is it. No usr/local/bin to install to
Timmyd, open terminal then type ‘cd /usr/local/bin’ (without the quotes). Then it’s ‘./rtmpdump’ to execute.
You might have to run the shell under your account though (bash/shell), which case it’s ‘su (your username)’ and it’ll ask for your password.
Still getting the librtmp errors though, hopefully Jan will be able to help.
Hello !
Because the lib is missing in /usr/ … – it is the same as if you build it as described in the README. If someone is interested, here is a tutorial how to build RTMPDump from git source.
http://www.mac.ph/build-rtmpdu.....ource-code
P.S. : my question is already answered.
I was getting some build problems. I’d hacked the Makefile to make it build successfully, but then I got segfaults.
I then realised none of that was necessary (“git reset –hard” time). All I needed to do was run “make SYS=darwin” (and “make SYS=darwin install”), and it worked great.
Make sure you are using the git version from git://git.ffmpeg.org/rtmpdump (the tarballs are outdated).
Dear all who got the “Installed the package but keep getting “No suitable image found. Did find: /usr/local/lib/librtmp.dylib: stat() failed with errno=13″ error :
just change the permission on the folder and content :
sudo chmod -R 755 /usr/local/lib
Et voilà !
Hi there, I’m getting the following error with version 2.4:
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
Any ideas?
Hi, how to uninstall this package?
Like any other package on OSX.
http://bit.ly/NhivIK
Your binary of rtmpdump 2.4 failed for me on Snow Leopard (10.6.8). It just hangs and the entire system grinds to a halt. You have to restart.
Your binary of 2.3 for Snow Leopard did work though.
I was calling both indirectly, through get_iplayer.
If it grinds the entire system to a halt, there’s no way the binary itself is at fault.
@Jeremy, you may be right. It hung just after saying “Connected” and didn’t appear to actually be downloading anything.
I don’t have the knowledge to diagnose any further. 2.3 seems to work for now anyway.
Out of interest, and if you have time to think about it, what do you think the problem with 2.4 might be? Would compiling in Xcode help ( not that I’d know how to do that necessarily!)?
I ran the pkg installer which said installation was successful, but it doesn’t appear to have installed anything. At least, not into /usr/local/bin or /usr/local/lib. Any ideas?
I’m running 10.7.2.
After install of rtmpdump 2.4, how will I start it? No app in applications, and I don’t find it from the unix command prompt either.
sukoshi$ rtmpdump
RTMPDump 2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (–host) or url (-r “rtmp://host[:port]/playpath”) containing a hostname
As explained by Laurent on April 11, 2012 at 06:35:
Also note that you need to apply a fix regarding the permissions :
http://trick77.com/2011/07/30/.....mment-3776
From my home directory (and others) I get:
$rtmpdump
-bash: rtmpdump: command not found
Using osx 10.7.5
Hi Jonas D,
Read the comments, this has been adressed here:
http://trick77.com/2011/07/30/.....mment-3398