Motion-Project / motionplus

MotionPlus Home Page: https://motion-project.github.io/
GNU General Public License v3.0
308 stars 40 forks source link

No stream working when sound enabled #102

Closed Lemmiwinks closed 1 year ago

Lemmiwinks commented 1 year ago

Did you read the guide?

Yes

What is the base version number of MotionPlus being used?

0.1.x

What was the install method?

Built from source code

What is base architecture?

x86/x64

What is the distro being used?

Ubuntu

Disto version number

22.04

Camera/Sound type(s) being used?

v4l2 camera, Sound via PulseAudio

Describe the issue/problem and steps to reproduce

When enabling the sound in the config file the stream is not working. I also included the vlc log. Using the webcam and microphone inside my laptop via v4l2 and pulseaudio. Pulseaudio also reports that motionplus is recording audio. I need the audio in the live stream to take a look at my dog when he is alone at home and might bark. Thanks!

confs.zip

Relevant MotionPlus log output (at log_level 8)

motionplus 
[NTC][ALL][00:motionplus] conf_process: Processing config file /home/andy/.motionplus/motionplus.conf
[NTC][ALL][00:motionplus] conf_process: Processing config file /home/andy/.motionplus/camera1.conf
[NTC][ALL][00:motionplus] conf_process: Processing config file /home/andy/.motionplus/sound1.conf
[NTC][ALL][00:motionplus] log_init: Logging to syslog
[NTC][ALL][00:motionplus] log_init: MotionPlus 0.1.1-git-20230916-20a34d8 started
[NTC][ALL][00:motionplus] log_init: Using log type (ALL) log level (DBG)
[NTC][ALL][00:motionplus] mytranslate_init: Language: English
[INF][ALL][00:motionplus] conf_parms_log: Logging configuration parameters from all files
[INF][ALL][00:motionplus] Config file: /home/andy/.motionplus/motionplus.conf
[INF][ALL][00:motionplus] daemon                    off
[INF][ALL][00:motionplus] setup_mode                off
[INF][ALL][00:motionplus] pid_file                  
[INF][ALL][00:motionplus] log_file                  
[INF][ALL][00:motionplus] log_level                 8
[INF][ALL][00:motionplus] log_type                  ALL
[INF][ALL][00:motionplus] native_language           on
[INF][ALL][00:motionplus] device_name               
[INF][ALL][00:motionplus] device_id                 0
[INF][ALL][00:motionplus] device_tmo                30
[INF][ALL][00:motionplus] pause                     off
[INF][ALL][00:motionplus] target_dir                .
[INF][ALL][00:motionplus] watchdog_tmo              30
[INF][ALL][00:motionplus] watchdog_kill             10
[INF][ALL][00:motionplus] v4l2_device               
[INF][ALL][00:motionplus] v4l2_params               
[INF][ALL][00:motionplus] netcam_url                <redacted>
[INF][ALL][00:motionplus] netcam_params             
[INF][ALL][00:motionplus] netcam_high_url           <redacted>
[INF][ALL][00:motionplus] netcam_high_params        
[INF][ALL][00:motionplus] netcam_userpass           <redacted>
[INF][ALL][00:motionplus] libcam_device             
[INF][ALL][00:motionplus] libcam_params             
[INF][ALL][00:motionplus] width                     640
[INF][ALL][00:motionplus] height                    480
[INF][ALL][00:motionplus] framerate                 15
[INF][ALL][00:motionplus] rotate                    0
[INF][ALL][00:motionplus] flip_axis                 none
[INF][ALL][00:motionplus] locate_motion_mode        off
[INF][ALL][00:motionplus] locate_motion_style       box
[INF][ALL][00:motionplus] text_left                 
[INF][ALL][00:motionplus] text_right                %Y-%m-%d\n%T
[INF][ALL][00:motionplus] text_changes              off
[INF][ALL][00:motionplus] text_scale                1
[INF][ALL][00:motionplus] text_event                %Y%m%d%H%M%S
[INF][ALL][00:motionplus] emulate_motion            off
[INF][ALL][00:motionplus] threshold                 1500
[INF][ALL][00:motionplus] threshold_maximum         0
[INF][ALL][00:motionplus] threshold_sdevx           0
[INF][ALL][00:motionplus] threshold_sdevy           0
[INF][ALL][00:motionplus] threshold_sdevxy          0
[INF][ALL][00:motionplus] threshold_ratio           0
[INF][ALL][00:motionplus] threshold_ratio_change    64
[INF][ALL][00:motionplus] threshold_tune            off
[INF][ALL][00:motionplus] secondary_method          none
[INF][ALL][00:motionplus] secondary_params          
[INF][ALL][00:motionplus] noise_level               32
[INF][ALL][00:motionplus] noise_tune                on
[INF][ALL][00:motionplus] despeckle_filter          EedDl
[INF][ALL][00:motionplus] area_detect               
[INF][ALL][00:motionplus] mask_file                 
[INF][ALL][00:motionplus] mask_privacy              
[INF][ALL][00:motionplus] smart_mask_speed          0
[INF][ALL][00:motionplus] lightswitch_percent       0
[INF][ALL][00:motionplus] lightswitch_frames        5
[INF][ALL][00:motionplus] minimum_motion_frames     1
[INF][ALL][00:motionplus] static_object_time        10
[INF][ALL][00:motionplus] event_gap                 60
[INF][ALL][00:motionplus] pre_capture               3
[INF][ALL][00:motionplus] post_capture              10
[INF][ALL][00:motionplus] on_event_start            
[INF][ALL][00:motionplus] on_event_end              
[INF][ALL][00:motionplus] on_picture_save           
[INF][ALL][00:motionplus] on_area_detected          
[INF][ALL][00:motionplus] on_motion_detected        
[INF][ALL][00:motionplus] on_movie_start            
[INF][ALL][00:motionplus] on_movie_end              
[INF][ALL][00:motionplus] on_camera_lost            
[INF][ALL][00:motionplus] on_camera_found           
[INF][ALL][00:motionplus] on_secondary_detect       
[INF][ALL][00:motionplus] on_action_user            
[INF][ALL][00:motionplus] on_sound_alert            
[INF][ALL][00:motionplus] picture_output            off
[INF][ALL][00:motionplus] picture_output_motion     off
[INF][ALL][00:motionplus] picture_type              jpeg
[INF][ALL][00:motionplus] picture_quality           75
[INF][ALL][00:motionplus] picture_exif              
[INF][ALL][00:motionplus] picture_filename          %v-%Y%m%d%H%M%S-%q
[INF][ALL][00:motionplus] snapshot_interval         0
[INF][ALL][00:motionplus] snapshot_filename         %v-%Y%m%d%H%M%S-snapshot
[INF][ALL][00:motionplus] movie_output              on
[INF][ALL][00:motionplus] movie_output_motion       off
[INF][ALL][00:motionplus] movie_max_time            120
[INF][ALL][00:motionplus] movie_bps                 400000
[INF][ALL][00:motionplus] movie_quality             60
[INF][ALL][00:motionplus] movie_container           mkv
[INF][ALL][00:motionplus] movie_passthrough         off
[INF][ALL][00:motionplus] movie_filename            %v-%Y%m%d%H%M%S
[INF][ALL][00:motionplus] movie_retain              all
[INF][ALL][00:motionplus] movie_extpipe_use         off
[INF][ALL][00:motionplus] movie_extpipe             
[INF][ALL][00:motionplus] timelapse_interval        0
[INF][ALL][00:motionplus] timelapse_mode            daily
[INF][ALL][00:motionplus] timelapse_fps             30
[INF][ALL][00:motionplus] timelapse_container       mpg
[INF][ALL][00:motionplus] timelapse_filename        %Y%m%d-timelapse
[INF][ALL][00:motionplus] video_pipe                
[INF][ALL][00:motionplus] video_pipe_motion         
[INF][ALL][00:motionplus] webcontrol_port           8085
[INF][ALL][00:motionplus] webcontrol_port2          0
[INF][ALL][00:motionplus] webcontrol_base_path      
[INF][ALL][00:motionplus] webcontrol_ipv6           off
[INF][ALL][00:motionplus] webcontrol_localhost      on
[INF][ALL][00:motionplus] webcontrol_parms          0
[INF][ALL][00:motionplus] webcontrol_interface      default
[INF][ALL][00:motionplus] webcontrol_auth_method    none
[INF][ALL][00:motionplus] webcontrol_authentication <redacted>
[INF][ALL][00:motionplus] webcontrol_tls            off
[INF][ALL][00:motionplus] webcontrol_cert           <redacted>
[INF][ALL][00:motionplus] webcontrol_key            <redacted>
[INF][ALL][00:motionplus] webcontrol_headers        
[INF][ALL][00:motionplus] webcontrol_html           
[INF][ALL][00:motionplus] webcontrol_actions        
[INF][ALL][00:motionplus] webcontrol_lock_minutes   10
[INF][ALL][00:motionplus] webcontrol_lock_attempts  3
[INF][ALL][00:motionplus] webcontrol_lock_script    
[INF][ALL][00:motionplus] stream_preview_scale      100
[INF][ALL][00:motionplus] stream_preview_newline    off
[INF][ALL][00:motionplus] stream_preview_method     mjpg
[INF][ALL][00:motionplus] stream_preview_ptz        on
[INF][ALL][00:motionplus] stream_quality            50
[INF][ALL][00:motionplus] stream_grey               off
[INF][ALL][00:motionplus] stream_motion             off
[INF][ALL][00:motionplus] stream_maxrate            30
[INF][ALL][00:motionplus] stream_scan_time          5
[INF][ALL][00:motionplus] stream_scan_scale         25
[INF][ALL][00:motionplus] database_type             
[INF][ALL][00:motionplus] database_dbname           
[INF][ALL][00:motionplus] database_host             
[INF][ALL][00:motionplus] database_port             0
[INF][ALL][00:motionplus] database_user             <redacted>
[INF][ALL][00:motionplus] database_password         <redacted>
[INF][ALL][00:motionplus] database_busy_timeout     0
[INF][ALL][00:motionplus] sql_event_start           
[INF][ALL][00:motionplus] sql_event_end             
[INF][ALL][00:motionplus] sql_movie_start           
[INF][ALL][00:motionplus] sql_movie_end             
[INF][ALL][00:motionplus] sql_pic_save              
[INF][ALL][00:motionplus] ptz_auto_track            off
[INF][ALL][00:motionplus] ptz_wait                  0
[INF][ALL][00:motionplus] ptz_move_track            
[INF][ALL][00:motionplus] ptz_pan_left              
[INF][ALL][00:motionplus] ptz_pan_right             
[INF][ALL][00:motionplus] ptz_tilt_up               
[INF][ALL][00:motionplus] ptz_tilt_down             
[INF][ALL][00:motionplus] ptz_zoom_in               
[INF][ALL][00:motionplus] ptz_zoom_out              
[INF][ALL][00:motionplus] snd_device                
[INF][ALL][00:motionplus] snd_params                
[INF][ALL][00:motionplus] snd_window                hamming
[INF][ALL][00:motionplus] snd_show                  off
[INF][ALL][00:motionplus] Camera 10 - Config file: /home/andy/.motionplus/camera1.conf
[INF][ALL][00:motionplus] device_name               webcam
[INF][ALL][00:motionplus] device_id                 10
[INF][ALL][00:motionplus] target_dir                /home/andy/Videos/motionplus
[INF][ALL][00:motionplus] v4l2_device               /dev/video0
[INF][ALL][00:motionplus] v4l2_params               palette=15
[INF][ALL][00:motionplus] framerate                 30
[INF][ALL][00:motionplus] flip_axis                 vertical
[INF][ALL][00:motionplus] text_left                 CAMERA 1
[INF][ALL][00:motionplus] movie_output              off
[INF][ALL][00:motionplus] movie_quality             45
[INF][ALL][00:motionplus] movie_passthrough         on
[INF][ALL][00:motionplus] Sound 10 - Config file: /home/andy/.motionplus/sound1.conf
[INF][ALL][00:motionplus] device_id                 10
[INF][ALL][00:motionplus] snd_params                source=pulse
[INF][ALL][00:motionplus] snd_show                  on
[DBG][ALL][00:motionplus] motpls_ntc: v4l2   : available
[DBG][ALL][00:motionplus] motpls_ntc: webp   : available
[DBG][ALL][00:motionplus] motpls_ntc: libcam : not available
[DBG][ALL][00:motionplus] motpls_ntc: mysql  : not available
[DBG][ALL][00:motionplus] motpls_ntc: MariaDB: available
[DBG][ALL][00:motionplus] motpls_ntc: sqlite3: available
[DBG][ALL][00:motionplus] motpls_ntc: pgsql  : available
[DBG][ALL][00:motionplus] motpls_ntc: nls    : available
[DBG][ALL][00:motionplus] motpls_ntc: alsa   : available
[DBG][ALL][00:motionplus] motpls_ntc: fftw3  : available
[WRN][ALL][00:motionplus] motpls_device_ids: Device IDs are not unique.
[WRN][ALL][00:motionplus] motpls_device_ids: Falling back to sequence numbers
[NTC][STR][00:motionplus] webu_init_webcontrol: Starting webcontrol on port 8085
[INF][ALL][00:motionplus] util_parms_add: Parsed: >event< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >snapshot< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >pause< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >restart< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >stop< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >config_write< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >camera_add< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >camera_delete< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >config< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >ptz< >off<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >movies< >on<
[INF][ALL][00:motionplus] util_parms_add: Parsed: >action_user< >off<
[DBG][STR][00:motionplus] webu_mhd_features_basic: Basic authentication: available
[DBG][STR][00:motionplus] webu_mhd_features_digest: Digest authentication: available
[DBG][STR][00:motionplus] webu_mhd_features_ipv6: IPV6: available
[DBG][STR][00:motionplus] webu_mhd_features_tls: SSL/TLS: available
[NTC][STR][00:motionplus] webu_init_webcontrol: Started webcontrol on port 8085
[NTC][ENC][00:motionplus] motpls_av_init: libavcodec  version 58.134.100
[NTC][ENC][00:motionplus] motpls_av_init: libavformat version 58.76.100
[INF][ALL][00:ml00:webcam] mlp_init: Initialize
[INF][ALL][01:sl01:] slp_init: Initialize
[WRN][ALL][00:ml00:webcam] mlp_init_values: Pass-through processing disabled.
[INF][ALL][01:sl01:] util_parms_parse: Starting parsing parameters
[NTC][VID][00:ml00:webcam] v4l2_start: Opening V4L2 device
[DBG][ALL][01:sl01:] util_parms_parse_comma: Parsing: >source=pulse< >0 5 7 11<
[INF][ALL][00:ml00:webcam] util_parms_parse: Starting parsing parameters
[NTC][ALL][00:motionplus] main: Motionplus pid: 43905
[INF][ALL][01:sl01:] util_parms_add: Parsed: >source< >pulse<
[INF][ALL][01:sl01:] util_parms_add: Parsed: >channels< >1<
[DBG][ALL][00:ml00:webcam] util_parms_parse_comma: Parsing: >palette=15< >0 6 8 9<
[INF][ALL][01:sl01:] util_parms_add: Parsed: >frames< >2048<
[INF][ALL][01:sl01:] util_parms_add: Parsed: >sample_rate< >44100<
[INF][ALL][00:ml00:webcam] util_parms_add: Parsed: >palette< >15<
[NTC][ALL][01:sl01:] snd_load_params: source : pulse
[NTC][ALL][01:sl01:] snd_load_params: channels : 1
[NTC][ALL][01:sl01:] snd_load_params: frames : 2048
[NTC][ALL][01:sl01:] snd_load_params: sample_rate : 44100
[INF][ALL][00:ml00:webcam] util_parms_add: Parsed: >input< >-1<
[INF][ALL][00:ml00:webcam] util_parms_add: Parsed: >norm< >0<
[INF][ALL][00:ml00:webcam] util_parms_add: Parsed: >frequency< >0<
[NTC][VID][00:ml00:webcam] v4l2_device_open: Opening video device /dev/video0
[NTC][ALL][01:sl01:] snd_pulse_init: Started.
[NTC][ALL][01:sl01:] snd_fftw_open: Opening FFTW plan
[DBG][VID][00:ml00:webcam] v4l2_log_types: ------------------------
[DBG][VID][00:ml00:webcam] v4l2_log_types: cap.driver: "uvcvideo"
[DBG][VID][00:ml00:webcam] v4l2_log_types: cap.card: "HP HD Webcam: HP HD Webcam"
[DBG][VID][00:ml00:webcam] v4l2_log_types: cap.bus_info: "usb-0000:00:14.0-7"
[DBG][VID][00:ml00:webcam] v4l2_log_types: cap.capabilities=0x84A00001
[DBG][VID][00:ml00:webcam] v4l2_log_types: ------------------------
[DBG][VID][00:ml00:webcam] v4l2_log_types: - VIDEO_CAPTURE
[DBG][VID][00:ml00:webcam] v4l2_log_types: - STREAMING
[DBG][VID][00:ml00:webcam] v4l2_log_formats: Supported palette YUYV 4:2:2 (YUYV)
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 640, Height 480
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 160, Height 120
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 176, Height 144
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 320, Height 180
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 320, Height 240
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 352, Height 288
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 424, Height 240
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 640, Height 360
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 848, Height 480
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 960, Height 540
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 1280, Height 720
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats: Supported palette Motion-JPEG (MJPG)
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 640, Height 480
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 160, Height 120
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 176, Height 144
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 320, Height 180
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 320, Height 240
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 352, Height 288
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 424, Height 240
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 640, Height 360
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 848, Height 480
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 960, Height 540
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_log_formats:   Width: 1280, Height 720
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/30
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/20
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/15
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/10
[DBG][VID][00:ml00:webcam] v4l2_log_formats:     Framerate 1/5
[DBG][VID][00:ml00:webcam] v4l2_set_input: Name = "Camera 1", type 0x00000002, status 00000000
[NTC][VID][00:ml00:webcam] v4l2_set_input: Name = "Camera 1"- CAMERA
[DBG][VID][00:ml00:webcam] v4l2_set_norm: Device does not support specifying PAL/NTSC norm
[NTC][VID][00:ml00:webcam] v4l2_pixfmt_try: Testing palette YUYV (640x480)
[DBG][VID][00:ml00:webcam] v4l2_pixfmt_stride: Checking image size 640x480 with stride 1280
[NTC][VID][00:ml00:webcam] v4l2_pixfmt_set: Using palette YUYV (640x480)
[INF][VID][00:ml00:webcam] v4l2_set_fps: Trying to set fps to 30
[INF][VID][00:ml00:webcam] v4l2_set_fps: Device set fps to 30
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ---------Controls---------
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   V4L2 ID :  Name : Range
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963776 : Brightness : -64 to 64
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963777 : Contrast : 0 to 64
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963778 : Saturation : 0 to 128
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963779 : Hue : -40 to 40
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963788 : White Balance Temperature, Auto : 0 to 1
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963792 : Gamma : 72 to 500
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963800 : Power Line Frequency : 0 to 2
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   menu item: Value 0 : Disabled
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   menu item: Value 1 : 50 Hz
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   menu item: Value 2 : 60 Hz
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963802 : White Balance Temperature : 2800 to 6500
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963803 : Sharpness : 0 to 5
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID09963804 : Backlight Compensation : 0 to 1
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID10094849 : Exposure, Auto : 0 to 3
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   menu item: Value 1 : Manual Mode
[INF][VID][00:ml00:webcam] v4l2_ctrls_log:   menu item: Value 3 : Aperture Priority Mode
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID10094850 : Exposure (Absolute) : 40 to 10002
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: ID10094851 : Exposure, Auto Priority : 0 to 1
[INF][VID][00:ml00:webcam] v4l2_ctrls_log: --------------------------
[DBG][VID][00:ml00:webcam] v4l2_set_mmap: mmap information: frames=4
[DBG][VID][00:ml00:webcam] v4l2_set_mmap: 0 length=614400 Address (5245b000)
[DBG][VID][00:ml00:webcam] v4l2_set_mmap: 1 length=614400 Address (523c5000)
[DBG][VID][00:ml00:webcam] v4l2_set_mmap: 2 length=614400 Address (5232f000)
[DBG][VID][00:ml00:webcam] v4l2_set_mmap: 3 length=614400 Address (52299000)
[NTC][ALL][00:ml00:webcam] mlp_ring_resize: Resizing buffer to 4 items
[INF][ALL][00:cv00:webcam] util_parms_add: Parsed: >model_file< ><
[INF][ALL][00:cv00:webcam] util_parms_add: Parsed: >frame_interval< >5<
[INF][ALL][00:cv00:webcam] util_parms_add: Parsed: >image_type< >full<
[INF][ALL][00:cv00:webcam] util_parms_add: Parsed: >rotate< >0<
[NTC][ALL][01:sl01:] slp_init: Detecting
[NTC][ALL][00:ml00:webcam] mlp_init: Camera 1 started: motion detection Enabled
[DBG][STR][00:wc00] webu_parseurl: Sent url: /10/mjpg/stream
[DBG][STR][00:wc00] webu_parseurl: Decoded url: /10/mjpg/stream
[DBG][STR][00:wc00] webu_parms_edit: camid: >10< thread: >-1< cmd1: >mjpg< cmd2: >stream< cmd3: ><
[DBG][ALL][00:wc00] webu_hostname: Full Host:  //localhost:8085
[INF][ALL][00:wc00] webu_client_connect: Connection from: 127.0.0.1
[DBG][ALL][00:wc00] webu_hostname: Full Host:  //localhost:8085
[DBG][STR][00:wc00] webu_answer_get: processing get
[INF][STR][00:wc00] webu_mhd_deinit: Closing connection
Mr-Dave commented 1 year ago

The sound configuration files are for frequency detection only. Recording of sound from v4l2 devices isn't supported. Additionally, the webstream currently doesn't support providing sound either.