snippetbashTip
rtmpdump — Dump media content streamed over the RTMP protocol. More information: <https://rtmpdump.mplayerhq.hu
Viewed 0 times
commandcontentclirtmpdumpdumpoverstreamedmedia
Problem
How to use the
rtmpdump command: Dump media content streamed over the RTMP protocol. More information: <https://rtmpdump.mplayerhq.hu/rtmpdump.1.html>.Solution
rtmpdump — Dump media content streamed over the RTMP protocol. More information: <https://rtmpdump.mplayerhq.hu/rtmpdump.1.html>.Download a file:
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-o|--flv]}} {{file.ext}}Download a file from a Flash player:
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-W|--swfVfy]}} {{http://example.com/player}} {{[-f|--flashVer]}} "{{LNX 10,0,32,18}}" {{[-o|--flv]}} {{file.ext}}Specify connection parameters if they are not detected correctly:
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-a|--app]}} {{app_name}} {{[-y|--playpath]}} {{path/to/video}} {{[-o|--flv]}} {{file.ext}}Download a file from a server that requires a referrer:
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-p|--pageUrl]}} {{http://example.com/webpage}} {{[-o|--flv]}} {{file.ext}}Code Snippets
Download a file
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-o|--flv]}} {{file.ext}}Download a file from a Flash player
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-W|--swfVfy]}} {{http://example.com/player}} {{[-f|--flashVer]}} "{{LNX 10,0,32,18}}" {{[-o|--flv]}} {{file.ext}}Specify connection parameters if they are not detected correctly
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-a|--app]}} {{app_name}} {{[-y|--playpath]}} {{path/to/video}} {{[-o|--flv]}} {{file.ext}}Download a file from a server that requires a referrer
rtmpdump {{[-r|--rtmp]}} {{rtmp://example.com/path/to/video}} {{[-p|--pageUrl]}} {{http://example.com/webpage}} {{[-o|--flv]}} {{file.ext}}Context
tldr-pages: common/rtmpdump
Revisions (0)
No revisions yet.