Now I tried not to create new files but to make changes right in gstomx_jpegenc.c and gstomx_jpegenc.h So in these files I renamed jpegenc (JPEGENC, JpegEnc and so on) to ffmpegcsc (FFMPEGCSC and so on correspondingly), After that I made the same changes in /omx/<a href="http://gstomx.conf.in">gstomx.conf.in</a>, /omx/gstomx.c, /omx/Makefile.am. After that I receive next message:<br>
--------<br>Failed to load plugin '/home/siber/omx/lib/gstreamer-0.10/libgstomx.so': /home/siber/omx/lib/gstreamer-0.10/libgstomx.so : undefined symbol gst_omx_ffmpegcsc_get_type<br>--------<br>I don't know what to do. I guess I should correct also the body of gst_omx_ffmpeg_get_type (previously of gst_omx_jpegenc_get_type), but I can't find where is it located. I found only declaration in /omx/gstomx_ffmpegcsc.h and one reference in /omx/gstomx.c.<br>
<br><div class="gmail_quote">On Mon, Aug 15, 2011 at 9:39 PM, Felipe Contreras <span dir="ltr"><<a href="mailto:felipe.contreras@gmail.com">felipe.contreras@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On Mon, Aug 15, 2011 at 4:13 PM, Siber <<a href="mailto:tvm.siber@gmail.com">tvm.siber@gmail.com</a>> wrote:<br>
> Hello, everybody!<br>
> I've just started working with gst-openmax. For my first component I've<br>
> chosen "YUV Chroma filter". The component receives a frame in yuv-format<br>
> (YUYV, UYVY, YV12, etc.) and sets chroma to zero. So we can see only<br>
> black_and_white picture. That's all the modification the component should<br>
> do.<br>
><br>
> What component can I take as a template? And what files should I modify to<br>
> make my component work correctly with gst-openmax and gstreamer? I tried to<br>
> take ffmpeg colorspace converter from bellagio 0.9.1 as a template. To make<br>
> gst-openmax cover for ffmpeg colorc converter I copied and then modified<br>
> files that refer to omx_jpegenc: I modified gstomx.c, Makefile.am,<br>
> <a href="http://gstomx.conf.in" target="_blank">gstomx.conf.in</a>, and offcourse added gstomx_ffmpegcsc.c and gstomx_ffmpeg.h<br>
> in the directory with gstomx_jpegenc.c. Now gst-openmax compiles without any<br>
> errors, but I can't find omx_ffmpegcsc after gst-inspect command (but<br>
> omx_jpegenc is in the plugins list).<br>
<br>
</div></div>I think using jpegenc as a basis is probably a good idea, the only<br>
thing that comes to mind is that probably you are missing an entry in<br>
omx/<a href="http://gstomx.conf.in" target="_blank">gstomx.conf.in</a>, you can also write your own configuration file.<br>
<br>
Cheers.<br>
<font color="#888888"><br>
--<br>
Felipe Contreras<br>
_______________________________________________<br>
gstreamer-openmax mailing list<br>
<a href="mailto:gstreamer-openmax@lists.freedesktop.org">gstreamer-openmax@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax</a><br>
</font></blockquote></div><br>