BUG: multiple cameras
I am trying to use 3 webcams. 1 works. the other 2 give me these errors respectively:
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] mjpegtoyuv420p: Corrupt image ... continue Corrupt JPEG data: premature end of data segment
[1] mjpegtoyuv420p: Corrupt image ... continue
and lastly:
Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] sync error in proc 2729:
[1] mcapture error in proc 2729:
[1] Video device fatal error - Closing video device
[1] Closing video device /dev/video2
the 1 working is a newer cam. logitech. the other one ( first output) is a microsoft one. was working before upgrade to 9.10. Actually neither were working . but i re-installed motion and some drivers and the first one works.
the 3rd one is an old logitech one. i can get it work on its own. but never all 3 at the same time. please advise. would love to get this working ....newbie here
Supported palettes:
[1] 0: GRBG (GRBG)
[1] Unable to find a compatible palette format.
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 8081
[1] sync error in proc 2729:
[1] mcapture error in proc 2729:
[1] Video device fatal error - Closing video device
[1] Closing video device /dev/video2
Environment
Motion version: |
3.2.11.1 |
ffmpeg version: |
|
Shared libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
ubuntu 9.10 |
--
VictorQuarta - 09 Nov 2009
Follow up
Fix record
Hi there's no bug there.
1-. Motion doesn't support all palettes yet , so for not supported palettes you have to use libv4l as it's explained in FAQ:
http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions#Problems_running_motion_with_ker
http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions#Most_usual_issues_running_motion
2-. USB Hosts have issues running multiple webcams because bandwidth , so you have to use dedicated USB 2.0 Host
per webcam ( pwc based webcams can share same USB 2.0 hosts ).
http://www.lavrsen.dk/foswiki/bin/view/Motion/FrequentlyAskedQuestions#sync_error_in_proc_xxxx_No_space
--
AngelCarpintero - 15 Nov 2009