万博网页版登陆页派论坛

教你用万博网页版登陆页派通过usb摄像头实现网络监控功能!!!(中级教程之四)

Bellamy 发表于 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
jeetger 发表于 2013-4-9 23:05:00 | 显示全部楼层
yynnyynnyynnyynnyynnyynnyynnyynn
suansou 发表于 2013-4-12 10:06:47 | 显示全部楼层
膜拜 技术帝!
蟋蟀的帅 发表于 2013-5-7 08:48:44 | 显示全部楼层
必须支持!!
xounter 发表于 2013-5-16 10:06:57 | 显示全部楼层
很奇怪,我发现我这里8080正常,但是看8081的时候出现下载提示框?下载个头……
pi_user 发表于 2013-5-21 16:33:20 | 显示全部楼层
也在做相关实验,不晓得各位大神知不知道怎么设置成外网也可访问的?
zsctyh 发表于 2013-5-21 17:02:58 | 显示全部楼层
那能不能整成硬盘录像机呢
铁一学子 发表于 2013-5-30 00:36:24 | 显示全部楼层
端口能不能自己定义?
已被小诺占用 发表于 2013-7-5 13:59:28 | 显示全部楼层
xounter 发表于 2013-5-16 10:06
很奇怪,我发现我这里8080正常,但是看8081的时候出现下载提示框?下载个头……

这个跟你的浏览器有关,Chrome和Firefox都可以正常显示jpeg图片流
adon 发表于 2013-7-22 13:17:39 | 显示全部楼层
谢谢LZ,成功了,就是摄像头画质太差,奇怪的是逻辑C100在windows下画质还不错啊
怎么在万博网页版登陆页派下面只能类似显示红外图像呢
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版 | Archiver | 万博网页版登陆页派论坛 ( 粤ICP备15075382号-1 )