[gst-devel] Set Video caps after playing

thiagoss thiagossantos at gmail.com
Wed Jul 16 22:47:57 CEST 2008


On Tue, Jul 15, 2008 at 4:42 AM, Alexandre <airmind at gmail.com> wrote:

> Hi,
>
> I'm doing video conversion using GStreamer, and one of things I need is to
> scale down a video, if it is bigger then allowed.
> I've setup a pipeline using decodebin, and I was able to use the videoscale
> plugin by setting some fixed caps, but I want to set these caps only when
> the video dimensions are bigger then allowed. As I far as I understand it, I
> need to have the caps negociated to get the video dimensions, but then I
> can't set the caps I want. Is this right? How can I do what I want?
>

 You can get the caps when decodebin adds a new pad, and at this time you
analyze its caps to decide if you need videoscale or not.


>
>
> Thanks in advance
>
> --
> Alexandre Rosenfeld
>
> EngComp 06 - USP São Carlos
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080716/7cd3990a/attachment.htm>


More information about the gstreamer-devel mailing list