How to Use Lede(MJPEG-stream) to mount two webcam?

I Have two webcam .Router aleady install two cam
video0 and video1,but anytime only select one to use by anyone can help to do.let two cams work together.

This has been on my "ToDo someday" list for over a year. Anyone with some Luci/Lua chops and the time to improve the luci-app-mjpg-streamer would be appreciated by several folks.


How did you do it? I have LEDE installed in x86 and although luci-app-mjpg-streamer is available, mjpg-streamer itself isn't. Where can I get it?

U can user comannd by winscp,like this:
first cam
mjpg_streamer -i "/usr/lib/ -f 10 -r 1280*720 /dev/video0 " -o "/usr/lib/ -c "adminuser:admin.0" -w ./www/webcam -p 8001"
second cam
mjpg_streamer -i "/usr/lib/ -f 10 -d /dev/video1 " -o "/usr/lib/ -c "adminuser:admin.0" -w ./www/webcam -p 8002"