Oct 13, 2014 - Free Download RTMPDump 2.4 - A media content dumper. In order to use it, you have to specify the hostname or the URL containing a. This allows to download RTMP and RTMPE streams using freeware RTMPdump automatically. Windows 7 64-bit Ease of use. = Windows download version.
RTMPDump is a free software project dedicated to develop a toolkit for RTMP streams. The package includes three programs,
rtmpdump
, rtmpsrv
and rtmpsuck
.![Rtmpdump windows Rtmpdump windows](http://2.bp.blogspot.com/-7fDI3kVmZ8Q/U2pn_cmxnRI/AAAAAAAABd8/t894YTbpRUs/s1600/2014-05-07_18-45-11.jpg)
rtmpdump
is used to connect to RTMP servers just like normal Flash video player clients, and capture the stream from the network, and save it to a file. With it, commands may be constructed using connection and authentication information previously obtained from the RTMP server byrtmpsrv
.rtmpsrv
is used to watch connections and streamsrtmpsuck
can also be used to capture streams, but can be used to detect parameters to be used withrtmpdump
[1][2]
It has been reviewed as 'an excellent utility for recording streams broadcasting TV and video on demand'[1] and has been used in academic research on video streaming rate selection[3] and a developmental media framework.[4] The utility has been noted for its small size and its ability to decrypt both RTMPE (Encrypted RTMP) and RTMPS (Secure RTMP) Digital Rights Management technologies.[5]Adobe Systems Inc. asserted that
rtmpdump
, in a 2009 Digital Millennium Copyright ActCease and Desist order issued against SourceForge, 'can be used' to infringe copyrights, without claiming actual use.[6] As of 2009, Sourceforge had removed the project files, providing the message 'The project specified has been flagged as deleted'.[5] From November 2009 onwards, the project has been hosted as a Git repository at MPlayer's website, MplayerHQ.hu.[7]- 1On-demand streams
On-demand streams[edit]
In negotiating a connection, an RTMP client sends and receives a data stream containing multiple elements, as a single command line. An on-demand stream typically includes the following elements:[8]
For a Limelight server[edit]
- -r rtmp://<server address>
- -a: authentication elements (the alternative --app may be used instead)
- Typically in the format -
{application}?as={data}&av={data}&te={data}&mp={data}&et={data}&fmta-token={data} - application: A path address. For example, a1414/e3
- as: For example, as=adobe-hmac-sha256
- av: For example, av=1
- te: For example, te=connect
- mp: Typically, two or more comma-separated URL addresses, for alternative bitrate streams (MPEG format, MP3 or MP4)
- et: Typically, a ten-character number (numerical)
- fmta-token: Typically, a 64-character authentication (auth) string [that is, an authentication token] (alphanumeric)
- Typically in the format -
- -y: playpath (URL address of the desired bitstream, one of those specified in mp above)
- Typically, in the format mp3:{path}/{filename}.mp3 or mp4:{path}/{filename}.mp4
- -o: Output filename
The foregoing are typically the only elements (or 'switches') that are essential to a connection, if neither Tunnelling nor Encryption are in use by the server. Although other elements may be encountered in practice, they are normally non-essential.
Hence the following elements are typically sent by the client software[9] application, as a single command line -
The parts comprising the -a (or --app) element must be incorporated in it in the order shown above, as the sequence in which its parts are received by the RTMP server is critical.
The authentication strings (et= and fmta-token=) contain session information, so will change on each fresh connection made to the server (which in practice typically means they will expire if a new session is begun, not literally on every attempt to resume a connection), but the other elements will not usually vary from session to session.
For an Akamai server[edit]
The command line is typically as above, except that the -a (or --app) element contains the following parts instead -
- auth: Typically, a 62-character authentication (auth) string [i.e. an authentication token] (alphanumeric)
- aifp: For example, aifp=v001
- slist: Typically, the URL address of the stream
![How to use rtmpdump windows 7 How to use rtmpdump windows 7](http://i.imgur.com/RmcNkhy.png)
Hence the following elements are typically sent by the client software application,[9] as a single command line -
The parts comprising the -a (or --app) element must be incorporated in it in the order shown above, as the sequence in which its parts are received by the RTMP server is critical.
The authentication string (auth=) contains session information, so will change on each fresh connection made to the server (typically, if a new session is begun, e.g. the computer is restarted, not literally on every attempt to resume a connection). The other parts will not usually vary from session to session.
Note - The above describes the simplified form, whereby the stream is first saved to the user's hard disk, to be played back thereafter in a media player capable of playing an FLV encoded file (H.263 or H.264 encoding), such as GOM Player. If it's desired, instead, to play the stream directly from the RTMP server, thus giving immediate playback, additional elements will be needed in the command line including -
-f: This specifies the version of the Flash plugin installed on the user's computer. For example, -f 'WIN 9,0,260,0' would indicate the user has the Windows version of Flash Player 9, release 260.
-W: The capital W command. This is the URL address of the SWF player used to play the stream, as indicated by the web page from which the stream is derived. For example, path/9player.swf?revision=18269_21576.
Live streams[edit]
The command line for an Akamai server is typically as for an Akamai on-demand stream. But the -a (or --app) element contains the following parts
- auth: Typically, a 62-character authentication (auth) string [i.e. an authentication token] (alphanumeric)
- aifp: For example, aifp=v001
- slist: Typically, the URL address of the stream, in the format xxxxx_x_@xxxx (e.g. Radio_7_Int@6463); or more than one URL if more than one bitrate is available [see note]
Note - If the slist string contains two or more alternative streams (i.e. offers a choice of streams at alternative bitrates), the playpath element (--playpath or -y) specifies the one chosen by the user, as the identifier item.
Hence the following sequence is typically sent by the client software application,[9] as a single command line -
All these items are mandatory, and must be included in the order shown above. The string following the ? (question mark) in both the -a and --playpath elements will typically be identical. The identifier item will typically be a sub-set of the slist data (if the latter offers a choice), otherwise they too will be identical. The -o element can specify an output filename chosen by the user.
Specifying the complete playpath is unnecessary, as that element is constructed in memory by the client application. Typically, in memory it takes the following form -
-y xxxxx_x_@xxxx?auth=[62 characters]&aifp=v001&slist=xxxxx_x_@xxxx,xxxxx_x_@xxxx
References[edit]
- ^ ab'Learning rtmpdump Through Examples'. The PC Linux OS Magazine. Volume 51. April 2011.
- ^'Do you use rtmpdump?'. stream-recorder.com.
- ^Huang, Te-Yuan; Handigol, Nikhil; Heller, Brandon; McKeown, Nick; Johari, Ramesh (November 2012). 'Confused, Timid, and Unstable: Picking a Video Streaming Rate is Hard'(PDF). ACM Internet Measurement Conference. Boston.(Author pageArchived 2013-02-18 at the Wayback Machine)
- ^Chen, Hsiao-ting (陳孝庭) (July 13, 2011).'The Development of Efficiently Lightweight Media Framework for Media Editor and Live Video Streaming'. Taiwan: National Central University. MS Thesis.
- ^ abBär, Hans (3 December 2009). 'Protected Streaming und Konvertierung für die TV-Wiedergabe - (Protected Streaming and Converting for TV playback)'. In German. PC Magazin. p. 3.
- ^'Adobe claims rtmpdump 'can be used' to infringe'. ChillingEffects.org. May 8, 2009
- ^Compn (November 1, 2009). '2009-11-01, Sunday :: Updates'. MplayerHQ News. 'MPlayer is also hosting the rtmpdump project. rtmpdump is a program to download rtmp:// streams. It was previously hosted on SourceForge.'
- ^RTMPdump developer page
- ^ abcRTMPdump client software
External links[edit]
Retrieved from 'https://en.wikipedia.org/w/index.php?title=RTMPDump&oldid=910044735'
I just spent a day figuring out how to compile and thought I'd share as i haven't found a complete guide on the internet on how to do this, the build instructions from rtmpdump are horrible, and it's really quite easy once you know what to do.
Step 1. Install and configure Mingw
1. Goto http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/ and download and install mingw-get-inst-20120426.exe to c:mingw
2. Goto c:mingw and create a new folder c:mingwlocal
3. Goto start > computer > properties > advanced system settings > environment variables > path(in the bottom container) > edit ... add ;C:MinGWbin;C:MinGWlocalbin to the end
4. Goto C:MinGWmsys1.0 and double click on msys.bat and type in
5. You will find the specs file located in C:MinGWmsys1.0home(your username)specs
6. Open the specs file with a text editor. And follow the directions on http://www.mingw.org/wiki/SpecsFileHOWTO adding -I c:/mingw/local/include and -L c:/mingw/local/lib and moving the specs file to c:/mingw/lib/gcc/mingw32/<version>/specs
Step2. Install dependent libraries
1. Goto http://www.zlatkovic.com/libxml.en.html > download area and download libxml2-2.7.8.win32.ziplibxmlsec-1.2.18.win32.ziplibxslt-1.1.26.win32.zipxsldbg-3.1.7.win32.zipzlib-1.2.5.win32.zip
2. Open the zip archives and go down in folders until you see lib/bin/include Extract them to c:mingwlocal so that it's c:mingwlocalbin c:mingwlocallib c:mingwlocalinclude
3. Goto https://www.openssl.org/source/ and download openssl-1.0.1e.tar.gz to C:mingwlocal
note: Other distributions of openssl didn't have libssl and libcrypto libraries and would cause errors.
4. Open msys.bat again and type in
for MinGW (32 bit) do:
for MinGW-w64 do:
You may want to change
to
or
note: the directory you choose to install openssl to is set so it will have to remain if you want to use openssl in future.
Compile & install:
5. Copy over the files from c:/mingw/local/openssl or the dist directory so that they are combined with c:mingwlocalbin c:mingwlocallib c:mingwlocalinclude
reference: https://qt-project.org/wiki/Compiling-OpenSSL-with-MinGW
Step 3. Installing and building rtmpdump
1. Download and install http://code.google.com/p/msysgit/downloads/detail?name=Git-1.8.3-preview20130601.exe&c...r+official+git
2. Go to start menu > All Programs > Git > Git GUI > Clone Exisiting Repository
3. Source location: git://git.ffmpeg.org/rtmpdump (make sure there's no space at the end or it will fail)
Target directory: C:MinGWmsys1.0home(yourusername)rtmpdump replace (yourusername) with whatever directory you have.
4. Open msys.bat again and type in cd rtmpdump
5. Type in make SYS=mingw
6. Copy librtmp-0.dll from the librtmp folder in the rtmpdump directory to the rtmpdump directory with the .exe files.(I'm not sure why it compiles with a librtmp-0.dll dependency. If anyone knows how to compile without it, i would love to hear how.)
It should now be compiled with the resulting working .exe files located in the rtmpdump folder.
Enjoy