Re: Start debugging?



On Jan 4, 2008 1:26 PM, Robin Elmersson <robin girlplusboy com> wrote:
>
>
> On Fri, 2008-01-04 at 13:13 +0100, Jaap A. Haitsma wrote:
> > On Jan 4, 2008 12:46 PM, Robin Elmersson <robin girlplusboy com> wrote:
> > >
> > > On Fri, 2008-01-04 at 11:55 +0100, daniel g. siegel wrote:
> > > > On Fr, 2008-01-04 at 11:46 +0100, Robin Elmersson wrote:
> > > > > I just love quick replies! :)
> > > > >
> > > > > I'll post the output to your questions below. It doesn't mean too much
> > > > > to me, but there is an ERROR in there...
> > > > >
> > > > > FYI, the camera works with luvcview (just so you know it works...)
> > > > >
> > > > > On Fri, 2008-01-04 at 11:36 +0100, daniel g. siegel wrote:
> > > > > > pretty easy:
> > > > > >
> > > > > > 1) Does  gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink  work
> > > > >
> > > > > $ gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink
> > > > > Setting pipeline to PAUSED ...
> > > > > Pipeline is live and does not need PREROLL ...
> > > > > ERROR: from element /pipeline0/v4l2src0: Could not get enough buffers
> > > > > from device '/dev/video0'.
> > > > > Additional debug info:
> > > > > v4l2src_calls.c(1034): gst_v4l2src_capture_init (): /pipeline0/v4l2src0:
> > > > > we received 0 from device '/dev/video0', we want at least 2
> > > > > ERROR: pipeline doesn't want to preroll.
> > > > > Setting pipeline to PAUSED ...
> > > > > Setting pipeline to READY ...
> > > > > Setting pipeline to NULL ...
> > > > > FREEING pipeline ...
> > > > >
> > > >
> > > > you cant see a window with yourself in it, here?
> > >
> > > Nope. However I read through the bug reports and found a similar one
> > > (http://bugzilla.gnome.org/show_bug.cgi?id=503503) where they used
> > > "queue-size=2" after v4l2src. That gives me a window with myself in it.
> > > And I look awful tired...
> > >
> > > I'm not quite sure what the implication are though, there's talk about
> > > compiling cheese yourself and bugs in gstreamer.
> > >
> > > Also: should I reply just to the mailing list or to the one answering
> > > me? New to mailing lists...
> > >
> > >
> > > >
> > > > > > 2) Which version of gstreamer do you have installed. Run  pkg-config
> > > > > > --modversion gstreamer-0.10
> > > > >
> > > > > $ pkg-config --modversion gstreamer-0.10
> > > > > 0.10.15
> > > > >
> > > > >
> > > > > > 3) Can you run cheese --verbose and paste output
> > > > >
> > > > > $ cheese --verbose
> > > > > device: /dev/v4l/video0
> > > > >
> > > > >
> > > > > > 4) run gdb cheese
> > > > > >
> > > > > > i think you could paste that output then in our bugzilla system:
> > > > > > http://bugzilla.gnome.org/buglist.cgi?product=cheese or check if
> > > > > > your bug is already there.
> > > > > >
> > > > > >
> > > > > > thanks!
> > > > > >
> > > > > > daniel
> > > > > >
> > > > > > On Fr, 2008-01-04 at 11:26 +0100, Robin Elmersson wrote:
> > > > > > > Hello.
> > > > > > > I just installed cheese 0.3 on my Gentoo Dell M1330.
> > > > > > > Problem: Nothing happens when I run it.
> > > > > > >
> > > > > > > The camera lamp blinks twice indicating something happens but then
> > > > > > > nothing.
> > > > > > > Running from the command line reveals no error messages.
> > > > > > >
> > > > > > > How do I start finding out what's wrong?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Robin
> > > > > > >
> >
> > Hi Robin,
> >
> > Can you apply the patch that is in bug
> > http://bugzilla.gnome.org/show_bug.cgi?id=503503 and see if it works.
> > It adds queue-size=2
>
> Sorry to ask such newbie questions, but the command to apply this kind
> of patches is unknown to me and I'm not quite sure what to search for.

No problem

> I have downloaded the latest codebase from svn though.

go to the cheese directory and run

patch -p0 < name-of-patch-file
them run
./autogen  --prefix=/opt/gnome2
you can change the prefix but I always use /opt/gnome2 to install stuff from SVN
make
make install

then run cheese
/opt/gnome2/bin/cheese

Jaap


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]