将 RTSP 流转换为 RTMP 流

发布于 2024-09-29 14:23:24 字数 1436 浏览 1 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

随心而道 2024-10-06 14:23:24

使用 FFMPEG,您可以将 rtsp 流转换为 rtmp

例如,

ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]"

在 ubuntu 或 linux 操作系统上运行上述语法。它将您的 rtsp 流转换为 rtmp 流

Using FFMPEG you can convert rtsp stream to rtmp

For Example

ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]"

run the above syntax on ubuntu or linux os . it will convert your rtsp stream to rtmp stream

心头的小情儿 2024-10-06 14:23:24

经过一些广泛的研究,我发现几乎所有 RTSP->RTMP“解决方案”提供商都使用 Wowza 2 来转换 RTSP->RTMP。就是这样。
一旦您告诉他们您还需要其他任何东西,例如将 MPEG4 第 2 部分转换为 MPEG4 第 10 部分(H.264),他们会告诉您他们不能这样做。

Wowza 3将于2011年10月发布,将有一个转码模块,除了RTSP->RTMP流转换之外,该模块还应该能够对内容进行转码。

其他潜在的选择是:
VLC播放器
移动播放器
FFmpeg

我仍在研究,完成后将更新此主题。

After some extensive research, I have found that almost all RTSP->RTMP "solution" providers use Wowza 2 to convert RTSP->RTMP. Thats it.
Once you tell them that you need anything else too, like to convert MPEG4 part 2 to MPEG4 part 10(H.264), they tell you that they cant do that.

Wowza 3, which will be released in October 2011, will have a transcoding module which which should be able to transcode the content in addition to RTSP->RTMP stream conversion.

other potential options are:
VLCplayer
mPlayer
FFmpeg

I am still researching and will update this topic once I am done.

游魂 2024-10-06 14:23:24

总结一下您的选择,您可以使用以下流媒体服务器之一:
Wowza、虚幻媒体服务器、crtmpserver、erlyvideo。它们都将接收 RTSP 流并使用 RTMP 重新流式传输。

To summarize your options, you can use one of the following streaming servers:
Wowza, Unreal Media Server, crtmpserver, erlyvideo. All of them will receive RTSP stream and re-stream it with RTMP.

如梦 2024-10-06 14:23:24

您也可以使用 Gstreamer。只需创建一个 rtsp/rtp 客户端(源),可选地将其通过管道传输到 mux(如果您需要任何转码,可以在此处附加)并接收到 rtmp。与VLC相比,性能会更快,而且与Wowza相比,它是免费的。

You can also use Gstreamer for it. Just create a rtsp/rtp client (source), pipe it to mux optionally (If you need any transcode, you can append here) and sink to rtmp. Compared to VLC, the performance will be faster and it is free compared to Wowza.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文