Adding new component
Siber
tvm.siber at gmail.com
Wed Aug 17 07:22:38 PDT 2011
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).
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).
I've tried something but I'm getting mistake:
from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Failed to
create output image buffer of 352x288 pixels
Pipeline: gst-launch filesrc location=$HOME/GST_OpenMAX/vtest.avi ! avidemux
! omx_mpeg4dec ! omx_ffmpegcsc ! xvimagesink
Thank you!
On Mon, Aug 15, 2011 at 9:39 PM, Felipe Contreras <
felipe.contreras at gmail.com> wrote:
> 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
> _______________________________________________
> gstreamer-openmax mailing list
> gstreamer-openmax at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-openmax
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20110817/9ab52e4b/attachment.htm>
More information about the gstreamer-openmax
mailing list