mirror of https://github.com/CrimsonTome/tldr.git
21 lines
765 B
Markdown
21 lines
765 B
Markdown
# rtmpdump
|
|
|
|
> A tool to dump media content streamed over the RTMP protocol.
|
|
> More information: <http://rtmpdump.mplayerhq.hu/>.
|
|
|
|
- Download a file:
|
|
|
|
`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} -o {{file.ext}}`
|
|
|
|
- Download a file from a Flash player:
|
|
|
|
`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --swfVfy {{http://example.com/player}} --flashVer "{{LNX 10,0,32,18}}" -o {{file.ext}}`
|
|
|
|
- Specify connection parameters if they are not detected correctly:
|
|
|
|
`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --app {{app_name}} --playpath {{path/to/video}} -o {{file.ext}}`
|
|
|
|
- Download a file from a server that requires a referrer:
|
|
|
|
`rtmpdump --rtmp {{rtmp://example.com/path/to/video}} --pageUrl {{http://example.com/webpage}} -o {{file.ext}}`
|