jacksonliam / mjpg-streamer

Fork of http://sourceforge.net/projects/mjpg-streamer/
3k stars 1.22k forks source link

raspicam start failed #176

Open sman2013 opened 5 years ago

sman2013 commented 5 years ago

When I use ./mjpg_streamer -i "input_raspicam.so" -o "output_http.so -w /www" to start mjpg, an error accur. mmal: mmal_component_create_core: could not find component 'vc.ril.camera' error create camera But when I use ./mjpg_streamer -i "input_uvc.so" -o "output_http.so -w /www", it works well. I don't know what's wrong with it.

djkraven commented 5 years ago

Are you using a USB connected camera or the RaspberryPi camera addon?

sman2013 commented 5 years ago

@djkraven RaspberryPi camera

slimcdk commented 5 years ago

Did you face the ribbon cable the correct way? Did you put the ribbon cable in the correct slot on the RPi (not in display slot tho it fits)

mcr222 commented 2 years ago

https://www.raspberrypi.com/documentation/accessories/camera.html

In order to work with new Raspbian, you need to enable legacy camera: https://www.raspberrypi.com/documentation/accessories/camera.html#re-enabling-the-legacy-stack