[gst-devel] stopping decodebin before it decodes to raw video

Michael Smith msmith at xiph.org
Tue Nov 18 07:10:28 CET 2008


Not with decodebin, no. You can use decodebin2 for this - it has some
signals that the app can connect to to control the autoplugging
process, or for simpler cases you can just tell it what caps it may
output (via a property).

Mike


On Mon, Nov 17, 2008 at 10:05 PM, Jon Burgess <jkburges at gmail.com> wrote:
> Hi,
>
> I am wanting to do something like the following, but haven't been able to
> get it to work:
>
>> gst-launch uridecodebin uri="rtsp://localhost:5554/test_small" ! queue !
>> decodebin ! video/x-h264 ! customsink
>
> where uri could be an RTSP/RTP source as above, or perhaps say a quicktime
> movie file on disk.  "customsink" is my own element, which takes
> *encoded/compressed* data of some form (in this example, h264, but it could
> also be mpeg4 part2 as an example) - i.e not raw RGB or YUV.
>
> decodebin always seems to decode to raw RGB/YUV, is there a way to get it to
> decode only to a certain caps? I have read the doco, but it is not clear to
> me if this is possible.
>
> Thanks,
> Jono
> -------------------------------------------------------------------------
> 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
>
>




More information about the gstreamer-devel mailing list