OS Manuals

/usr/bin/rtmpdump

rtmpdump is a toolkit for RTMP streams

From rtmpdump 2.6_git20260617-r4 (os), captured 2026-11-05 by running rtmpdump --help (exit 0). permalink

RTMPDump v2.6
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

/usr/bin/rtmpdump: This program dumps the media content streamed over RTMP.

--help|-h               Prints this help screen.
--url|-i url            URL with options included (e.g. rtmp://host[:port]/path swfUrl=url tcUrl=url)
--rtmp|-r url           URL (e.g. rtmp://host[: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 num       Overrides the protocol in the rtmp url (0 - RTMP, 2 - RTMPE)
--playpath|-y path      Overrides the playpath parsed from rtmp url
--playlist|-Y           Set playlist before playing
--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 target app on server
--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
--swfAge|-X days        Number of days to use cached SWF hash before refreshing
--auth|-u string        Authentication string to be appended to the connect string
--conn|-C type:data     Arbitrary AMF data to be appended to the connect string
                        B:boolean(0|1), S:string, N:number, O:object-flag(0|1),
                        Z:(null), NB:name:boolean, NS:name:string, NN:name:number
--flashVer|-f string    Flash version string (default: "LNX 10,0,32,18")
--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)
--realtime|-R           Don't attempt to speed up download via the Pause/Unpause BUFX hack
--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: 30)
--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
--jtv|-j JSON           Authentication token for Justin.tv legacy servers
--hashes|-#             Display progress with hashes, not with the byte counter
--buffer|-b             Buffer time in milliseconds (default: 36000000)
--skip|-k num           Skip num keyframes when looking for last keyframe to resume from. Useful if resume fails (default: 0)

--quiet|-q              Suppresses all command output.
--verbose|-V            Verbose command output.
--debug|-z              Debug level command output.
If you don't pass parameters for swfUrl, pageUrl, or auth these properties will not be included in the connect packet.
Options (35)
OptionDescriptionSource
--rtmp -rURL of the server and media content.man
--host -nOverrides the hostname in the RTMP URL.man
--port -cOverrides the port number in the RTMP URL.man
--protocol -lOverrides the protocol in the RTMP URL.man
--socks -SUse the specified SOCKS4 proxy.man
--app -aName of application to connect to on the RTMP server.man
--tcUrl -tURL of the target stream.man
--pageUrl -pURL of the web page in which the media was embedded.man
--swfUrl -sURL of the SWF player for the media.man
--flashVer -fVersion of the Flash plugin used to run the SWF player.man
--auth -uAn authentication string to be appended to the Connect message.man
--conn -CAppend arbitrary AMF data to the Connect message.man
--playpath -yOverrides the playpath parsed from the RTMP URL.man
--playlist -YIssue a set_playlist command before sending the play command.man
--live -vSpecify that the media is a live stream.man
--subscribe -dName of live stream to subscribe to.man
--realtime -RDownload approximately in realtime, without attempting to speed up via Pause/Unpause commands ("the BUFX hack").man
--resume -eResume an incomplete RTMP download.man
--skip -kSkip num keyframes when looking for the last keyframe from which to resume.man
--start -AStart at num seconds into the stream.man
--stop -BStop at num seconds into the stream.man
--buffer -bSet buffer time to num milliseconds.man
--timeout -mTimeout the session after num seconds without receiving any data from the server.man
--token -TKey for SecureToken response, used if the server requires SecureToken authentication.man
--jtv -jJSON token used by legacy Justin.tv servers.man
--swfhash -wSHA256 hash of the decompressed SWF file.man
--swfsize -xSize of the decompressed SWF file.man
--swfVfy -WURL of the SWF player for this media.man
--swfAge -XSpecify how many days to use the cached SWF info before re-checking.man
--flv -oSpecify the output file name.man
--hashes -#Display streaming progress with a hash mark for each 1% of progress, instead of a byte counter.man
--quiet -qSuppress all command output.man
--verbose -VVerbose command output.man
--debug -zDebug level output.man
--help -hPrint a summary of command options.man
Exit status (3) from the manual page
0Successful program execution.
1Unrecoverable error.
2Incomplete transfer, resuming may get further.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.