It is compiled now and my omx_ffmpegcsc is in the plugin list (after gst-inspect). Now I'm stuck with modification gst-openmax wrapper for jpegenc to ffmpegcsc wrapper (wrapper in my mind consists mostly of gstomx_ffmpegcsc.c and gstomx_ffmpegcsc.h files, please correct me if necessary). <br>
<br>The biggest problem for me is to change specification of output from JPEG-image to raw-video (YUYV, I420 and so on, like an input data).<br><br>I've tried something but I'm getting mistake:<br>from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Failed to create output image buffer of 352x288 pixels<br>
<br>Pipeline: gst-launch filesrc location=$HOME/GST_OpenMAX/vtest.avi ! avidemux ! omx_mpeg4dec ! omx_ffmpegcsc ! xvimagesink<br><br>Thank you!<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>