[gst-devel] Need help for rezising video.

liJin lijinsyam at gmail.com
Mon Jan 3 21:03:59 CET 2011


Hi..

   If you are looking for a plugin to resize the image ..i think capsfilter
will help you..

Reagrds
Lijin


On Tue, Jan 4, 2011 at 12:29 AM, Nicolas <c.r.n.a at wanadoo.fr> wrote:

> Hello,
>
> I have created a plugin that displays a video in an evas image.
>
> Here is my problem:
> When I resize the picture I am calling "evas_object_image_fill_set", it
> works correctly, however the consumption of CPU is just horrible, more
> than 120% !
> If I leave it in normal size, the consumption of CPU is normal.
>
> I want to know if there is a way to resize the video (via gstreamer) in
> my plugin.
> Have you any idea?
> May be I could create a function "buffer alloc"
> (gstbase_sink_class->buffer_alloc = mybufferalloc) and modify the buffer
> in it ?
>
> I know that there is "videoscale" but I do not know how to use it inside
> the plugin.
>
> Thank you in advance for your reply,
> Sincerely,
> Nicolas.
>
> Ps: sorry for bad english.
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110104/9c25ebc2/attachment.htm>


More information about the gstreamer-devel mailing list