I am trying to play a picamera in raspberry pi 4 using vlc with raspivid/raspistill. When I give a command: sudo raspivid -o cam.jpg
then some errors come,
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates
raspi-config
?vcgencmd get_camera
to check it's enabled.