2019-11-17 20:55:54 +00:00
|
|
|
# rtmpdump
|
|
|
|
|
2024-02-14 20:25:13 +00:00
|
|
|
> Dump media content streamed over the RTMP protocol.
|
2019-11-17 20:55:54 +00:00
|
|
|
> 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}}`
|