天嵌 ARM开发社区

 找回密码
 注册
查看: 2083|回复: 1

测试USB摄像头问题

[复制链接]
xillin_xi 发表于 2011-4-26 22:13:49 | 显示全部楼层 |阅读模式
本帖最后由 xillin_xi 于 2011-4-26 22:15 编辑

[root@EmbedSky /]# usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: New USB device found, idVendor=0c45, idProduct=62c0
usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
usb 1-1: Product: USB 2.0 Camera
usb 1-1: Manufacturer: Sonix Technology Co., Ltd.
usb 1-1: SerialNumber: SN0001
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:62c0)
input: USB 2.0 Camera as /devices/platform/s3c2410-ohci/usb1/1-1/1-1:1.0/input/input1
[root@EmbedSky /]# mjpg_streamer -i "/lib/WebCam/input_uvc.so" -o "/lib/WebCam/o
utput_http.so -w 192.168.1.6: 8080"
MJPG-streamer [505]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [505]: MJPG Streamer Version.: 2.0

i: Using V4L2 device.: /dev/video0
MJPG-streamer [505]: Using V4L2 device.: /dev/video0

i: Desired Resolution: 640 x 480
MJPG-streamer [505]: Desired Resolution: 640 x 480

i: Frames Per Second.: 5
MJPG-streamer [505]: Frames Per Second.: 5

i: Format............: MJPEG
MJPG-streamer [505]: Format............: MJPEG

o: www-folder-path...: 192.168.1.6:/
MJPG-streamer [505]: www-folder-path...: 192.168.1.6:/

o: HTTP TCP port.....: 8080
MJPG-streamer [505]: HTTP TCP port.....: 8080

o: username:password.: disabled
MJPG-streamer [505]: username:password.: disabled

o: commands..........: enabled
MJPG-streamer [505]: commands..........: enabled

MJPG-streamer [505]: starting input plugin
MJPG-streamer [505]: starting output plugin: /lib/WebCam/output_http.so (ID: 00)

这是串口信息,看起来驱动ok了,但是运行viewer.exe设置192.168.1.6 8080点connect提示:Error on connect:connection refused麻烦这个是什么造成的?
 楼主| xillin_xi 发表于 2011-4-28 23:41:42 | 显示全部楼层
将MJPG-streamer 源码下的www目录下的内容复制到开发板文件系统的web目录下。在论坛找到的方法,目前已经可以出图像。只是USB摄像头远程测试还没有好!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 12:26 , Processed in 1.014687 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表