guysoft / OctoPi

Scripts to build OctoPi, a Raspberry PI distro for controlling 3D printers over the web
GNU General Public License v3.0
2.45k stars 368 forks source link

Running mjpg-streamer with no parameters #430

Open kruuth opened 6 years ago

kruuth commented 6 years ago

Is there a way to run mjpg-streamer with no parameters? If I kill the daemonized process and run this:

mjpg_streamer -i "./input_uvc.so" -o "./output_http.so"

I can stream from my webcam. However, even after getting rid of the options in boot.txt this is still happening. Do I need to edit the webcam daemon file in root despite it saying not to do that?

ntoff commented 6 years ago

When you say you removed the options in "boot.txt" (I assume you meant /boot/octopi.txt) did you mean you set it as empty like this camera_usb_options="" or you straight up deleted any reference to the options in octopi.txt?

kruuth commented 6 years ago

Sorry. I meant that I removed the options in boot.txt but that didn't do anything. I wound up having to remove the values in the webcamd file under camera_usb_option in order for it to work because no matter what happened it was still using these.