Motion - Support Question 2010x 06x 03x 064959

IP cam TP-SC3130G Unable to open video device

Question

My IP cameras TP-Link (TP-SC3130G) No picture, only the gray square + time stamp and the inscription "Unable to open video device". The second camera (USB) works well, the image is.
artur@ubuntu-art:~$ sudo motion
[sudo] password for artur: 
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Processing config file /usr/local/etc/thread1.conf
[0] Processing config file /usr/local/etc/thread2.conf
[0] Motion 3.2.11 Started
[0] ffmpeg LIBAVCODEC_BUILD 3412993 LIBAVFORMAT_BUILD 3415808
[0] Thread 1 is from /usr/local/etc/thread1.conf
[0] Thread 2 is from /usr/local/etc/thread2.conf
[2] Thread 2 started
[0] motion-httpd/3.2.11 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "ov519"
[1] cap.card: "Creative WebCam Vista"
[1] cap.bus_info: "usb-0000:00:1d.2-2"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: JPEG (JPEG)
[1] index_format 3 Test palette JPEG (640x480)
[1] Using palette JPEG (640x480) bytesperlines 640 sizeimage 115790 colorspace 00000007
[1] found control 0x00980900, "Brightness", range 0,255 
[1]    "Brightness", default 127, current 127
[1] found control 0x00980901, "Contrast", range 0,255 
[1]    "Contrast", default 127, current 127
[1] found control 0x00980902, "Color", range 0,255 
[1]    "Color", default 127, current 127
[1] mmap information:
[1] frames=4
[1] 0 length=118784
[1] 1 length=118784
[1] 2 length=118784
[1] 3 length=118784
[2] libjpeg decompression failure on first frame - giving up!
[2] Could not fetch initial image from camera
[2] Motion continues using width and height from config file(s)
[2] Resizing pre_capture buffer to 1 items
[2] Started stream webcam server in port 8082
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] File of type 8 saved to: /home/artur/MotionCam/01-20100603115426.avi
[2] Retrying until successful connection with camera
[2] libjpeg decompression failure on first frame - giving up!
[2] Retrying until successful connection with camera
[2] libjpeg decompression failure on first frame - giving up!
[2] Retrying until successful connection with camera
[2] libjpeg decompression failure on first frame - giving up!
^C[1] File of type 1 saved to: /home/artur/MotionCam/01-20100603115426-05.jpg
[1] Thread exiting
[1] Calling vid_close() from motion_cleanup
[1] Closing video device /dev/video0
 &: 1: /usr/local/motion-extras/mpegparse1.pl: not found
 &: 1: /usr/local/motion-extras/camparse1.pl: not found
[2] Thread exiting
[0] httpd - Finishing
[0] httpd Closing
[0] httpd thread exit
[0] Motion terminating
artur@ubuntu-art:~$ 

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql
Server OS: Ubuntu 10.04 LTS
-- ArturMullanurov - 03 Jun 2010

Answer

Topic revision: r2 - 26 Sep 2014, TosiaraT
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.