Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11You can view a Raspberry Pi camera from another device in two ways: send a stream directly from rpicam-vid to a compatible player, or send the camera feed to MediaMTX and let that server provide a browser or RTSP address. The direct route has fewer moving parts; MediaMTX is more convenient when viewers need different ways to connect.
Before you start
- Make sure the camera module is compatible with your Raspberry Pi board and connector. Compatibility varies by hardware; check Raspberry Pi’s camera documentation for your model.
- Connect the Pi and the viewing device to a network where they can reach one another. For the commands below, replace placeholders such as
<client-ip>and<port>with the receiving device’s address and the port you choose. - The current Raspberry Pi command-line camera tool is
rpicam-vid. Available camera modes and performance depend on the board, camera, encoding and network.
Way 1: Send a direct stream with rpicam-vid
This is the shorter route when you already know which device and player will receive the video. The sender and receiver must use matching transport, port and stream format settings.
As an Amazon Associate I earn from qualifying purchases.
Send an MPEG-TS stream over UDP
Raspberry Pi’s camera guide recommends considering MPEG-2 Transport Stream packaging when sending video over a network because player support for a bare H.264 stream can be inconsistent. One documented approach uses the libav backend:
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →rpicam-vid -t 0 -n --inline --libav-format mpegts -o udp://<client-ip>:<port>
Replace <client-ip> with the IP address of the device that will receive the video, and set a port that the receiving player is configured to listen on. Open that UDP stream in a compatible player, such as VLC, using the same address and port. The Raspberry Pi guide also documents other network arrangements, including TCP and an RTSP setup using VLC as a server; those require corresponding receiver or server configuration.
#1 Best Overall
- High-Definition video camera for Raspberry Pi Model A or B, B+, model 2, Raspberry Pi 3,3 B+, Pi 4, Pi 5(NOT for Pi Zero)
- 5MPixel sensor with Omnivision OV5647 sensor in a fixed-focus lens. Software auto focus lens: B07SN8GYGD
- Integral IR filter
- Still picture resolution: 2592 x 1944; Max video resolution: 1080p
- Check ASIN: B07RWCGX5K for OV5647 with acrylic case. Other optional accessories: ABS case (B09TNG4V55); Mini tripod case kit (B09TKYXZFG).
When this route makes sense
- You have one known viewer and want to avoid setting up a separate streaming server.
- You are comfortable configuring the player to match the chosen transport and port.
A direct stream does not create one universal viewing URL: the client must support the stream’s packaging and transport. Raspberry Pi cautions that VLC does not handle unencapsulated H.264 streams in the documented UDP example, so use a compatible format or player rather than assuming a bare H.264 stream will play everywhere.
Way 2: Use MediaMTX for browser or RTSP viewing
MediaMTX sits between the camera and viewers. It can use a Raspberry Pi camera as a source and expose viewer-facing endpoints, which is useful when you want a browser option as well as traditional RTSP clients.
Rank #2
- How to use: Before using this hq camera, please modify the config.txt file by adding dtoverlay=IMX477 (If connect to cam0 port on Pi5, add dtoverlay=IMX477,cam0);
- For all Raspberry Pi: This Arducam for Raspberry Pi camera is compatible with all Raspberry Pi;
- What you will get: 1 x Pi hq camera(with a 1/4" tripod adapter), 1 x dust cover, 1 x C-CS adapter, 1 x 15-22pin Pi camera cable, 1 x 15-15pin Pi camera cable;
- High resolution: This camera module can offer high-resolution images with its 12.3MP IMX477 sensor, the max resolution is 4056*3040 pixels.
- Wide Application: This RPI camera can be used as a 3D printer camera, or home security monitor and can serve for Artificial Intelligence, like facial recognition, high-speed capturing, and so on.
Configure a camera path
The Picamera2 manual shows a minimal MediaMTX configuration like this:
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →paths:
cam:
source: rpiCamera
rpiCameraBitrate: 10000000
The bitrate shown here is the manual’s example setting, not a universal recommendation. Save the configuration as mediamtx.yml for MediaMTX to use, then start MediaMTX according to its installation and operating instructions. The exact setup depends on how you installed it; the configuration example alone does not install or launch the server.
Rank #3
- What Will You Get: An 8mp Arducam for Raspberry Pi camera V2 with a 15cm original FFC cable for model A and B and a 15cm FPC cable for pi zero & w.
- Sensor: 8 megapixel IMX219, Max. resolution: 3280 (H) x 2464 (V)
- Frame Rates: 1080p47, 1640 × 1232p41 and 640 × 480p206
- Recommended Power Supply: DC 5V, above 1.8A
- Typical Usage Scenarios: this tiny camera board can be used for monitoring Octoprint 3D Printer, Home security and surveillance, dashcam or other machine vision application. Please search ASIN: B09TNG4V55/B09TKYXZFG to get Arducam for Raspberry Pi Camera ABS Case and Tripod Case Kit.
Open the stream from another device
With the example path named cam, use the Raspberry Pi’s network address in one of these documented endpoints:
- Browser:
http://<pi-ip-address>:8889/cam - RTSP player:
rtsp://<pi-ip-address>:8554/cam
Replace <pi-ip-address> with the Pi’s address. The browser endpoint is served by MediaMTX; it is not the same as opening the camera directly in a browser. If a viewer cannot connect, check that MediaMTX is running, that the path name matches, and that the relevant port is reachable from the viewing device.
Rank #4
- Pi compatible - Work natively with all Raspberry Pi models for your new project or drop-in replacement
- Both cables - 2 cables included so you can switch between the camera connectors for the Pi Zero and Model A&B series
- Specs - 5MP 1080P OV5647, crisp photos, and sharp videos with a decent frame rate
- Easy to use – Easy setup with paper instructions to help you activate the camera feature on Raspbian.
- Application: Small form factor for a tiny home video security system, monitoring 3D printer or other camera projects. Feel free to contact Arducam if you need any help with the product
When this route makes sense
- You want a server-style address that viewers can use from a browser or RTSP player.
- You may later need to distribute the camera feed through another protocol or integrate it with a more involved setup.
MediaMTX requires an additional server process and correct path and network-port configuration. Raspberry Pi also documents other third-party streaming servers, including MistServer and go2rtc, but the available guidance does not identify one as universally best.
Choose the route that fits your viewer
| Consideration | Direct rpicam-vid stream | MediaMTX server |
|---|---|---|
| Setup shape | The camera process sends video to a client or transport endpoint. | A server receives the camera feed and provides viewer-facing endpoints. |
| Viewer access | Depends on transport and player support. | Can provide RTSP and browser delivery, depending on configuration. |
| Good fit | A simple local stream with a known client. | Multiple client types or a stable server-style endpoint. |
| Main trade-off | Fewer moving parts, but sender and receiver settings must match. | More configuration and a separate server process. |
These are differences in setup, not a performance ranking. Latency, stability, resolution and CPU use depend on the specific board, camera mode, encoding, network, server and client.
Troubleshoot pauses and failed connections
If the viewer cannot connect
- Confirm that the address points to the correct device: the client’s address for the direct UDP example, or the Pi’s address for MediaMTX.
- Check that the sender and receiver use the same transport and port. For MediaMTX, also confirm that the configured path name matches the URL.
- Verify that the receiving device’s player supports the selected stream format. A bare H.264 stream may not work in a player that handles MPEG-TS correctly.
If UDP playback pauses
Raspberry Pi notes that undersized UDP receive buffers can lead to dropped data and visible pauses. If this appears to be the cause, its camera documentation provides Linux buffer-tuning guidance. For Raspberry Pi OS Bookworm, the documented settings belong in /etc/sysctl.conf, followed by reloading the settings or rebooting as directed in that guide. Do not change system buffer settings unless you are troubleshooting this specific symptom.
Advanced option: process frames with Python
For projects that need image processing or additional camera operations, the Picamera2 manual describes sending video from Python scripts to MediaMTX instead of using its plain native camera source. That approach adds code and setup, so it is not necessary for a basic live view.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




