Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 IP webcam and I want to serve the stream by a upnp server. What I need to do is simply; define a upnp device with the source url of IP web cam. Can you suggest such tool or script to do so ?


share|improve this question

This is a bit difficult to answer without knowing how the web cam provides its stream.

One server that will probably be able to do what you want is rygel. If you install it and the rygel-gst-launch plugin, you can configure it to serve arbitrary streams.

In the ~/.config/rygel.conf file, you'd need to include something like:

webcam-title=Web Camera
webcam-launch=souphttpsrc location=http://url-to-webcam-stream

Depending on the details of your webcam, you might need a different -mime and -launch lines. The launch line is a GStreamer pipeline description, as you might pass to gst-launch-0.10 (minus the parts used to display/play the stream).

share|improve this answer
I'll try this once I got to office and let you know here with the results. – Olgun Kaya Oct 1 '11 at 14:41

I think you can do that with VLC, play around with the inputs and outputs, activate streaming and that should set you up. If you need help setting this up let me know and I'll write a small guide when I get home.

share|improve this answer
need to got to office to test the solution. thanks. – Olgun Kaya Oct 1 '11 at 14:42

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.