Re: Start debugging?



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.

I have downloaded the latest codebase from svn though.

Also the gst-launch with queue-size=2 only works for me once. Subsequent
tries gives me:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

** (gst-launch-0.10:8522): WARNING **: Size 4156 is not a multiple of
unit size 202752
ERROR: from element /pipeline0/ffmpegcsp0: subclass did not specify
output size
Additional debug info:
gstbasetransform.c(1506): gst_base_transform_handle_buffer
(): /pipeline0/ffmpegcsp0:
subclass did not specify output size
Execution ended after 17272000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

> 
> Thanks
> 
> Jaap


Thanks
Robin



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