[gst-devel] How to Set Buffer Size Within Plugin
Michael Joachimiak
mjoachimiak at gmail.com
Fri Oct 15 21:34:22 CEST 2010
I think you need to specify source caps according to sink caps. When you get
video/smth,width=640,height=480,.... on sink you can set source to the same
but width=1280,height=960. And obviously create the correct buffer size to
push on the src.
Is that what you want?
If you need more details give details yourself, otherwise we could end up
discussing apples and oranges.
2010/10/15 Michael Smith <msmith at xiph.org>
> Well, that's just up to what your plugin outputs. It'll be just like
> outputting the same size video, except... you'll be making things a
> different size in your plugin.
>
> Mike
>
>
> On Fri, Oct 15, 2010 at 10:54 AM, Greg Wunder <gwunder at eoir.com> wrote:
> > I realized I wasn't entirely clear on my question....sorry.
> > Let me revise:
> >
> > I need to set the output video size according to the input video size
> (say,
> > 2 times) inside a plugin.
> > I know how to set the buffer size, but not how to set the output video
> size
> > in this manner.
> >
> >
> > -----Original Message-----
> > From: sudarshan bisht [mailto:bisht.sudarshan at gmail.com]
> > Sent: Thu 10/14/2010 1:31 AM
> > To: Discussion of the development of GStreamer
> > Subject: Re: [gst-devel] How to Set Buffer Size Within Plugin
> >
> > I guess GstAdapter would be helpful for your task. Go through the link
> below
> > ;
> >
> >
> http://www.gstreamer.net/data/doc/gstreamer/head/gstreamer-libs/html/GstAdapter.html
> >
> > On Thu, Oct 14, 2010 at 1:24 AM, Greg Wunder <gwunder at eoir.com> wrote:
> >
> >> Does anyone know how to set the buffer size within a plugin or know of
> an
> >> example to do this?
> >> I need to resize my incoming video since I'm doing some output
> mosiacking
> >> that is larger than the incoming buffer size.
> >>
> >>
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Beautiful is writing same markup. Internet Explorer 9 supports
> >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> >> Spend less time writing and rewriting code and more time creating great
> >> experiences on the web. Be a part of the beta today.
> >> http://p.sf.net/sfu/beautyoftheweb
> >> _______________________________________________
> >> gstreamer-devel mailing list
> >> gstreamer-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >>
> >>
> >
> >
> > --
> > Regards,
> >
> > Sudarshan Bisht
> >
> >
> >
> ------------------------------------------------------------------------------
> > Download new Adobe(R) Flash(R) Builder(TM) 4
> > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> > Flex(R) Builder(TM)) enable the development of rich applications that run
> > across multiple browsers and platforms. Download your free trials today!
> > http://p.sf.net/sfu/adobe-dev2dev
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Your Sincerely
Michael Joachimiak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101015/c95d1634/attachment.htm>
More information about the gstreamer-devel
mailing list