3
我想将我的桌面流式传输到其他设备,如ps3,平板电脑或智能电视。vlc mp4流向html5播放器
最简单的解决方案,我认为是vlc流媒体存储在本地服务器上的html5页面。我开始VLC在我的命令行与以下转码设置:
:sout=#transcode{vcodec=h264,vb=100,scale=0,acodec=mpga,ab=96,channels=2,samplerate=44100}:standard{access=http,mux=ts{use-key-frames},dst=:8080}
的HTML代码:
<video width="704" height="396" controls="controls" loop="loop" autoplay="autoplay">
<source src="http://####:8080/" type="video/mp4" />
Your browser does not support the video tag.
</video>
我可以在不同的机器上观看流进VLC。根据这个帖子:
Streaming mp4 with vlc to html browser
mux=mp4
不会创建一个工作流。也报告在vlc manual。除非我弄错了,否则他们将ts
定义为h264的合适复用器。
那么线索在哪里?