I am trying to make a webm stream using vlc. Here is the command line:
Code: Select all
start vlc -vvvvv -I dummy c:\Users\sysop\Videos\1.mp4 :sout=#transcode{vcodec=VP80,vb=400,fps=20,scale=1,acodec=vorb,ab=128,channels=2,samplerate=44100}:http{dst=:8080/1.webm} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep
Anyway, these settings make VLC start a stream.
However Chrome cannot play the video. Here is html:
Code: Select all
<html>
<head><title>Hello, video tag!</title>
</head>
<body>
<video autoplay="autoplay" controls="controls">
<source src="http://127.0.0.1:8080/1.webm" type='video/webm; codecs="vp8, vorbis"'>
your browser does not support the video tag
</video>
</body>
</html>
If I try to stream preconverted to webm file with VLC -- fail.
What could be my trouble?