Bellamy
发表于 2013-4-5 00:10:20
能运行成功,但一直报Corrupt JPEG data: premature end of data segment
配置页面和图片页面都能显示,但是图片显示很差,查那个英文报错错提示,"这个是说一个图片数据还未接收完,就被显示了",不知到是不是还有哪里设置的问题。
启动显示内容如下:
Processing thread 0 - config file /etc/motion/motion.conf
Motion 3.2.12 Started
ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
Thread 1 is from /etc/motion/motion.conf
motion-httpd/3.2.12 running, accepting connections
motion-httpd: waiting for data on port TCP 8080
Thread 1 started
cap.driver: "gspca_zc3xx"
cap.card: "PC Camera"
cap.bus_info: "usb-bcm2708_usb-1.2"
cap.capabilities=0x85000001
- VIDEO_CAPTURE
- READWRITE
- STREAMING
Config palette index 8 (YU12) doesn't work.
Supported palettes:
0: JPEG (JPEG)
Selected palette JPEG
Test palette JPEG (320x240)
Using palette JPEG (320x240) bytesperlines 320 sizeimage 29390 colorspace 00000007
found control 0x00980900, "Brightness", range 0,255
"Brightness", default 128, current 128
found control 0x00980901, "Contrast", range 0,255
"Contrast", default 128, current 128
found control 0x00980910, "Gamma", range 1,6
"Gamma", default 3, current 3
found control 0x00980912, "Gain, Automatic", range 0,1
"Gain, Automatic", default 1, current 1
mmap information:
frames=4
0 length=32768
1 length=32768
2 length=32768
3 length=32768
Using V4L2
Resizing pre_capture buffer to 1 items
Corrupt JPEG data: premature end of data segment
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 static/image/common/back.gif
很奇怪,我发现我这里8080正常,但是看8081的时候出现下载提示框?下载个头……
这个跟你的浏览器有关,Chrome和Firefox都可以正常显示jpeg图片流
adon
发表于 2013-7-22 13:17:39
谢谢LZ,成功了,就是摄像头画质太差,奇怪的是逻辑C100在windows下画质还不错啊
怎么在树莓派下面只能类似显示红外图像呢