Streaming 从vlc到html5视频的流媒体传输

Streaming 从vlc到html5视频的流媒体传输,streaming,video-streaming,vlc,http-streaming,Streaming,Video Streaming,Vlc,Http Streaming,我希望html5视频标签能够打开vlc流,但我不知道这是否可行 现在,我正在尝试使用VLC播放网络上另一台计算机上的文件 服务器的设置包括: me@kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,heigh

我希望html5视频标签能够打开vlc流,但我不知道这是否可行

现在,我正在尝试使用VLC播放网络上另一台计算机上的文件

服务器的设置包括:

me@kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=localhost:8181/graph.ogg}' --ttl=3
当我在同一台机器上打开http流时,它工作正常。当我尝试从另一台计算机播放流时,问题就开始了。从Chrome,我得到了信息

Oops! Google Chrome could not connect to 192.168.178.23:8181
VLC无法连接

不知何故,流似乎无法在本地主机之外运行

有人能帮忙吗

编辑:根据之前的问题/答案,我实际上已经有了dst=:8181。将ttl设置为20并不能神奇地解决问题

以下是我遇到相同问题的命令:

me@kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=60 --sout '#transcode{vcodec=theovb=800,scale=1,width=800,height=600,acodec=none}:http{mux=ogg,dst=:8181/graph.ogg}' --ttl=20

您应该尝试端口:8080,就像您自己的计算机一样,使用Chrome并键入

127.0.0.1:8080/graph.ogg
对于你的网络,观看这段视频,你可以看到非常好的画面


我希望能帮上忙

在示例中指定在本地主机上侦听,“dst=localhost:8181”。这意味着您无法从计算机外部访问流。尝试将其更改为“dst=0.0.0.0:8181”或在您的外部ip地址上更改为“dst=192.168.178.23:8181”。

在超级用户处回答: