![Forrest logo](/images/logo.png)
rtmpdump:tldr:b3068
The command rtmpdump
is a command-line tool used to download or stream videos from the internet using the Real Time Messaging Protocol (RTMP).
Here is an explanation of the command:
-
--rtmp
: This option specifies the RTMP URL that points to the video file to be downloaded or streamed. The${rtmp:--example-com-path-to-video}
part is a placeholder that indicates the default RTMP URL in case the variablertmp
is not defined. For example, if thertmp
variable is set tortmp://example.com/path-to-video
, it will be substituted in the command. -
--swfVfy
: This option specifies the URL of the SWF player to be used for verification. The${http:--example-com-player}
part is a placeholder that indicates the default SWF player URL in case the variablehttp
is not defined. For example, if thehttp
variable is set tohttp://example.com/player
, it will be substituted in the command. -
--flashVer "${LNX 10,0,32,18}"
: This option specifies the version of Flash Player to be used. The"${LNX 10,0,32,18}"
part is a placeholder that indicates the default Flash Player version in case the variableLNX
is not defined. For example, if theLNX
variable is set toLNX 11,0,0,0
, it will be substituted in the command. -
-o
: This option specifies the output file name or path for saving the downloaded or streamed video. The${file-ext}
part is a placeholder that indicates the output file name with the appropriate file extension based on the video being downloaded. For example, if the video is a.flv
file, the output file will have the same name and extension.
Overall, this command allows you to download or stream a video from an RTMP URL, using a specific SWF player for verification and a specific version of Flash Player, and save it to a specified output file.