Capture RTMP Stream

Recently I came across an rtmp streaming media which I wanted to capture for future references. I could not seem to save the media because the rtmp protocol is not recognized by the browser or player like VLC Lan. I tried Orbit Downloader which appeared at the top of the Google search list but it didn’t seem to work.

RTMP is a proprietary protocol developed by Macromedia (now a part of Adobe) for streaming audio, video and data over the Internet, between a Flash player and a server.

It seems that the most dominant method is to use RTMP DUMP. So I download one for Windows, and click the executable, but nothing happened. No program pops up – because it was never meant to be that way. After searching, I found that in order to stream rtmp with VLC, people pipe rtmp into VLC.

rtmpdump -v -r "rtmp://rtmp_url/filename.flv" -o - | "C:\Path\to\VLC\VLC.exe" -


But I didn’t want to just stream it, I wanted to capture it. Found this post that taught how to use RTMP DUMP. So essentially calling the rtmp.exe file, then pass in the parameters in command line form. The command line options for RTMP DUMP can be found here.

First traverse in the command prompt to the directory where rtmp.exe file is stored (because I don’t have rtmp path in my PATH variable). Then run the rtmpdump program with option -r (option -r means rtmp url), and option -o (option -o means output).

cd C:/Path/To/RTMP_DUMP_Folder/

rtmpdump.exe -r "rtmp://streaming/videoFile.flv" -o renamedFilepath.flv


It downloads as flv which I can use my vlc to view or converters to convert into avi form.