I'm new to DirectFB.  I'm having trouble displaying input from /dev/video0. 
I've installed DirectFB, DirectFB-extra and have verified that there is a
v4l video provider installed by DirectFB-extra.  I can play other movies
files (eg MJPEG) using df_video so know at least the general setup is OK.  I
can also view /dev/video0 output using system utility vcat (looks to use
v4l) so think video0 is OK, too.  When I try "df_video /dev/video0" I get an
error message:
...
(*) FBDev/Mode: (Post)Setting 1024x768 RGB32
(*) Direct/Interface: Loaded 'V4L' implementation of
'IDirectFBVideoProvider'.
(!) DirectFB/Video4Linux: Cannot open `/dev/video0'!
    --> No such device

I have some kernel debugging enabled and have noticed that video0 is being
opened twice (with the second open call failing).  I added some debug in the
v4l provider it only does an open once so not sure where the first open call
is coming from.

In an attempt to get this working I installed xine-lib thinking perhaps I
could use xine to get video from /dev/video0.   Using df_xine or the sample2
test program I can again display stored movies files.  Trying to get video
from /dev/video0 fails with:
...
(*) FBDev/Mode: (Post)Setting 1024x768 RGB32
audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit stereo
(4-channel not enabled in xine config) (4.1-channel not enabled in xine
config) (5-channel not enabled in xine config) (5.1-channel not enabled in
xine config) (a/52 and DTS pass-through not enabled in xine config)
xine: found input plugin  : file input plugin
xine: couldn't find demux for >/dev/video0<
(!) sample2: xine_open( "/dev/video0" ) unsupported!


I don't really care what method I use but need to display video from
/dev/video0.


-- 
View this message in context: 
http://www.nabble.com/DirectFB----dev-video0-via-V4L-tp23609079p23609079.html
Sent from the DirectFB Users mailing list archive at Nabble.com.

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to