|
发表于 2013-4-5 00:10:20
|
显示全部楼层
能运行成功,但一直报Corrupt JPEG data: premature end of data segment
配置页面和图片页面都能显示,但是图片显示很差,查那个英文报错错提示,"这个是说一个图片数据还未接收完,就被显示了",不知到是不是还有哪里设置的问题。
启动显示内容如下:
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Thread 1 is from /etc/motion/motion.conf
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Thread 1 started
[1] cap.driver: "gspca_zc3xx"
[1] cap.card: "PC Camera"
[1] cap.bus_info: "usb-bcm2708_usb-1.2"
[1] cap.capabilities=0x85000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Config palette index 8 (YU12) doesn't work.
[1] Supported palettes:
[1] 0: JPEG (JPEG)
[1] Selected palette JPEG
[1] Test palette JPEG (320x240)
[1] Using palette JPEG (320x240) bytesperlines 320 sizeimage 29390 colorspace 00000007
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,255
[1] "Contrast", default 128, current 128
[1] found control 0x00980910, "Gamma", range 1,6
[1] "Gamma", default 3, current 3
[1] found control 0x00980912, "Gain, Automatic", range 0,1
[1] "Gain, Automatic", default 1, current 1
[1] mmap information:
[1] frames=4
[1] 0 length=32768
[1] 1 length=32768
[1] 2 length=32768
[1] 3 length=32768
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
Corrupt JPEG data: premature end of data segment
[1] Started stream webcam server in port 8081
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment |
|