Witam
Posiadam Orange PI Lite i kamerę https://botland.com.pl/akcesoria-orange-pi/65...mera-do-orange-pi-pc-one-pc-plus-plus-2e.html
Nie mogę sobie poradzić z uruchomieniem streamingu, robię wszystko jeden do jednego zgodnie z tutorialami np tym:
http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/
na czystym Armbianie, ale niestety zawsze mam ten sam efekt jak w logach poniżej, próbowałem już różnych sposobów, szukałem po forach itd. ale w tym momencie brak mi pomysłów i czuje się już postawiony pod ścianą. Pod zdresem ip płytki z portem 8081 widzę okno w którym powinien wyświetlać się obraz ale jest ono szare z komunikatem "Unable to open video device".
Będę bardzo wdzięczny za pomoc i pomysły co może być nie tak.
[1] [WRN] [ALL] [Aug 05 12:45:10] motion_loop: Retrying until successful connection with camera
[1] [NTC] [VID] [Aug 05 12:45:10] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [ALR] [VID] [Aug 05 12:45:10] vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory
[1] [NTC] [ALL] [Aug 05 12:45:15] motion_loop: End of event 1
[0] [NTC] [STR] [Aug 05 12:45:15] httpd_run: motion-httpd - Finishing
[0] [NTC] [STR] [Aug 05 12:45:15] httpd_run: motion-httpd Closing
[0] [NTC] [STR] [Aug 05 12:45:15] motion_web_control: motion-httpd thread exit
[1] [NTC] [ALL] [Aug 05 12:45:15] motion_loop: Thread exiting
[1] [NTC] [STR] [Aug 05 12:45:15] stream_stop: Closing motion-stream listen socket & active motion-stream sockets
[1] [NTC] [STR] [Aug 05 12:45:15] stream_stop: Closed motion-stream listen socket & active motion-stream sockets
[0] [NTC] [ALL] [Aug 05 12:45:16] main: Threads finished
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Motion terminating
[0] [NTC] [ALL] [Aug 05 12:45:17] motion_remove_pid: Removed process id file (pid file).
[0] [NTC] [ALL] [Aug 05 12:45:17] motion_remove_pid: Closing logfile (/var/log/motion/motion.log).
[34022720] [NTC] [ALL] [Aug 05 12:45:17] motion_startup: Using log type (ALL) log level (NTC)
[34022720] [NTC] [ALL] [Aug 05 12:45:17] become_daemon: Motion going to daemon mode
[34022720] [NTC] [ALL] [Aug 05 12:45:17] become_daemon: Created process id file /var/run/motion/motion.pid. Process ID is 2801
[34022720] [NTC] [ALL] [Aug 05 12:45:17] motion_startup: Motion running as daemon process
[34022720] [NTC] [ENC] [Aug 05 12:45:17] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3685476 LIBAVFORMAT_BUILD 3680357
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Thread 1 is from /etc/motion/motion.conf
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Stream port 8081
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Waiting for threads to finish, pid: 2801
[1] [NTC] [ALL] [Aug 05 12:45:17] motion_init: Thread 1 started , motion detection Enabled
[1] [NTC] [VID] [Aug 05 12:45:17] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [ALR] [VID] [Aug 05 12:45:17] vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory
[1] [WRN] [ALL] [Aug 05 12:45:17] motion_init: Could not fetch initial image from camera Motion continues using width and height from config file(s)
[1] [NTC] [ALL] [Aug 05 12:45:17] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [NTC] [STR] [Aug 05 12:45:17] http_bindsock: motion-stream testing : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [STR] [Aug 05 12:45:17] http_bindsock: motion-stream Bound : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [ALL] [Aug 05 12:45:17] motion_init: Started motion-stream server in port 8081 auth Disabled
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd/3.2.12+git20140228 running, accepting connections
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080
Posiadam Orange PI Lite i kamerę https://botland.com.pl/akcesoria-orange-pi/65...mera-do-orange-pi-pc-one-pc-plus-plus-2e.html
Nie mogę sobie poradzić z uruchomieniem streamingu, robię wszystko jeden do jednego zgodnie z tutorialami np tym:
http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/
na czystym Armbianie, ale niestety zawsze mam ten sam efekt jak w logach poniżej, próbowałem już różnych sposobów, szukałem po forach itd. ale w tym momencie brak mi pomysłów i czuje się już postawiony pod ścianą. Pod zdresem ip płytki z portem 8081 widzę okno w którym powinien wyświetlać się obraz ale jest ono szare z komunikatem "Unable to open video device".
Będę bardzo wdzięczny za pomoc i pomysły co może być nie tak.
[1] [WRN] [ALL] [Aug 05 12:45:10] motion_loop: Retrying until successful connection with camera
[1] [NTC] [VID] [Aug 05 12:45:10] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [ALR] [VID] [Aug 05 12:45:10] vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory
[1] [NTC] [ALL] [Aug 05 12:45:15] motion_loop: End of event 1
[0] [NTC] [STR] [Aug 05 12:45:15] httpd_run: motion-httpd - Finishing
[0] [NTC] [STR] [Aug 05 12:45:15] httpd_run: motion-httpd Closing
[0] [NTC] [STR] [Aug 05 12:45:15] motion_web_control: motion-httpd thread exit
[1] [NTC] [ALL] [Aug 05 12:45:15] motion_loop: Thread exiting
[1] [NTC] [STR] [Aug 05 12:45:15] stream_stop: Closing motion-stream listen socket & active motion-stream sockets
[1] [NTC] [STR] [Aug 05 12:45:15] stream_stop: Closed motion-stream listen socket & active motion-stream sockets
[0] [NTC] [ALL] [Aug 05 12:45:16] main: Threads finished
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Motion terminating
[0] [NTC] [ALL] [Aug 05 12:45:17] motion_remove_pid: Removed process id file (pid file).
[0] [NTC] [ALL] [Aug 05 12:45:17] motion_remove_pid: Closing logfile (/var/log/motion/motion.log).
[34022720] [NTC] [ALL] [Aug 05 12:45:17] motion_startup: Using log type (ALL) log level (NTC)
[34022720] [NTC] [ALL] [Aug 05 12:45:17] become_daemon: Motion going to daemon mode
[34022720] [NTC] [ALL] [Aug 05 12:45:17] become_daemon: Created process id file /var/run/motion/motion.pid. Process ID is 2801
[34022720] [NTC] [ALL] [Aug 05 12:45:17] motion_startup: Motion running as daemon process
[34022720] [NTC] [ENC] [Aug 05 12:45:17] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3685476 LIBAVFORMAT_BUILD 3680357
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Thread 1 is from /etc/motion/motion.conf
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Stream port 8081
[0] [NTC] [ALL] [Aug 05 12:45:17] main: Waiting for threads to finish, pid: 2801
[1] [NTC] [ALL] [Aug 05 12:45:17] motion_init: Thread 1 started , motion detection Enabled
[1] [NTC] [VID] [Aug 05 12:45:17] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [ALR] [VID] [Aug 05 12:45:17] vid_v4lx_start: Failed to open video device /dev/video0: No such file or directory
[1] [WRN] [ALL] [Aug 05 12:45:17] motion_init: Could not fetch initial image from camera Motion continues using width and height from config file(s)
[1] [NTC] [ALL] [Aug 05 12:45:17] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [NTC] [STR] [Aug 05 12:45:17] http_bindsock: motion-stream testing : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [STR] [Aug 05 12:45:17] http_bindsock: motion-stream Bound : IPV4 addr: 0.0.0.0 port: 8081
[1] [NTC] [ALL] [Aug 05 12:45:17] motion_init: Started motion-stream server in port 8081 auth Disabled
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd/3.2.12+git20140228 running, accepting connections
[0] [NTC] [STR] [Aug 05 12:45:17] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080