我想用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