<div>&nbsp;</div>
<div>Hi , </div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Use ffmpegcolorspace in between decoder and sink plugin . <br><br></div>
<div class="gmail_quote">2008/11/10 Wei-Di Hung <span dir="ltr">&lt;<a href="mailto:wdhung@vaplab.ee.ncu.edu.tw">wdhung@vaplab.ee.ncu.edu.tw</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>I'm writing a hardware video codec plugin.<br>For now, I am using gst-launch to test the plugin but an error occurs:<br>
<br>gst-launch filesrc location=xxx.avi ! ffdemux_avi ! xxxdec ! fbdevsink<br><br>ERROR: from element /pipeline0/ffdemux_avi0: Internal data stream error.<br>Additional debug info:<br>gstffmpegdemux.c(1300): gst_ffmpegdemux_loop (): /pipeline0/ffdemux_avi0:<br>
streaming stopped, reason not-negotiated<br>ERROR: pipeline doesn&#39;t want to preroll.<br><br>While the last plugin is substituted by fakesink or filesink, the pipeline<br>works ok.<br>I've gst-inspected the decoder and fbdevsink,<br>
the src pad of decoder and the sink pad of fbdevsink both have the cap<br>GST_VIDEO_CAPS_RGB_16.<br>I've also edited the caps of decoder output buffer:<br>&nbsp;buf-&gt;caps = GST_PAD_CAPS (filter-&gt;srcpad);<br><br>Is there something I missed or got wrong with the plugin?<br>
Thanks in advance.<br>Robert<br><br><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>