VLC webm streaming

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Rulikkk
New Cone
New Cone
Posts: 1
Joined: 21 Jan 2011 10:43

VLC webm streaming

Postby Rulikkk » 21 Jan 2011 10:49

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?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC webm streaming

Postby VLC_help » 21 Jan 2011 14:41

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.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 104 guests