[gst-devel] Need help for rezising video.

Stefan Kost ensonic at hora-obscura.de
Sat Jan 8 12:24:39 CET 2011


Am 03.01.2011 22:03, schrieb liJin:
> Hi..
> 
>    If you are looking for a plugin to resize the image ..i think capsfilter will
> help you..

capsfilter could be used to constrain caps. As nicolas noticed videoscale whould
be the right choise. Nicals, just put videoscale infront of your videosink.

Stefan
> 
> Reagrds 
> Lijin
>  
> 
> On Tue, Jan 4, 2011 at 12:29 AM, Nicolas <c.r.n.a at wanadoo.fr
> <mailto: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
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> 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





More information about the gstreamer-devel mailing list