How do I configure motion?

I mean there are no example configs. I installed it and my webcam shine with green diode. Seems something happen, but motion config is empty and contains only

enable motion '0'

Well I enabled it, edit config, restart service with config like

option enabled '1'
        video_device /dev/video0
        stream_port 8082
        width 640
        height 480
        framerate 24

But still, no browser, no VLC can open this stream. Can someone give me example of working config for simple one web camera setup?
Thank you

Would suggest the device is local, is it?

If it is, is there a /dev/video0 ?

Once enabled, did you start the actual motion service ?

1 Like

Thank you for your help, friend! Yes, device is local and it is webcam connected to OpenWRT via USB

root@OpenWrt:~# lsusb -t
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
    |__ Port 2: Dev 3, If 0, Class=, Driver=usb-storage, 480M
    |__ Port 3: Dev 4, If 0, Class=, Driver=uvcvideo, 480M
    |__ Port 3: Dev 4, If 1, Class=, Driver=uvcvideo, 480M
    |__ Port 3: Dev 4, If 2, Class=, Driver=, 480M
    |__ Port 3: Dev 4, If 3, Class=, Driver=, 480M

It is happen, that webcam now is /dev/video1 may be

root@OpenWrt:~# ls /dev/vid*
/dev/video0  /dev/video1
root@OpenWrt:~#

maybe cause I plug it in different USB port.

Yes. I enabled motion and restarted it
I mean I execute

service motion reload
service motion start

Do a ps, check the motion command line, run it manually.

Console says

root@OpenWrt:~# service motion status
active with no instances

UPD: OMG, I forgot to reenable it after wiping out config to default.
Enabled motion again and:

root@OpenWrt:~# service motion status
running

webcam indicator flashes green

Sorry for not answering for so long.
I started motion manually and here is what I have got.

