GStreamer / Webcam ( Video 4 Linux )
GStreamer is a powerful toolkit for media processing and streaming. These scripts can also be used for capture cards and any Video 4 Linux devices.
31/08/2008 Use it!!
Click on the "GStreamer ( V4l )" or "GStreamer ( V4l2 )" icon on the desktop : Depending on the model of your webcam, your camera might be supported by Video 4 linux or Video 4 Linux 2. Alternatively, you can open a terminal and type the command "python /usr/local/bin/webcamstream-v4l.py" or "python /usr/local/bin/webcamstream-v4l2.py" .
The application should start and the first thing you see is something like this : The application is divided in two parts : the right part is the video window. You should see a blue message saying "Camera Started...ready to Stream". 2. the next step is to set up your parameters and start streaming Input devices : In this window, you can configure the audio and video devices to use for streaming : Video parameters : In this window, you can set the video parameters of your stream : Audio parameters : In this window, you can set the audio parameters of your stream : Server configuration : In this window, you _must_ set the server parameters for your connection. Icecast Meta Data : In this window, you can optionally fill more infornmations on your stream : Optionally, you can set up a recording file to record your program to : This should be done before starting streaming and the recording will start with the stream. Once you have set all the parameters for your stream ( the only mandatory part is the server configuration part ), you can start streaming using the connection button : 3. the next step is to check that the streaming is working Tips and Tricks
Please send bugs and comments to gissnetwork at gmail dot com , thanks.
Here, we document the gstreamer script for streaming with a webcam ( script webcamstream-v4l.py or webcamstream-v4l2.py ).
Try both applications and check which one activates your webcam.
If none of them show you a video capture, it is likely that your webcam is not supported in Linux.

If you have a red message saying "Error initializing camera...Check your devices", maybe you chose the wrong driver for your camera, try to use the other GStreamer script, respectively Video 4 Linux or Video 4 Linux 2.
The left part is the parameters window, containing various sections : input devices, audio settings, video settings, server configuration and recording option.
You should fill up the following configuration sections before starting streaming :
But if you started the wrong script, you can change it here.
Here this script can connect only to an icecast server and you must provide the following fields in red :
WARNING : it should be an .ogg mountpoint here, all video transmission in made in Ogg/Theora format.
Once you have clicked on the connection button, the video window should appear and a message saying 'Streaming at xx frames per second' should appear in green like this :
More recent cameras are likely to work with Video 4 Linux 2.
Back to main page.