Open Aergernis opened 6 days ago
Hey, we are working on this at the moment. Thanks for logging it.
Hi, upgraded from OV5647 to IMX219 and can't get to work.
crownset.conf
#### crowsnest.conf #### This is a typical default config. #### Also used as default in mainsail / MainsailOS #### See: #### https://github.com/mainsail-crew/crowsnest/blob/master/README.md #### for details to configure to your needs. ##################################################################### #### ##### #### Information about ports and according URL's ##### #### ##### ##################################################################### #### ##### #### Port 8080 equals /webcam/?action=[stream/snapshot] ##### #### Port 8081 equals /webcam2/?action=[stream/snapshot] ##### #### Port 8082 equals /webcam3/?action=[stream/snapshot] ##### #### Port 8083 equals /webcam4/?action=[stream/snapshot] ##### #### ##### #### Note: These ports are default for most Mainsail ##### #### installations. To use any other port would involve ##### #### changing the proxy configuration or using directly ##### #### http://<ip>:<port>/?action=[stream/snapshot] ##### #### ##### ##################################################################### #### RTSP Stream URL: ( if enabled and supported ) ##### #### rtsp://<ip>:<rtsp_port>/stream.h264 ##### ##################################################################### [crowsnest] log_path: /home/philipp/printer_data/logs/crowsnest.log log_level: verbose # Valid Options are quiet/verbose/debug delete_log: false # Deletes log on every restart, if set to true no_proxy: false [cam 1] mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices) # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only) enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server rtsp_port: 8554 # Set different ports for each device! port: 8080 # HTTP/MJPG Stream/Snapshot Port device: /dev/video0 # See Log for available ... resolution: 1920x1080 # widthxheight format max_fps: 30 # If Hardware Supports this it will be forced, otherwise ignored/coerced. custom_flags: --format=UYVY # You can run the Stream Services with custom flags. #v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of.
crownset.log
[06/26/24 18:49:26] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services. [06/26/24 18:49:26] crowsnest: Version: v4.1.9-1-gd75a3ae [06/26/24 18:49:26] crowsnest: Prepare Startup ... [06/26/24 18:49:26] crowsnest: INFO: Host information: [06/26/24 18:49:27] crowsnest: Host Info: Distribution: BTT-CB2_1.0.5_Armbian 23.05.0-trunk Bullseye [06/26/24 18:49:27] crowsnest: Host Info: Kernel: Linux 4.19.232-bigtree-cb2 aarch64 [06/26/24 18:49:27] crowsnest: Host Info: Available CPU Cores: 4 [06/26/24 18:49:27] crowsnest: Host Info: Available Memory: 2029724 kB [06/26/24 18:49:27] crowsnest: Host Info: Diskspace (avail. / total): 24G / 29G [06/26/24 18:49:27] crowsnest: INFO: Checking Dependencies [06/26/24 18:49:25] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini. [06/26/24 18:49:25] crowsnest: Dependency: 'find' found in /usr/bin/find. [06/26/24 18:49:25] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs. [06/26/24 18:49:25] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/src/ustreamer.bin. [06/26/24 18:49:25] crowsnest: Version Control: ustreamer is up to date. (v6.10) [06/26/24 18:49:26] crowsnest: INFO: Print Configfile: '/home/philipp/printer_data/config/crowsnest.conf' [06/26/24 18:49:26] crowsnest: [crowsnest] [06/26/24 18:49:26] crowsnest: log_path: /home/philipp/printer_data/logs/crowsnest.log [06/26/24 18:49:26] crowsnest: log_level: verbose [06/26/24 18:49:26] crowsnest: delete_log: false [06/26/24 18:49:26] crowsnest: no_proxy: false [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: [cam 1] [06/26/24 18:49:26] crowsnest: mode: ustreamer [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: enable_rtsp: false [06/26/24 18:49:26] crowsnest: rtsp_port: 8554 [06/26/24 18:49:26] crowsnest: port: 8080 [06/26/24 18:49:26] crowsnest: device: /dev/video0 [06/26/24 18:49:26] crowsnest: resolution: 1920x1080 [06/26/24 18:49:26] crowsnest: max_fps: 30 [06/26/24 18:49:26] crowsnest: custom_flags: --format=UYVY [06/26/24 18:49:26] crowsnest: INFO: Detect available Devices [06/26/24 18:49:26] crowsnest: INFO: Found 1 total available Device(s) [06/26/24 18:49:26] crowsnest: INFO: Found 1 available v4l2 (UVC) camera(s) [06/26/24 18:49:26] crowsnest: /dev/v4l/by-id/platform-rkisp-vir0-video-index0 -> /dev/video0 [06/26/24 18:49:26] crowsnest: Supported Formats: [06/26/24 18:49:26] crowsnest: [0]: 'UYVY' (UYVY 4:2:2) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [1]: '422P' (Planar YUV 4:2:2) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [2]: 'NV16' (Y/CbCr 4:2:2) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [3]: 'NV61' (Y/CrCb 4:2:2) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [4]: 'YM16' (Planar YUV 4:2:2 (N-C)) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [5]: 'NV21' (Y/CrCb 4:2:0) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [6]: 'NV12' (Y/CbCr 4:2:0) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [7]: 'NM21' (Y/CrCb 4:2:0 (N-C)) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [8]: 'NM12' (Y/CbCr 4:2:0 (N-C)) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [9]: 'YU12' (Planar YUV 4:2:0) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [10]: 'YM24' (Planar YUV 4:4:4 (N-C)) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [11]: 'RGGB' (8-bit Bayer RGRG/GBGB) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [12]: 'GRBG' (8-bit Bayer GRGR/BGBG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [13]: 'GBRG' (8-bit Bayer GBGB/RGRG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [14]: 'BA81' (8-bit Bayer BGBG/GRGR) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [15]: 'RG10' (10-bit Bayer RGRG/GBGB) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [16]: 'BA10' (10-bit Bayer GRGR/BGBG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [17]: 'GB10' (10-bit Bayer GBGB/RGRG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [18]: 'BG10' (10-bit Bayer BGBG/GRGR) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [19]: 'RG12' (12-bit Bayer RGRG/GBGB) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [20]: 'BA12' (12-bit Bayer GRGR/BGBG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [21]: 'GB12' (12-bit Bayer GBGB/RGRG) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: [22]: 'BG12' (12-bit Bayer BGBG/GRGR) [06/26/24 18:49:26] crowsnest: Size: Stepwise 32x16 - 1920x1080 with step 8/8 [06/26/24 18:49:26] crowsnest: Supported Controls: [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: User Controls [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: exposure 0x00980911 (int) : min=0 max=4095 step=1 default=1575 value=1575 [06/26/24 18:49:26] crowsnest: gain 0x00980913 (int) : min=256 max=43663 step=1 default=256 value=256 [06/26/24 18:49:26] crowsnest: horizontal_flip 0x00980914 (bool) : default=0 value=0 [06/26/24 18:49:26] crowsnest: vertical_flip 0x00980915 (bool) : default=0 value=0 [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: Image Source Controls [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: vertical_blanking 0x009e0901 (int) : min=686 max=686 step=1 default=686 value=686 [06/26/24 18:49:26] crowsnest: horizontal_blanking 0x009e0902 (int) : min=1524 max=1524 step=1 default=1524 value=1524 [06/26/24 18:49:26] crowsnest: analogue_gain 0x009e0903 (int) : min=256 max=2816 step=1 default=512 value=512 [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: Image Processing Controls [06/26/24 18:49:26] crowsnest: [06/26/24 18:49:26] crowsnest: link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0 [06/26/24 18:49:26] crowsnest: 0: 456000000 (0x1b2e0200) [06/26/24 18:49:26] crowsnest: pixel_rate 0x009f0902 (int64) : min=0 max=182463120 step=1 default=182463120 value=182463120 flags=read-only [06/26/24 18:49:26] crowsnest: test_pattern 0x009f0903 (menu) : min=0 max=13 default=0 value=0 [06/26/24 18:49:26] crowsnest: 0: Disabled [06/26/24 18:49:26] crowsnest: 1: Solid Black [06/26/24 18:49:26] crowsnest: 2: Solid White [06/26/24 18:49:26] crowsnest: 3: Solid Red [06/26/24 18:49:26] crowsnest: 4: Solid Green [06/26/24 18:49:26] crowsnest: 5: Solid Blue [06/26/24 18:49:26] crowsnest: 6: Color Bar [06/26/24 18:49:26] crowsnest: 7: Fade to Grey Color Bar [06/26/24 18:49:26] crowsnest: 8: PN9 [06/26/24 18:49:26] crowsnest: 9: 16 Split Color Bar [06/26/24 18:49:26] crowsnest: 10: 16 Split Inverted Color Bar [06/26/24 18:49:26] crowsnest: 11: Column Counter [06/26/24 18:49:26] crowsnest: 12: Inverted Column Counter [06/26/24 18:49:26] crowsnest: 13: PN31 [06/26/24 18:49:26] crowsnest: Try to start configured Cams / Services... [06/26/24 18:49:29] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue ... [06/26/24 18:49:30] crowsnest: V4L2 Control: No parameters set for [cam 1]. Skipped. [06/26/24 18:49:33] crowsnest: Starting ustreamer with Device /dev/video0 ... [06/26/24 18:49:34] crowsnest: ... Done!
lsof -i -P -n | grep LISTEN
systemd 1 root 33u IPv4 17044 0t0 TCP *:111 (LISTEN) systemd 1 root 35u IPv6 17048 0t0 TCP *:111 (LISTEN) rpcbind 592 _rpc 4u IPv4 17044 0t0 TCP *:111 (LISTEN) rpcbind 592 _rpc 6u IPv6 17048 0t0 TCP *:111 (LISTEN) sshd 850 root 3u IPv4 32276 0t0 TCP *:22 (LISTEN) sshd 850 root 4u IPv6 32278 0t0 TCP *:22 (LISTEN) python 1265 philipp 11u IPv4 35745 0t0 TCP *:7125 (LISTEN) nginx 1297 root 9u IPv4 35945 0t0 TCP *:80 (LISTEN) nginx 1297 root 10u IPv4 35946 0t0 TCP *:7136 (LISTEN) nginx 1297 root 11u IPv6 35947 0t0 TCP *:7136 (LISTEN) nginx 1299 www-data 9u IPv4 35945 0t0 TCP *:80 (LISTEN) nginx 1299 www-data 10u IPv4 35946 0t0 TCP *:7136 (LISTEN) nginx 1299 www-data 11u IPv6 35947 0t0 TCP *:7136 (LISTEN) nginx 1300 www-data 9u IPv4 35945 0t0 TCP *:80 (LISTEN) nginx 1300 www-data 10u IPv4 35946 0t0 TCP *:7136 (LISTEN) nginx 1300 www-data 11u IPv6 35947 0t0 TCP *:7136 (LISTEN) nginx 1302 www-data 9u IPv4 35945 0t0 TCP *:80 (LISTEN) nginx 1302 www-data 10u IPv4 35946 0t0 TCP *:7136 (LISTEN) nginx 1302 www-data 11u IPv6 35947 0t0 TCP *:7136 (LISTEN) nginx 1303 www-data 9u IPv4 35945 0t0 TCP *:80 (LISTEN) nginx 1303 www-data 10u IPv4 35946 0t0 TCP *:7136 (LISTEN) nginx 1303 www-data 11u IPv6 35947 0t0 TCP *:7136 (LISTEN) main 1689 philipp 7u IPv4 33716 0t0 TCP 127.0.0.1:8080 (LISTEN)
Using v1.0.5 version of image
Using v1.0.5 version of image
Forgot to write it. I'm on 1.0.5. Older versions didn't work at all.
Hi, upgraded from OV5647 to IMX219 and can't get to work.
crownset.conf
crownset.log
lsof -i -P -n | grep LISTEN