Open gskluzacek opened 3 years ago
Hi Greg, thanks for taking the time to open an issue - really appreciate it!
In terms of segmentation fault, you should not be running the webcam server with python server.py
instead you should be running ./start.sh
to start gunicorn
server to enable production server.
Also currently this repo has only been tested on macbooks with built-in internal camera only but I'll try my best to help as much as possible! Could you make sure the plugged device is the default camera and all the necessary driver has been installed?
Hi Brian, Was Just wondering if you have had any issues with Segmentation faults when running the server.py script (i.e., python server.py)?
I'm running on a Mid 2011 MacMini with OS 10.13.6 (High Sierra) 8 GB RAM Over 450 GB disk space I've installed python 3.8.5 from python.org and created a virtualenv to run mjpeg_streamer under. I did the pip install -r requirements.txt and had no issues there.
I've tried with both a Logitech C920x Pro HD Webcam and a generic no name camera
I did not modify any of the capture settings in the script (60 fps, 1280 x 720)
When I run the script and then go to my web browser (Safari) load both the http://localhost:5001/stream and the http://localhost:5001/snap URLs, then repeatedly refresh the page (command R), the segmentation fault occurs.
The server.py script will exit, without any errors and then I will get a problem report window![image](https://user-images.githubusercontent.com/15515/95688142-78557600-0bcd-11eb-8898-99660057dd5c.png)
here is the crash log: