Administrator
|
How does one set one's source as the built in camera (in my case the Apple iSight camera)? Is there a "hook to physucal device" element?
How about USB attached cameras? Wesley |
On Fri, 2010-04-09 at 03:30 -0800, Wes Miller wrote:
> How does one set one's source as the built in camera (in my case the Apple > iSight camera)? Is there a "hook to physucal device" element? > > How about USB attached cameras? v4l2src should do the trick on Linux. Make sure your camera is operational and any firmware it requires are installed by checking the dmesg output after you plugged it in (or on startup if it's builtin). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Wes Miller
On Fri, 2010-04-09 at 03:30 -0800, Wes Miller wrote:
> How does one set one's source as the built in camera (in my case the Apple > iSight camera)? Is there a "hook to physucal device" element? > > How about USB attached cameras? Tried osxvideosrc from gst-plugins-bad? Cheers -Tim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Am 09.04.2010 14:58, schrieb Tim-Philipp Müller:
> On Fri, 2010-04-09 at 03:30 -0800, Wes Miller wrote: > >> How does one set one's source as the built in camera (in my case the Apple >> iSight camera)? Is there a "hook to physucal device" element? >> >> How about USB attached cameras? > > Tried osxvideosrc from gst-plugins-bad? or just autovideosrc (does osxvideosrc have a rank!=0). Stefan > > Cheers > -Tim > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
In reply to this post by Wes Miller
Thanks for the great answers. Now for the other half of the question: what is the camera's location/uri? An ls /dev is not revealing.
Wes |
Administrator
|
On Sat, 2010-04-10 at 18:29 -0800, Wes Miller wrote:
> Thanks for the great answers. Now for the other half of the question: what > is the camera's location/uri? An ls /dev is not revealing. Most likely /dev/video0 , or any other matching the /dev/videoX pattern. Edward > > Wes ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
>> Thanks for the great answers. Now for the other half of the question: what >> is the camera's location/uri? An ls /dev is not revealing. > Most likely /dev/video0 , or any other matching the /dev/videoX > pattern. > Edward Well, it's not /dev/video. No /dev/videos , /dev/camera, /dev/isight, nothing that looks like what I'd expect. Lots of ptty's ant tty's and hd's, etc, but naught that resembles anything camera like. Any chance it might be some sort of URL? Thanks, Wes ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Mon, 2010-04-12 at 07:22 -0400, Wesley J. Miller wrote:
> >> Thanks for the great answers. Now for the other half of the question: what > >> is the camera's location/uri? An ls /dev is not revealing. > > > Most likely /dev/video0 , or any other matching the /dev/videoX > > pattern. > > > Edward > > Well, it's not /dev/video. No /dev/videos , /dev/camera, /dev/isight, > nothing that looks like what I'd expect. Lots of ptty's ant tty's > and hd's, etc, but naught that resembles anything camera like. > > Any chance it might be some sort of URL? You're not providing a lot of information here. Are you sure the problem is GStreamer-side? Does the camera work with any other application? Does this show any output on a freshly booted system? $ dmesg | grep -i isight For me (Macbook Pro, Linux 2.6.32) it shows this: [ 2.877500] usb 2-4: Product: Built-in iSight [ 16.832466] uvcvideo: Found UVC 1.00 device Built-in iSight (05ac:8502) [ 16.835194] input: Built-in iSight as /devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.0/input/input12 and $ gst-launch-0.10 v4l2src ! video/x-raw-yuv,width=640,height=480 ! \ queue ! ffmpegcolorspace ! ximagesink works just fine out of the box (but the device is /dev/video0, if it matters). Cheers -Tim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
Sorry for the lack of information. I have an iMac with Snow Leopard installed. I've managed to get gstreamer up and running and thought I'd do the simplest task possible, display the output of the camera. Thinking the camera had to be in /dev, i looked for the device name and found nothing. I am unfamiliar with v4l2src so I had no idea it'd go find the stream - at least that's what your pipeline suggests it's doing. Once again the gstreamer docs aren't ....ahhhh.... helpful.
So, it looks like your iSight is a USB device? Is the built in camera also USB? No Mac here at work so I'll geive all this a try tonight. Thanks, Wes |
On Mon, 2010-04-12 at 04:16 -0800, Wes Miller wrote:
> Sorry for the lack of information. I have an iMac with Snow Leopard > installed. Ok, so Mac OS X, not Linux. > I've managed to get gstreamer up and running and thought I'd do > the simplest task possible, display the output of the camera. Thinking the > camera had to be in /dev, i looked for the device name and found nothing. I > am unfamiliar with v4l2src so I had no idea it'd go find the stream - at > least that's what your pipeline suggests it's doing. Once again the > gstreamer docs aren't ....ahhhh.... helpful. > > So, it looks like your iSight is a USB device? Is the built in camera also > USB? > > No Mac here at work so I'll give all this a try tonight. It *should* be fairly simple if there is actually an element for this already. You shouldn't have to specify a device, it should just pick the first one available (which would typically be your camera). IIRC people have suggested various things to you last Friday, but you just replied 'thanks for all the suggestions' earlier, but didn't actually say what you've tried, what worked/didn't work, how it failed etc. Cheers -Tim ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |