linux推送rtmp流
How to download a rtmp video stream on Linux?
You can use mplayer
to dump the rtmp stream like:
您可以使用mplayer
转储rtmp流,如下所示:
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
.
它将生成./stream.dump
,您可以将其重命名为具有所需扩展名的文件,例如stream.mp4
。
The rtmp link usually can be found from the HTML or JavaScript