[sugar] Could not initialize video capture device (VIDIOCGMBUF)

Peter Krenesky peter at osuosl.org
Mon Sep 24 11:21:35 EDT 2007


Hi all,

I'm working to port helix producerSDK (video/audio capture, editing, encoding) 
to python so it can be used in an activity.  I've gotten enough of the api 
ported to capture video/audio on my desktop.   

Audio capture works on the XO but video does not.  I get an error about 
VIDIOCGMBUF:


        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


any ideas?


-- 
------------------------------------------
 Peter Krenesky
 Senior Analyst Programmer
 Open Source Lab
 Oregon State University
 Work: 541-737-9572
 Email: Peter at osuosl.org


More information about the Sugar mailing list