Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?In Windows Run Command Prompt, go to the directory with rtmpdump.exe using cd command and run rtmpdump.exe .
rtmpdump basic usage Code:
rtmpdump -r "rtmp://host/dir/file.flv" -o filename.flv Code:
--help|-h Prints this help screen. --rtmp|-r url URL (e.g. rtmp//hotname[:port]/path) --host|-n hostname Overrides the hostname in the rtmp url --port|-c port Overrides the port in the rtmp url --protocol|-l Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE) --playpath|-y Overrides the playpath parsed from rtmp url --swfUrl|-s url URL to player swf file --tcUrl|-t url URL to played stream (default: "rtmp://host[:port]/app") --pageUrl|-p url Web URL of played programme --app|-a app Name of player used --swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes) --swfsize|-x num Size of the decompressed SWF file, required for SWFVerification --auth|-u string Authentication string to be appended to the connect string --flashVer|-f string Flash version string --live|-v Save a live stream, no --resume (seeking) of live strems possible --flv|-o string FLV output file name, if the file name is - print stream to stdout --resume|-e Resume a partial RTMP download --timeout|-m num Timeout connection num seconds --buffer|-b Buffer time in milliseconds, this option makes only sense in stdout mode --skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails SWF Verification Download the swf player you want to use for SWFVerification, unzip it using Code:
$ flasm -x file.swf Now generate the hash Code:
$ openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" file.swf Code:
$ ./rtmpdump --swfhash "123456..." --swfsize 987... |
#3
|
|||
|
|||
Re: How do you use rtmp dump?Quote:
Do i need any other programs to find the links or anything. |
#4
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?Yes, you need other programs to find RTMP URLs, find RTMPE stream URLs.
You may also need to find additional parameters. Sometimes you can find them from the source of the web-page. You can also use two additional server programs, rtmpsrv and rtmpsuck that come with rtmpdump 2.1: rtmpsrv is a stub for a server; it logs the connect and play parameters from a regular client that connects to it. These parameters can then be used with rtmpdump to retrieve a stream. rtmpsuck is a transparent proxy; it intercepts connections from a client and then makes an outbound connection to the real server. After all handshaking is complete and encryption keys with both sides are negotiated, it records the cleartext stream data into files while relaying the data from the server to the client. |
#5
|
|||
|
|||
Re: How do you use rtmp dump?Quote:
Also i found a new program called flazr I don't know how to use that either maybe you can help. |
#6
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?Tutorial on using rtmpdump:
Quote:
|
#7
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?rtmpdump 2.1 parameters
Code:
--help|-h Prints this help screen. --rtmp|-r url URL (e.g. rtmp//hotname[:port]/path) --host|-n hostname Overrides the hostname in the rtmp url --port|-c port Overrides the port in the rtmp url --socks|-S host:port Use the specified SOCKS proxy --protocol|-l Overrides the protocol in the rtmp url (0 - RTMP, 3 - RTMPE) --playpath|-y Overrides the playpath parsed from rtmp url --swfUrl|-s url URL to player swf file --tcUrl|-t url URL to played stream (default: "rtmp://host[:port]/app") --pageUrl|-p url Web URL of played programme --app|-a app Name of player used --swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes) --swfsize|-x num Size of the decompressed SWF file, required for SWFVerification --swfVfy|-W url URL to player swf file, compute hash/size automatically --auth|-u string Authentication string to be appended to the connect string --flashVer|-f string Flash version string (default: "LNX 10,0,22,87") --live|-v Save a live stream, no --resume (seeking) of live streams possible --subscribe|-d string Stream name to subscribe to (otherwise defaults to playpath if live is specifed) --flv|-o string FLV output file name, if the file name is - print stream to stdout --resume|-e Resume a partial RTMP download --timeout|-m num Timeout connection num seconds (default: 120) --start|-A num Start at num seconds into stream (not valid when using --live) --stop|-B num Stop at num seconds into stream --token|-T key Key for SecureToken response --hashes|-# Display progress with hashes, not with the byte counter --buffer|-b Buffer time in milliseconds (default: 36000000), this option makes only sense in stdout mode (-o -) --skip|-k num Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0) --quiet|-q Supresses all command output. --verbose|-V Verbose command output. --debug|-z Debug level command output. If you don't pass parameters for swfUrl, pageUrl, app or auth these propertiews will not be included in the connect packet. SWF Verification and rtmpdump 2.1 Unlike previous versions, rtmpdump 2.1 can compute hash/size of an SWF player automatically. You don't need to download the player, unpack it and compute its hash anymore. Just provide the URL to the SWF player by using the -W parameter: Code:
--swfVfy|-W url URL to player swf file, compute hash/size automatically |
#8
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?rtmpdump 2.2 now includes a formatted manual page...
RTMPDUMP(1) RTMPDUMP(1) NAME rtmpdump - RTMP streaming media clientSYNOPSIS rtmpdump -r url [-n hostname] [-c port] [-l protocol] [-S host:port] [-a app] [-t tcUrl] [-p pageUrl] [-s swfUrl] [-f flashVer] [-u auth] [-C conndata] [-y playpath] [-v] [-d subscription] [-e] [-k skip] [-A start] [-B stop] [-b buffer] [-m timeout] [-T key] [-w swfHash] [-x swfSize] [-W swfUrl] [-X swfAge] [-o output] [-#] [-q] [-V] [-z]DESCRIPTION rtmpdump is a tool for dumping media content streamed over RTMP.OPTIONS Network Parameters These options define how to connect to the media server.Connection Parameters These options define the content of the RTMP Connect request packet. If correct values are not provided, the media server will reject the connection attempt.Session Parameters These options take effect after the Connect request has succeeded.Security Parameters These options handle additional authentication requests from the server.Miscellaneous EXIT STATUS 0ENVIRONMENTSuccessful program execution.1Unrecoverable error.2Incomplete transfer, resuming may get further. HOMEFILESThe value of $HOME is used as the location for the .swfinfo file. $HOME/.swfinfoSEE ALSOCache of SWF Verification information rtmpgw(8)AUTHORS Andrej Stepanchuk, Howard Chu, The Flvstreamer Team RTMPDump v2.2a 2010-03-10 RTMPDUMP(1) |
#10
|
|||
|
|||
Re: How do you use rtmp dump (rtmpdump tutorials)?how to give a end to a livestream ? ctrl + v ?
|
Tags: how to, rtmpdump, rtmpdump tutorials, tutorial |
Thread Tools | |
Display Modes | |
|
|