[Helix-producer-dev] Could not initialize video capture device (VIDIOCGMBUF) on OLPC
Peter Krenesky peter at osuosl.orgHi all,
I'm working to port the producerSDK to python for use by the one laptop per
child (OLPC). I've gotten enough of the api ported to capture video/audio on
my desktop.
Audio capture works on the OLPC but video does not. I get the following log
messages while trying to create an input for video capture:
Diagnostic None 2007/08/16 16:48:38 0 Failed to get string:
audioDeviceID
Diagnostic None 2007/08/16 16:48:38 0 Failed to get
string: videoDevicePort
Diagnostic None 2007/08/16 16:48:38 0 Ignoring
symlink device /dev/video
Diagnostic None 2007/08/16 16:48:38 0 Using device
name 'cafe_ccic /dev/video0' matching device number 0
Diagnostic None 2007/08/16 16:48:38 0 Video
device '/dev/video0' (cafe_ccic /dev/video0) opened
Diagnostic None 2007/08/16 16:48:39 0 Color format
I420 for video capture device set (VIDIOCSPICT: depth=12, palette=15,
rscolor==24)
Diagnostic None 2007/08/16 16:48:39 0 Port 1 () set
(VIDIOCSCHAN)
Error None 2007/08/16 16:48:39 0 Could not initialize
video capture device (VIDIOCGMBUF)
Diagnostic None 2007/08/16 16:48:39 0 Number of
output streams 0 does not match number of requested media types 1
Error None 2007/08/16 16:48:39 0 Unable to initialize
input
--
------------------------------------------
Peter Krenesky
Senior Analyst Programmer
Open Source Lab
Oregon State University
Work: 541-737-9572
Email: Peter at osuosl.org