<div dir="ltr"><div><div>Dear Sebastian,<br><br></div>Sorry for late reply, my pipeline looks like this<br><b>filesrc location=/somefile.txt ! reader ! decoder ! ffmpegcolorspace ! ximagesink</b><br></div><div><b>reader and decoder</b> are my plugins <b>reader</b> process the data from previous file sends a structure to <b>decoder</b>.<br>
</div><div>decoder reads the data from structure and write it on PangoLayout paint this on cairo_surface which has all 0's ARGB32 background, then I take the surface into unsigned char* and copy this to buffer data and by using the caps that you sent I pushed this buffer to ffmpegcolorspace. All text color, layout bg color is looking fine and If I remove the alpha to surface background then color shows properly, if I use alpha it shows black.<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 18, 2013 at 2:04 PM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mi, 2013-12-18 at 11:15 +0530, Ramesh Adapa wrote:<br>
> Dear Sebastian,<br>
><br>
> Thanks for your quick response, now the color problem is solved but<br>
> still I have the alpha issue(i.e. alpha pixels are showing as black).<br>
> If I write my cairo surface into PNG it works fine. Let me know if<br>
> there is any extension of your privious solution that solves the alpha<br>
> problem.<br>
<br>
</div>Well, what are you doing with the ARGB video stream? How is your<br>
complete pipeline looking?<br>
<br>
If the pixels with alpha are fully transparent and have all color<br>
components set to 0 it will be black unless you blend it with something<br>
else.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><b><font size="1"><span style="color:rgb(102,102,102)">Thanks,</span></font></b><br style="color:rgb(102,102,102)">
<p style="margin-bottom:0in;color:rgb(102,102,102)"><a name="SafeHtmlFilter_SafeHtmlFilter_post_text_1823861"></a><b>R@m€$h Ad@p@.</b></p></div>
</div>