root@OpenWrt:/etc# motion
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on port 8081
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [NTC] [STR] webu_start_ctrl: Started webcontrol on port 8080
[0:motion] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from /etc/motion.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 17556
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Unable to use YU12 (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 640x480 doesn't work.
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Supported palettes:
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (1) MJPG (Motion-JPEG)
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_set: Using palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Selected palette MJPG
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 1.
[1:ml1] [ERR] [EVT] event_ffmpeg_newfile: Error opening context for movie output.
[1:ml1] [NTC] [ALL] mlp_actions: End of event 1
^[[A^C[1:ml1] [NTC] [ALL] motion_loop: Thread exiting
[1:ml1] [NTC] [VID] vid_close: Cleaning up V4L2 device
[1:ml1] [NTC] [VID] v4l2_cleanup: Closing video device /dev/video0
[0:motion] [NTC] [ALL] main: Threads finished
[0:motion] [NTC] [ALL] main: Motion terminating
[0:motion] [NTC] [ENC] ffmpeg_global_deinit: No ffmpeg functionality included
root@OpenWrt:/etc#

I can not see anything by accessing my router's address like 192.168.3.1:8081. I know that by default there must be picture. VLC also can not open http://192.168.3.1:8081

which motion package did you install ?

Well, I do not know. I was thinking that there is only one package. I just

opkg install motion

and then installed v4l-utils to see if my usb web-cam is connected and ok, like

root@OpenWrt:~# v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'YUYV' (YUYV 4:2:2)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 160x120
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 176x144
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 320x240
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 352x288
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 640x400
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
        [1]: 'MJPG' (Motion-JPEG, compressed)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 160x120
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 176x144
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 320x240
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 352x288
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 640x400
                        Interval: Discrete 0.033s (30.000 fps)
                        Interval: Discrete 0.040s (25.000 fps)
                        Interval: Discrete 0.050s (20.000 fps)
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.100s (10.000 fps)
                        Interval: Discrete 0.200s (5.000 fps)
root@OpenWrt:~#

Guy form this tutorial https://www.maketecheasier.com/setup-motion-detection-webcam-ubuntu/ even managed to launch web-translation, yet I only have some errors

UP: Oh, my! I forgot to set up target dir for pictures and output stream. Which path to directory for motion pictures and output streams would be better in OpenWRT filesystem?

/tmp/motion 

is OK?

Anything except /overlay

1 Like

Post your ubus call system board.

1 Like

Here it is

root@OpenWrt:~# ubus call system board
{
        "kernel": "5.15.167",
        "hostname": "OpenWrt",
        "system": "Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz",
        "model": "ECS G31T-M",
        "board_name": "ecs-g31t-m",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.5",
                "revision": "r24106-10cc5fcd00",
                "target": "x86/64",
                "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
        }
}
root@OpenWrt:~#

P.S. I created directory for config file and for temp files and see no error in output when I start motion manually

; camera_dir /usr/etc/motion/conf.d
root@OpenWrt:/etc/config/motion# motion
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/config/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on port 8081
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [NTC] [STR] webu_start_ctrl: Started webcontrol on port 8080
[0:motion] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from /etc/config/motion/motion.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 27604
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Unable to use YU12 (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 640x480 doesn't work.
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Supported palettes:
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (1) MJPG (Motion-JPEG)
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_set: Using palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Selected palette MJPG
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items

Yet 192.168.3.1:8080 and 192.168.3.1:8081 is HTTP 404 still. Motion has some web-server in dependencies which I must install also?
VLC also can not open http://192.168.3.1:8081

UPD: It seems there is some problem:
I typed

motion status

and here is what I have got

[0:motion] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Dev                                                                                                                                                                                                                                             ice: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 27658
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: R                                                                                                                                                                                                                                             esource busy
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
[1:ml1] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:ml1] [WRN] [ALL] motion_init: Motion continues using width and height from co                                                                                                                                                                                                                                             nfig file(s)
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open
[1:ml1] [NTC] [ALL] mlp_capture: Video signal lost - Adding grey image
[1:ml1] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:ml1] [ERR] [VID] vid_start: V4L2 device failed to open

It seems motion can not work properly with my USB webcam after all

It seems that I finally managed to setup motion and it even capture movement.

root@OpenWrt:/etc/config/motion$ motion
[0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/config/motion/motion.conf
[0:motion] [NTC] [ALL] motion_startup: Logging to syslog
[0:motion] [NTC] [ALL] motion_startup: Motion 4.5.0 Started
[0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [STR] webu_start_strm: Starting all camera streams on port 8081
[0:motion] [NTC] [STR] webu_strm_ntc: Started camera 0 stream on port 8081
[0:motion] [NTC] [STR] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [NTC] [STR] webu_start_ctrl: Started webcontrol on port 8080
[0:motion] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 is from /etc/config/motion/motion.conf
[0:motion] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 6800
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_input_select: Name = "Input 1"- CAMERA
[1:ml1] [NTC] [VID] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Unable to use YU12 (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 640x480 doesn't work.
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Supported palettes:
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: (1) MJPG (Motion-JPEG)
[1:ml1] [NTC] [VID] v4l2_pixfmt_try: Testing palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_set: Using palette MJPG (640x480)
[1:ml1] [NTC] [VID] v4l2_pixfmt_select: Selected palette MJPG
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items
[1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 1.
[1:ml1] [ERR] [EVT] event_ffmpeg_newfile: Error opening context for movie output.
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163631-07.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163632-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163633-07.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163634-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163635-07.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163636-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163637-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163637-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163637-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163637-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163638-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163639-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163639-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163639-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163639-03.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163650-04.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163650-05.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163650-06.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163651-00.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163651-01.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163651-02.jpg
[1:ml1] [NTC] [EVT] event_newfile: Writing image to file: ./20250218163651-03.jpg

But still. I can not see my cam streaming from brouser or VLC. Could you please help me to understand why nad fix this issue?

UPD: Oh,my! It was all my fault. I forgot to enable web-admin panel and streaming by setting it off in config file. I do not know if it makes any sense, but all works fine if I setup options

webcontrol_localhost off
stream_localhost off

Only question left: Why if I start motion like that

motion

from any other location except /etc/config/motion
I get an error that motion can not find its config file? Answer seems obvious, yet I would like to clarify this.