2019-11-17 21:55:54 +01:00
|
|
|
# rtmpdump
|
|
|
|
|
2024-02-14 17:25:13 -03:00
|
|
|
> Dump media content streamed over the RTMP protocol.
|
2024-10-12 10:02:00 +02:00
|
|
|
> More information: <https://rtmpdump.mplayerhq.hu/>.
|
2019-11-17 21:55:54 +01:00
|
|
|
|
|
|
|
- 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}}`
|