OpenIPC / firmware

Alternative IP Camera firmware from an open community
https://openipc.org
MIT License
1.3k stars 254 forks source link

Error when changing settings in Majestic. #276

Closed khseal closed 2 years ago

khseal commented 2 years ago

Platform hi3516cv300 Sensor ar0237_i2c Here is the error log Jul 23 14:33:52 openipc-hi3516cv300 kern.err kernel: [90823.849432] mmz_userdev:mmz_userdev_release: MMB LEAK(pid=837): 0x83380000, 77824 bytes, 'isp_stat_user' Jul 23 14:33:52 openipc-hi3516cv300 kern.warn kernel: [90823.849475] mmz_userdev:mmz_userdev_release: mmz_userdev_release: mmb<0x83380000> mapped to userspace 0xb696d000 will be force unmaped!

widgetii commented 2 years ago

It's warnings from vendor SDK. Nothing valuable is here.

khseal commented 2 years ago

After the error, the video disappears. Example Stream video codec changes. Any change that reloads the sensor configuration. Sometimes changes are applied without error. My config root@openipc-hi3516cv300:~# cat /etc/majestic.yaml system: buffer: 1024 image: mirror: false flip: false rotate: none contrast: 50 hue: 50 saturation: 50 luminance: 50 osd: enabled: true template: "%a %e %B %Y %H:%M:%S %Z" nightMode: enabled: true irSensorPin: 64 irSensorPinInvert: false irCutPin1: 54 irCutPin2: 53 pinSwitchDelayUs: 150 nightAPI: true records: enabled: false path: /mnt/mmc/%Y/%m/%d/%H.mp4 maxUsage: 95 video0: enabled: true codec: h264 fps: 25 gopMode: normal rcMode: avbr video1: enabled: false codec: h264 jpeg: enabled: true toProgressive: true qfactor: 70 size: 1920x1080 mjpeg: size: 640x360 fps: 5 bitrate: 1024 audio: enabled: false volume: auto srate: 8000 rtsp: enabled: true port: 554 hls: enabled: true youtube: enabled: false motionDetect: enabled: false visualize: false debug: false ipeye: enabled: true onvif: enabled: true watchdog: enabled: true timeout: 30 isp: blkCnt: 6 cloud: enabled: true netip: enabled: false ignoreSetTime: false user: admin snapshots: false port: 34567 password: NETIP password (hash)