Temat: Brak obrazu z kamery

Router r6220 na luci-21.02-snapshot-r16329-b4c40a7efc-ramips-mt7621-netgear_r6220-squashfs-sysupgrade
Kamera na usb AN-VC400
co zainstalowalem
kmod-usb-core kmod-usb2 kmod-video-core
kmod-video-uvc
MJPG-streamer
uci-app-mjpgstreamer
potem
uci set mjpg-streamer.core.enabled=1
uci commit mjpg-streamer
/etc/init.d/mjpg-streamer enable
/etc/init.d/mjpg-streamer start

Niestety brak obrazu z kamery
Proszę o pomoc w uruchomieniu tej kamery.

2

Odp: Brak obrazu z kamery

1. Czy jesteś pewien że to kamera uvc? Zrób cat /sys/kernel/debug/usb/devices i zobacz czy ma ten sterownik
2. Na początek zobacz coś prostego np fswebcam.
3. logi...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Brak obrazu z kamery

root@Duszek:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.04
S:  Manufacturer=Linux 5.4.154 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=1e1c0000.xhci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=043e ProdID=3009 Rev= 3.31
S:  Manufacturer=LGE
S:  Product=AN-VC400 Camera
S:  SerialNumber=0331
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
A:  FirstIf#= 0 IfCount= 2 Cls=0e(video) Sub=03 Prot=00
A:  FirstIf#= 2 IfCount= 2 Cls=01(audio) Sub=02 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=16ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
I:  If#= 1 Alt= 1 #EPs= 1 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
E:  Ad=81(I) Atr=05(Isoc) MxPS=3048 Ivl=125us
I:* If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:* If#= 3 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 3 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=82(I) Atr=05(Isoc) MxPS= 512 Ivl=1ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.04
S:  Manufacturer=Linux 5.4.154 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=1e1c0000.xhci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

4

Odp: Brak obrazu z kamery

Więc spróbuj fswebcam. Czasami to kwestia ustalenia rozdzielczości, albo jeden z opcji obrazu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez roratoga 2021-12-06 14:28:20)

Odp: Brak obrazu z kamery

jest gui do tego fswebcam ?
bo nie wiem jak uruchomic

root@Duszek:~# fswebcam
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
There are unsaved changes to the image.

6

Odp: Brak obrazu z kamery

https://eko.one.pl/?p=openwrt-webcam#fswebcam

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Brak obrazu z kamery

chodzi mi o podglad live

8

Odp: Brak obrazu z kamery

Wszystko po kolei. Na razie zobacz czy w ogóle łapie obraz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Brak obrazu z kamery

root@Duszek:~# fswebcam
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 384x288 to 352x288.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
There are unsaved changes to the image.

10

Odp: Brak obrazu z kamery

Dostałeś linka, tam było inaczej. Dalego nawet tego nie przeczytałeś?...  fswebcam /tmp/a.jpg

A później sobie skopiuj  /tmp/a.jpg do komputera i zobacz czy widzisz coś na nim.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Brak obrazu z kamery

tak jest foto

12

Odp: Brak obrazu z kamery

ok, więc problem nie jest z kamerą ani ze sterownikiem tylko z samym mjpg-steamer. Czy skonfigurowałeś mjpg-steamer żeby korzystał z input_uvc?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Brak obrazu z kamery

mam w gui
wtyczka wejsciowa UVC

14

Odp: Brak obrazu z kamery

To masz jeszcze dwie opcje : yuv przestaw na 1, zapisz, zrestartuj i zobacz czy będzie obraz oraz zmień rozdzielczość na  384x288  bo wiesz że taka działa.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Brak obrazu z kamery

nie ma obrazu nie działa

16

Odp: Brak obrazu z kamery

To zostaw to i przenieś się na motion, może tam będzie działać.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: Brak obrazu z kamery

kurcze kiedys na openwrt 19 normalnie dzialalo na mjpg

18

Odp: Brak obrazu z kamery

