Hello,<br>I am working on a very similar project. I have created a source element for the National Instruments IMAQ series of capture cards (Camera Link and LVDS).<br><br>Yes you want to use GstPushSrc since cameras are live sources, that is what I use for my niimaqsrc.<br>
<br>Most GStreamer elements work with raw data, depending on what format you're talking about. The majority of elements work in YUV, but you can always use ffmpegcolorspace to convert from raw gray or RGB to that.<br>
<br>I have a particular interest in high bit depth cameras, typically 12 to 16-bits per channel, though mostly a single channel (grayscale). There are very few elements right now that work with video/x-raw-gray,depth=16, including ffmpegcolorspace. I plan to write many elements to work with these higher bit depths. So far the only one I've written is a videolevels element which converts 16-bit to 8-bit given pairs of lower/upper input and output levels (linear stretch). I will also add auto-stretch and setting of a LUT. Later I would like to implement tone mapping algorithms to better take advantage of the higher bit depth.<br>
<br>If you'd like I can send you my implementation of the niimaqsrc element; at some point I plan to start an online repository if my work will allow it.<br><br>I am also very interested in your project because at some point I plan to start using GigE Vision and Firewire cameras.<br>
<br>Regards,<br>-Josh<br><br><div class="gmail_quote">On Mon, Apr 12, 2010 at 9:49 AM, Emmanuel Pacaud <span dir="ltr"><<a href="mailto:emmanuel@gnome.org" target="_blank">emmanuel@gnome.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I'm currently developing an industrial camera acquisition library,<br>
Aravis.<br>
<br>
<a href="http://git.gnome.org/browse/aravis/" target="_blank">http://git.gnome.org/browse/aravis/</a><br>
<a href="http://blogs.gnome.org/emmanuel/category/aravis/" target="_blank">http://blogs.gnome.org/emmanuel/category/aravis/</a><br>
<br>
I'm now trying to write a gstreamer source element using this library.<br>
And since I don't know much about gstreamer, I'm looking for some<br>
advices for this work.<br>
<br>
Aravis is using a pool of buffers, in which it stores complete raw<br>
images, in different formats depending on the camera capabilities.<br>
<br>
Is GstPushSrc the right base class for an Aravis source element ?<br>
<br>
Does gstreamer provides elements which are able to understand a stream<br>
of raw image buffers ?<br>
<br>
Is there an existing gstreamer plugin similar to what I want to<br>
implement ?<br>
<br>
Thanks in advance,<br>
<br>
Emmanuel.<br>
<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel&#174; Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>