Adding new component

Felipe Contreras felipe.contreras at gmail.com
Mon Aug 15 07:39:35 PDT 2011


On Mon, Aug 15, 2011 at 4:13 PM, Siber <tvm.siber at gmail.com> wrote:
> Hello, everybody!
> I've just started working with gst-openmax. For my first component I've
> chosen "YUV Chroma filter". The component receives a frame in yuv-format
> (YUYV, UYVY, YV12, etc.) and sets chroma to zero. So we can see only
> black_and_white picture. That's all the modification the component should
> do.
>
> What component can I take as a template? And what files should I modify to
> make my component work correctly with gst-openmax and gstreamer? I tried to
> take ffmpeg colorspace converter from bellagio 0.9.1 as a template. To make
> gst-openmax cover for ffmpeg colorc converter I copied and then modified
> files that refer to omx_jpegenc: I modified gstomx.c, Makefile.am,
> gstomx.conf.in, and offcourse added gstomx_ffmpegcsc.c and gstomx_ffmpeg.h
> in the directory with gstomx_jpegenc.c. Now gst-openmax compiles without any
> errors, but I can't find omx_ffmpegcsc after gst-inspect command (but
> omx_jpegenc is in the plugins list).

I think using jpegenc as a basis is probably a good idea, the only
thing that comes to mind is that probably you are missing an entry in
omx/gstomx.conf.in, you can also write your own configuration file.

Cheers.

-- 
Felipe Contreras


More information about the gstreamer-openmax mailing list