도와주세요!!
글 수 15,339
2006.03.05 22:32:58 (*.69.66.127)
6679
임베디드 초보입니다 .로지텍 4000붙이는중에 오류가 발생하였습니다..
도움을 좀 받고 싶어서 이렇게 올립니다..
먼저 mvc 실행시
[root@ez-x5 nfs]$ mknod /dev/video0 c 81 c
[root@ez-x5 nfs]$ chmod 666 /dev/video0
[root@ez-x5 nfs]$ ./mvc -qws
MVC version 0.8.8
Press CTRL-Z to switch program to daemon mode.
VIDIOCMCAPTURE: Invalid argument
VIDIOCMCAPTURE: Invalid argument
Error: Can't get image
이런 에러가 계속 뜹니다..
camstream 실행시에는
Failed to open configuration file for reading.
Failed to load /icons/canvas.png!
CCamWindow::CCamWindow()
CWebCamViewer::CWebCamViewer(0x78dc8, 320x240)
CVideoDevice::Init()
Using mmap(), VMBuf.size = 921600
Trying to find video options for Logitech Quic0Creating new video options
<!DOCTYPE Configuration>
<config>
<defaults/>
<videodevices>
<videoconfiguration name="Logitech QuickCam > <basename>snapshot</basename>
<textfont>system</textfont>
<textcolor>#ffff00</textcolor>
<timeinimage>false</timeinimage>
<fileformat>PNG</fileformat>
<savetodisk>true</savetodisk>
<ftptoserver>false</ftptoserver>
<saveoption>1</saveoption>
<maxsequence>1000</maxsequence>
<sequence>0</sequence>
<ftpserver></ftpserver>
<ftppath></ftppath>
<ftpuser></ftpuser>
<ftppass></ftppass>
<ftppassive>false</ftppassive>
<ftpunique>true</ftpunique>
</videoconfiguration>
</videodevices>
</config>
CSnapshotSettingsDlg::CSnapshotSettingsDlg(...)CVideoSettingsDlg::SizeChanged(176x144)
CVideoSettingsDlg::FramerateChanged(10)
Philips webcam detected, enabling extensions
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
CVideoDevice::SetSize(320, 240)
CVideoDevice::MSync() ioctl: Invalid argument
CCamPanel::SetSize(320x240)
CCamPanel::SetImageSize(320x240)
CCamPanel::SetVisibleSize(320x240)
CWebCamViewer::DeviceChangedSize(320x240)
RecalcTotalViewSize: resize viewport(320x240)
CCamPanel::SetSize(320x240)
CCamPanel::SetImageSize(320x240)
CCamPanel::SetVisibleSize(320x240)
RecalcTotalViewSize: resize viewport(320x240)
EnableRGB: +
CVideoDevice::SetPalette picked palette 15 [yu]CVideoDevice::CreateImagesRGB()
allocating space for RGB
CVideoDevice::StartCapture() go!
CVideoDevice::MCapture() ioctl: Device or resoy
이런식으로 오류가뜨구요 일단 실행은 되는대 장치를 선택하면
그냥 까만 창만 뜹니다 그리고 버튼이 멈춰버려서 다음 동작을 할수가없네요
여기 있는 문서 기준으로 했고 로지텍 4000사용중입니다...
문제점을 해결해야하는대 이리저리 해봐도 잘 안되네요..
성공하신분들 많은것같은대 조언좀 부탁드립니다..
도움을 좀 받고 싶어서 이렇게 올립니다..
먼저 mvc 실행시
[root@ez-x5 nfs]$ mknod /dev/video0 c 81 c
[root@ez-x5 nfs]$ chmod 666 /dev/video0
[root@ez-x5 nfs]$ ./mvc -qws
MVC version 0.8.8
Press CTRL-Z to switch program to daemon mode.
VIDIOCMCAPTURE: Invalid argument
VIDIOCMCAPTURE: Invalid argument
Error: Can't get image
이런 에러가 계속 뜹니다..
camstream 실행시에는
Failed to open configuration file for reading.
Failed to load /icons/canvas.png!
CCamWindow::CCamWindow()
CWebCamViewer::CWebCamViewer(0x78dc8, 320x240)
CVideoDevice::Init()
Using mmap(), VMBuf.size = 921600
Trying to find video options for Logitech Quic0Creating new video options
<!DOCTYPE Configuration>
<config>
<defaults/>
<videodevices>
<videoconfiguration name="Logitech QuickCam > <basename>snapshot</basename>
<textfont>system</textfont>
<textcolor>#ffff00</textcolor>
<timeinimage>false</timeinimage>
<fileformat>PNG</fileformat>
<savetodisk>true</savetodisk>
<ftptoserver>false</ftptoserver>
<saveoption>1</saveoption>
<maxsequence>1000</maxsequence>
<sequence>0</sequence>
<ftpserver></ftpserver>
<ftppath></ftppath>
<ftpuser></ftpuser>
<ftppass></ftppass>
<ftppassive>false</ftppassive>
<ftpunique>true</ftpunique>
</videoconfiguration>
</videodevices>
</config>
CSnapshotSettingsDlg::CSnapshotSettingsDlg(...)CVideoSettingsDlg::SizeChanged(176x144)
CVideoSettingsDlg::FramerateChanged(10)
Philips webcam detected, enabling extensions
CCamPanel::SetSize(176x144)
CCamPanel::SetImageSize(176x144)
CCamPanel::SetVisibleSize(176x144)
CVideoDevice::SetSize(320, 240)
CVideoDevice::MSync() ioctl: Invalid argument
CCamPanel::SetSize(320x240)
CCamPanel::SetImageSize(320x240)
CCamPanel::SetVisibleSize(320x240)
CWebCamViewer::DeviceChangedSize(320x240)
RecalcTotalViewSize: resize viewport(320x240)
CCamPanel::SetSize(320x240)
CCamPanel::SetImageSize(320x240)
CCamPanel::SetVisibleSize(320x240)
RecalcTotalViewSize: resize viewport(320x240)
EnableRGB: +
CVideoDevice::SetPalette picked palette 15 [yu]CVideoDevice::CreateImagesRGB()
allocating space for RGB
CVideoDevice::StartCapture() go!
CVideoDevice::MCapture() ioctl: Device or resoy
이런식으로 오류가뜨구요 일단 실행은 되는대 장치를 선택하면
그냥 까만 창만 뜹니다 그리고 버튼이 멈춰버려서 다음 동작을 할수가없네요
여기 있는 문서 기준으로 했고 로지텍 4000사용중입니다...
문제점을 해결해야하는대 이리저리 해봐도 잘 안되네요..
성공하신분들 많은것같은대 조언좀 부탁드립니다..