【发布时间】:2012-04-26 18:39:12
【问题描述】:
我希望 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
【问题讨论】:
标签: streaming video-streaming vlc http-streaming