Skip to content

USB Camera not working #183

@rednax718

Description

@rednax718

I was able to install and confirm that the rtsp stream of the test image is working. I can also view the USB cam as a recording device in VLC. Note I am using a Pi 5.

However when trying to run the USB cam in RPOS i get the following errors.


> `admin@raspberrypi:~ $ cd rpos
> admin@raspberrypi:~/rpos $ node rpos.js
> Read IP address 10.72.178.245 from eth0
> Manufacturer : Raspberry Pi
> Model : 5
> HardwareId : 
> SerialNumber : 7d8c9a2dc7e87831
> FirmwareVersion : 2.1.0
> Starting camera settings webserver on http://10.72.178.245:8081/
> The pixelformat index was invalid
> Error setting controls: Permission denied
> Could not retrieve Controlvalue 'red_balance'
> Could not retrieve Controlvalue 'blue_balance'
> Could not retrieve Controlvalue 'horizontal_flip'
> Could not retrieve Controlvalue 'vertical_flip'
> Could not retrieve Controlvalue 'color_effects'
> Could not retrieve Controlvalue 'rotate'
> Could not retrieve Controlvalue 'color_effects_cbcr'
> Could not retrieve Controlvalue 'video_bitrate_mode'
> Could not retrieve Controlvalue 'video_bitrate'
> Could not retrieve Controlvalue 'repeat_sequence_header'
> Could not retrieve Controlvalue 'h264_i_frame_period'
> Could not retrieve Controlvalue 'h264_level'
> Could not retrieve Controlvalue 'h264_profile'
> Could not retrieve Controlvalue 'auto_exposure_bias'
> Could not retrieve Controlvalue 'white_balance_auto_preset'
> Could not retrieve Controlvalue 'image_stabilization'
> Could not retrieve Controlvalue 'iso_sensitivity'
> Could not retrieve Controlvalue 'exposure_metering_mode'
> Could not retrieve Controlvalue 'scene_mode'
> Could not retrieve Controlvalue 'compression_quality'
> Binding DeviceService to http://10.72.178.245:8081/onvif/device_service
> Binding MediaService to http://10.72.178.245:8081/onvif/media_service
> Binding PTZService to http://10.72.178.245:8081/onvif/ptz_service
> Binding ImagingService to http://10.72.178.245:8081/onvif/imaging_service
> discovery_service started
> Starting rtsp server
> media_service started
> ptz_service started
> device_service started
> imaging_service started
> rtspServer: INFO:root:StreamServer initialized
> INFO:root:Video settings loaded from v4l2ctl.json
> DEBUG:root:StreamServer.launch
> INFO:root:USB camera ignored most of the parameters
> DEBUG:root:( v4l2src is-live=true device=/dev/video0 brightness=0 contrast=30 saturation=54 ! queue ! jpegdec ! clockoverlay ! queue ! x264enc tune=zerolatency ! h264parse ! rtph264pay name=pay0 pt=96 )
> INFO:root:Starting service on port 8554 at url /h264
> 
> rtspServer: INFO:root:Running RTSP Server
> `
> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions