A- A+

How padavan uses usb camera

This document will be updated on December 4, 2023 Personal blog , Internet of Things
 padavan-usbcam

padavan-usbcam

Install entware

Many firmware come with them, not described in detail

Update Package

opkg update

Install mjpg streamer and related components

opkg install mjpg-streamer mjpg-streamer-input-uvc mjpg-streamer-output-http

Load kernel module

Modprobe is a command for loading and unloading kernel modules on Linux systems. If you want to uninstall and use modprobe - r uvcvideo

modprobe uvcvideo

Set environment variables (restore (uninstall) with unset LD_LIBRARY_PATH)

export LD_LIBRARY_PATH=/opt/lib

Start mjpg streamer

mjpg_streamer -b -i "input_uvc.so -y -r 640x480 -f 4" -o "output_http.so -p 12345 -w /opt/share/www/webcam -c username:password"

 

label:

Leave a message to Zhang Ziran's personal blog