[gst-devel] How to create a IPLImage

Carlos Castro carloscastro7 at gmail.com
Fri Apr 9 14:59:19 CEST 2010


Hi Walter,

yes I think that could work:
http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html

It says "appsink — Easy way for applications to extract buffers from a
pipeline";
that's exactly what I want, thanks.

Here I see an implementation of that:
http://robot.itcollege.ee/svn/opencv-local/opencv-itcollege/otherlibs/highgui/cvcap_gstreamer.cpp


Thanks everyone.
Carlos Castro

2010/4/9 Carlos Castro <carloscastro7 at gmail.com>:
> I was just working on that, the code is attached... Take a look...
>
> 2010/4/9 lubiao <lubiao.py at gmail.com>:
>> On Fri, Apr 9, 2010 at 8:12 PM, Carlos Castro <carloscastro7 at gmail.com> wrote:
>>> Hi Lubiao,
>>>
>>> Thank you for your reply. I didn't know about the MultiFileSink, but I
>>> think I can work with that.
>>> But what I would really like, is to access the buffers that hold the
>>> current frame data:
>>>
>>> gst-launch videotestsrc num-buffers=100 ! \
>>>  video/x-raw-yuv,format=\(I420\),width=320,height=240 ! \
>>>  multifilesink
>>>
>>> ( I'm working in C language using the gstreamer0.10 API.)
>>> In this example, if I translate the pipeline to implement in my C
>>> code, how can I access this buffers? I don't know how to link them in
>>> the pipeline, so I can use them.
>>>
>>> Thanks,
>>> Carlos Castro
>>>
>>
>> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-dataaccess.html#section-data-probe
>>
>> try, please.
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; 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
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
>
> --
> Cumprimentos,
> Carlos Castro
>



-- 
Cumprimentos,
Carlos Castro




More information about the gstreamer-devel mailing list