VLC webm streaming
Posted: 21 Jan 2011 10:49
Hello All!
I am trying to make a webm stream using vlc. Here is the command line:
In log, VLC recognizes "webm" type and uses mux=ffmpeg{mux=webm}, is it correct?
Anyway, these settings make VLC start a stream.
However Chrome cannot play the video. Here is html:
If i convert 1.mp4 to 1.webm and point Chrome directly to the file -- all is ok.
If I try to stream preconverted to webm file with VLC -- fail.
What could be my trouble?
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?