Configuring the UV4L-RaspiCAM

The configuration file can be found at /etc/uv4l/uv4l-raspicam.conf and is used to configure the initial video stream. There are default settings that are used, and the following bullet points are settings found within the file that you may be interested in changing manually for your own use.

Note

These are some typical settings that you may want to use if capturing a stream using VLC. The driver is adaptive and will change configurations if you request MJPEG stream, or it will start a WebSockets stream from the browser, technically allowing you multiple streams. Multi-streaming is experimental, though.

Here are some typical settings:

  • Encoding:

    Streaming: H264, mjpeg, jpeg, yuv420

    Specialist: nv21, yvu420, rgb565, rgb565x, ...

Get Raspberry Pi 2 Server Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.