jak sie loguje przez ssh to nie widze nigdzie mjpg steamer

19

Odp: Brak obrazu z kamery

root@Duszek:~# motion
[0:Unknown] [ALR] [ALL] conf_load: could not open configfile /etc/motion/motion.conf: No such file or directory
[0:Unknown] [CRT] [ALL] conf_load: No config file to process, using default values
[0:Unknown] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
[0:Unknown] [NTC] [ALL] motion_startup: Logging to syslog
[0:Unknown] [NTC] [ALL] motion_startup: Motion 4.3.2 Started
[0:Unknown] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:Unknown] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:Unknown] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:Unknown] [NTC] [ALL] translate_locale_chg: No native language support
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:Unknown] [NTC] [ALL] main: Waiting for threads to finish, pid: 20330
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:Unknown] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:Unknown] [NTC] [VID] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:Unknown] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:Unknown] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:Unknown] [NTC] [VID] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:Unknown] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:Unknown] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:Unknown] [NTC] [VID] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:Unknown] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:Unknown] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:Unknown] [NTC] [VID] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:Unknown] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [NTC] [VID] v4l2_device_capability: - VIDEO_CAPTURE
[1:Unknown] [NTC] [VID] v4l2_device_capability: - STREAMING
[1:Unknown] [NTC] [VID] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:Unknown] [ERR] [VID] v4l2_input_select: Error selecting input 0 VIDIOC_S_INPUT: Resource busy
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items

20

Odp: Brak obrazu z kamery

wyłączyłeś mjpg-streamera? Bo cały czas masz busy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Brak obrazu z kamery

zatrzymałem

root@Duszek:~# motion
[0:Unknown] [ALR] [ALL] conf_load: could not open configfile /etc/motion/motion.conf: No such file or directory
[0:Unknown] [CRT] [ALL] conf_load: No config file to process, using default values
[0:Unknown] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
[0:Unknown] [NTC] [ALL] motion_startup: Logging to syslog
[0:Unknown] [NTC] [ALL] motion_startup: Motion 4.3.2 Started
[0:Unknown] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0:Unknown] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0:Unknown] [NTC] [ENC] ffmpeg_global_init: No ffmpeg functionality included
[0:Unknown] [NTC] [ALL] translate_locale_chg: No native language support
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[0:Unknown] [NTC] [ALL] main: Waiting for threads to finish, pid: 28004
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [NTC] [ALL] mlp_capture: Video signal lost - Adding grey image
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:Unknown] [WRN] [ALL] mlp_retry: Retrying until successful connection with camera
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [NTC] [ALL] motion_loop: Thread exiting
[0:Unknown] [NTC] [ALL] main: Motion thread 1 restart
[0:Unknown] [NTC] [ALL] motion_start_thread: Camera ID: 0 Camera Name: (null) Device: /dev/video0
[1:Unknown] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:Unknown] [NTC] [VID] vid_start: Opening V4L2 device
[1:Unknown] [NTC] [VID] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:Unknown] [ALR] [VID] v4l2_device_open: Failed to open video device /dev/video0: No such file or directory
[1:Unknown] [ERR] [VID] vid_start: V4L2 device failed to open
[1:Unknown] [WRN] [ALL] motion_init: Could not fetch initial image from camera
[1:Unknown] [WRN] [ALL] motion_init: Motion continues using width and height from config file(s)
[1:Unknown] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[

22

Odp: Brak obrazu z kamery

Teraz to nie ma  /dev/video0 - odłączyłeś kamerę lub zrobiła sie np. jako /dev/video1

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: Brak obrazu z kamery

nic nie robilem

24

Odp: Brak obrazu z kamery

Zainstalowalem na chwile openwrt z luci 19.7 i tam mjpg streamer działa od razu.
Coś jest nie tak z 21.02

25

Odp: Brak obrazu z kamery

Z mjpg-streamerem, bo jak sam sprawdziłeś, sterownik działa bo obraz potrafisz uzyskać.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.