将 rtsp 视频流转换为 http 流 [英] Convert rtsp video stream to http stream

查看:119
本文介绍了将 rtsp 视频流转换为 http 流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有实时视频流的 rtsp URL,我想将其作为 HTTP 流访问.有人可以告诉我是否有任何组件可以放在我的服务器上来执行此操作吗?

I have the rtsp URL for a live video stream which I would like to access as an HTTP stream. Can someone please tell me if there are any components out there which I can put on my server to do this?

我不知道如何实现这一点.不胜感激.

I do not have any idea how I can implement this. Would appreciate a heads up.

谢谢.

推荐答案

我认为最好的选择是使用 FFmpeg 或 VLC.两者都是开源软件,在爱好者中广泛使用,也作为多种不同服务的一部分.此外,两者都可以接收 RTSP 流并创建 HTTP 流(如果需要,还可以进行实时转码).

I would say that your best bet is to use either FFmpeg or VLC. Both are open source software and are widely used among hobbyists and also as a part of multiple different services. Also both can take in RTSP streams and create an HTTP stream (with live transcoding if needed).

FFmpeg 的 RTSP 支持最近有所改善,但 IMO VLC 目前(2010 年 5 月)更好.检查网站上的文档以试验命令行参数,以找到满足您需求的所需参数.FFmpeg 和 VLC 非常灵活,除了从 RTSP 流代理到 HTTP 之外,您还可以用它们做很多事情.

FFmpeg's RTSP support has improved as of lately, but IMO VLC is way better at the moment (May 2010). Check the documentation on the web sites for experimenting with the command-line parameters for finding the required ones to match your needs. FFmpeg and VLC are very flexible and you can do a whole lot of stuff with them in addition to proxying from RTSP stream to HTTP.

FFmpeg:http://www.ffmpeg.org/

VLC:http://www.videolan.org/vlc/

这篇关于将 rtsp 视频流转换为 http 流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