How to download a rtmp stream on Linux?
Posted on In QAHow to download a rtmp video stream on Linux?
You can use mplayer
to dump the rtmp stream like:
mplayer -dumpstream rtmp://example.com/path/to/stream.mp4
It will generate ./stream.dump
and you can rename it to the file with the extension you need like stream.mp4
.
The rtmp link usually can be found from the HTML or JavaScript source code of the webpage if you just have a web url.