Page 1 of 1

VLC webm streaming

Posted: 21 Jan 2011 10:49
by Rulikkk
Hello All!

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
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:

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 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?

Re: VLC webm streaming

Posted: 21 Jan 2011 14:41
by VLC_help
The actual video player of chrome doesn't open the stream. If you press http://127.0.0.1:8080/1.webm link in browser, it starts to download it. I don't know why this happens.