Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2015 18:47:44 -0400
From:      ajtiM <lumiwa@gmail.com>
To:        Olivier Duchateau <olivierd@freebsd.org>
Cc:        FreeBSD-GNOME <gnome@FreeBSD.org>
Subject:   Re: cheese 3.14.2
Message-ID:  <1427064464.1569.2.camel@gmail.com>
In-Reply-To: <20150322224324.aea02134a76fac2d85e3acfd@freebsd.org>
References:  <1426862618.19866.3.camel@gmail.com> <20150320171939.dadde7e731c73b333fc5f5a0@freebsd.org> <1426868668.58689.2.camel@gmail.com> <20150322224324.aea02134a76fac2d85e3acfd@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2015-03-22 at 22:43 +0000, Olivier Duchateau wrote:
> On Fri, 20 Mar 2015 12:24:28 -0400
> ajtiM <lumiwa@gmail.com> wrote:
> 
> > On Fri, 2015-03-20 at 17:19 +0000, Olivier Duchateau wrote:
> > > On Fri, 20 Mar 2015 10:43:38 -0400
> > > ajtiM <lumiwa@gmail.com> wrote:
> > > 
> > > > Hi!
> > > > 
> > > > My web camera works when I start Cheese. When I try to take a photo I
> > > > got:
> > > > 
> > > > ("There was an error playing video from the webcam"
> > > > 
> > > > Than I run cheese from terminal and I got:
> > > > 
> > > > cheese
> > > > 
> > > > (cheese:19859): GStreamer-WARNING **: Failed to load plugin
> > > > '/usr/local/lib/gstreamer-1.0/libgstopengl.so': Shared object
> > > > "libpng15.so.15" not found, required by "libgstopengl.so"
> > > > 
> > > > (cheese:19859): GStreamer-WARNING **: Failed to load plugin
> > > > '/usr/local/lib/gstreamer-1.0/libgstopengl.so': Shared object
> > > > "libpng15.so.15" not found, required by "libgstopengl.so"
> > > > 
> > > > (cheese:19859): cheese-WARNING **: Device '/dev/video0' is busy:
> > > > gstv4l2object.c(2838): gst_v4l2_object_set_format
> > > > (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstV4l2Src:video_source:
> > > > Call to S_FMT failed for YU12 @ 640x480: Device busy
> > > > 
> > > > My system is FreeBSD 10.1, amd64 installed on iMac 11,1, GNOME 3.14.2.
> > > > 
> > > > BTW: I don't have a problem with camera on Skype for example.
> > > > 
> > > > Thanks in advance.
> > > 
> > > What says pkg query -x %bn '^png'?
> > > 
> > libpng16.so.16n
> > 
> > And I did what I red in /usr/ports/UPDATING:
> > 20141225:
> >   AFFECTS: users of graphics/png
> >   AUTHOR: antoine@FreeBSD.org
> > 
> >   The PNG library has been updated to version 1.6.16.  Please rebuild
> > all
> >   ports that depend on it.
> > 
> >   If you use portmaster:
> >         portmaster -r png
> > 
> > and today I rebuilt again but result is the same.
> 
> graphics/gstreamer1-plugins-gl must be rebuilt.
> 
> On my system, when I check libgstopengl.so
> 
> ldd /usr/local/lib/gstreamer-1.0/libgstopengl.so | grep png
> 
> I get
> 
> 	libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x28a6d000)
> 
> I think on your system is still libpng15.so.15
> 
> Regards
> 

Thank you very much. Now I don't have any Gstreamer error but I cannot
take picture anyway:

(cheese:16430): cheese-WARNING **: Device '/dev/video0' is busy:
gstv4l2object.c(2838): gst_v4l2_object_set_format
(): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin35/GstV4l2Src:video_source:
Call to S_FMT failed for BGR3 @ 640x480: Device busy

But if I take a video it works and I cannot see video file immediately
but I need to close cheese and when I open it again I have a video file
which I need to save.


-- 
ajtiM
-----
http://www.redbubble.com/people/lumiwa
https//www.facebook.com/pages/Lumiwa-FARM/775292915882930




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1427064464.1569.2.camel>