我想用html5视频标签打开vlc流,但我不知道这是否可能。从vlc流到html5视频
现在,我只是试图从网络上的另一台计算机使用VLC播放文件。
服务器的设置是:
[email protected]:~$ 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并不会奇迹般地解决问题。
下面是我和遇到同样的问题命令:
[email protected]:~$ 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
以超级用户的身份回复: http://superuser.com/questions/412476/vlc-streaming-over-the-network/ – Indrek 2012-04-14 20:40:11