[gst-devel] Plugin writing problem with caps negotiation

sudarshan bisht bisht.sudarshan at gmail.com
Mon Nov 10 11:27:01 CET 2008


Hi ,
        Use ffmpegcolorspace in between decoder and sink plugin .

2008/11/10 Wei-Di Hung <wdhung at vaplab.ee.ncu.edu.tw>

> Hi,
> I'm writing a hardware video codec plugin.
> For now, I am using gst-launch to test the plugin but an error occurs:
>
> gst-launch filesrc location=xxx.avi ! ffdemux_avi ! xxxdec ! fbdevsink
>
> ERROR: from element /pipeline0/ffdemux_avi0: Internal data stream error.
> Additional debug info:
> gstffmpegdemux.c(1300): gst_ffmpegdemux_loop (): /pipeline0/ffdemux_avi0:
> streaming stopped, reason not-negotiated
> ERROR: pipeline doesn't want to preroll.
>
> While the last plugin is substituted by fakesink or filesink, the pipeline
> works ok.
> I've gst-inspected the decoder and fbdevsink,
> the src pad of decoder and the sink pad of fbdevsink both have the cap
> GST_VIDEO_CAPS_RGB_16.
> I've also edited the caps of decoder output buffer:
>  buf->caps = GST_PAD_CAPS (filter->srcpad);
>
> Is there something I missed or got wrong with the plugin?
> Thanks in advance.
> Robert
>
>
> -------------------------------------------------------------------------
> 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
>



-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081110/bc18ecac/attachment.htm>


More information about the gstreamer-devel mailing list