Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a security camera and I want to stream using something different than mjpeg. So far, I am able to stream and play in firefox/chromium using theora. These are pipelines:

gst-launch-0.10 v4l2src ! ffmpegcolorspace ! theoraenc quality=3 ! queue ! oggmux name=mux alsasrc ! audio/x-raw-int,rate=8000,channels=1,depth=8 ! queue ! audioconvert ! vorbisenc ! queue ! mux. mux. ! queue ! shout2send ip=localhost port=8000 password=hackme mount=/entrance-camera.ogg

The thing here is that I want to use webm, encoding the video in vp8. I tried using vp8enc instead of theoraenc but I get:

Redistribute latency...
notification: This doesn't look like a Speex file

I don't want audio in the stream, so I guess that could ease things a little.

share|improve this question
If you can't resolve your problem with gstreamer, VLC can stream video in webm format. – Rufo El Magufo Aug 18 '11 at 17:48
Do you know what is the syntax to stream from v4l2? – Tomas Aug 18 '11 at 18:12
I've used only this feature with the graphic version but the documentation has a section for this videolan.org/doc/streaming-howto/en/ch10.html. – Rufo El Magufo Aug 18 '11 at 18:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.