'HTTP Streaming from VLC freezes after 15 seconds

I'm trying to use VLC to create a live http stream from a ubuntu desktop to an html5 video tag.

Here's the command I use to create the stream:

me@kaffeesatz:~$ vlc screen:// --screen-left=67 --screen-top=53 --screen-width=800 --screen-height=600 --screen-fps=15 --sout '#transcode{vcodec=theo,vb=800,scale=0.25,width=800,height=600,acodec=none}:http{mux=ogg,dst=:8181/graph.ogg}' --ttl=3

For testing purposes, I opened the stream on another machine using VLC, so I ruled out that it;s the video tag that's hanging. The player displays a frame near the beginning of the opened stream, but then doesn't update.

When opening the file in a firefox video element, 15 seconds of the stream are displayed, not more.

Are my streaming settings wrong?

More info: I'm using Ubuntu 11.10 to stream the window, and Windows 7 to play the stream.



Solution 1:[1]

This might help you: How to use VLC live streams with HTML5 video?

Live/Real Time Streaming: VLC was used and in order to make it work I had to navigate around WebGL/HTML5 Video security restrictions.

It happens that video streams that do not originate from the same web server and web context or sub-context it will not be played due to security restrictions.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community