使用VLC将RTSP提要作为HTTP Live Stream进行流式处理 [英] Use VLC to stream RTSP feed as HTTP Live Stream

查看:370
本文介绍了使用VLC将RTSP提要作为HTTP Live Stream进行流式处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows服务器中安装了非常高质量的RTSP提要.我正在尝试使用VLC将其作为Http Live Streaming重新传输.

I have a really high quality RTSP feed coming into a windows server. I'm attempting to use VLC to restream it as Http Live Streaming.

有人知道是否可以通过VLC的图形用户界面(而不是命令行)来建立此流吗?如果可以,怎么办?

Does anyone know whether it is possible to establish this stream through VLC's graphic user interface as opposed to the command line? If so, how?

到目前为止(在这里和其他地方)我发现的示例都是命令行示例,而它们都没有起作用.

The examples I've found so far (on here and elsewhere) have all been command line examples and none of them have worked at all.

我很想听到任何实际使用Windows服务器将RTSP成功重播到HTTP实时流的人的来信.顺便说一句,我已经设置了网站来提供结果,但是无论尝试了什么,我都无法获得写入.ts文件的流.

I would love to hear from anyone who has actually accomplished a successful restream of RTSP to an http live stream using a windows server. Incidentally, I already have the website set up to serve the result, but I can't get the stream to write the .ts files regardless of what I've tried.

我很困惑.谢谢.

推荐答案

仅以以下命令为例:

vlc -I dummy rtsp://ip:port/blablabla--sout '#transcode{vcodec=h264,fps=20,vb=512,scale=1,acodec=none,venc=x264{aud,profile=high,level=60,keyint=15,bframes=0,ref=1,nocabac}}:duplicate{dst=std{access=livehttp{seglen=10,delsegs=true,numsegs=10,index=/var/www/live/mystream.m3u8,index-url=http://ip/live/mystream-########.ts},mux=ts{use-key-frames},dst=/var/www/live/mystream-########.ts},dst=std{access=http,mux=ts,dst=:8082/video.mp4}}'

这篇关于使用VLC将RTSP提要作为HTTP Live Stream进行流式处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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