Hi Kapil, <br><br>The error is that I can not get the white color trasnparent. I get the white color transparent in the first example, but when I test it with my video It doesn&#39;t work. By the way, I can get other colors to get transparent but not the white.<br>
<br><br>I ran the example with GST_DEBUG=*:2  and here you have the output<br><br>$ GST_DEBUG=*:2  gst-launch filesrc location=video.ogv ! decodebin2 ! alpha method=custom target-r=255 target-g=255 target-b=255 angle=10 ! queue ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink  filesrc location=snow.ogv ! decodebin2 ! alpha ! queue ! mixer.<br>
Setting pipeline to PAUSED ...<br>0:00:00.198821332  8308  0x88d17d8 WARN                oggdemux gstoggdemux.c:2366:gst_ogg_demux_read_chain:&lt;oggdemux0&gt; page is not BOS page<br>0:00:00.199405036  8308  0x88d17d8 WARN                oggdemux gstoggdemux.c:2362:gst_ogg_demux_read_chain:&lt;oggdemux0&gt; problem reading BOS page: ret=-3<br>
Pipeline is PREROLLING ...<br>0:00:00.205978003  8308  0x8784968 WARN                oggdemux gstoggdemux.c:743:gst_ogg_pad_submit_packet:&lt;oggdemux1&gt; stream parser didn&#39;t create src pad caps<br>0:00:00.206060428  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.206313860  8308  0x8784968 WARN                oggdemux gstoggdemux.c:2366:gst_ogg_demux_read_chain:&lt;oggdemux1&gt; page is not BOS page<br>0:00:00.206372701  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.206418895  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>0:00:00.206525018  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.206856786  8308  0x8784968 WARN                oggdemux gstoggdemux.c:2362:gst_ogg_demux_read_chain:&lt;oggdemux1&gt; problem reading BOS page: ret=-3<br>0:00:00.212764744  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.212846092  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>0:00:00.212888936  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.212928600  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>0:00:00.213180737  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.213285642  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>0:00:00.213327033  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>
0:00:00.213430980  8308  0x8784968 WARN                oggdemux gstoggstream.c:199:gst_ogg_stream_get_packet_duration: Failed to determine packet duration<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>Got EOS from element &quot;pipeline0&quot;.<br>Execution ended after 38580523905 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br>
<br><br>You can download the videos from <a href="http://polimedia.upv.es/pub/gst/gst.zip" target="_blank">http://polimedia.upv.es/pub/gst/gst.zip</a> and test if you want.<br><br>Thanks,<br>  Miguel Escriva<br><br><br><div class="gmail_quote">
2010/5/3 Kapil Agrawal <span dir="ltr">&lt;<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Miguel,<br><br>Can you please run your pipeline with GST_DEBUG=*:2 and pastebin the logs ?<br>Also based on your mail not clear whats the error,which is needed to give appropriate help.<br><br>One guess, you should have queue, before the mixer.<br>

<br>cheers<br><font color="#888888">Kapil<br><br></font><div class="gmail_quote"><div><div></div><div class="h5">On Mon, May 3, 2010 at 2:57 PM, Miguel Escriva <span dir="ltr">&lt;<a href="mailto:miesgre@gmail.com" target="_blank">miesgre@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi!<br><br>I&#39;m trying to compose two videos, and I&#39;m using the alpha plug-in to make the white color transparent.<br>To test the alpha plug-in I&#39;m creating the pipeline with gst-launch.<br><br>The first test I done was:<br>


<br>gst-launch videotestsrc pattern=smpte75  \<br>    ! alpha method=custom target-r=255 target-g=255 target-b=255 angle=10 \<br>    ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink  \<br>    videotestsrc pattern=snow ! mixer.<br>


<br>and it works great! Then I created two videos with those lines:<br><br>gst-launch videotestsrc pattern=snow ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=snow.ogv<br>gst-launch videotestsrc pattern=smpte75 ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=bars75.ogv<br>


<br>And changed the videotestsrc to a filesrc and it continues working<br><br>gst-launch filesrc location=bars75.ogv ! decodebin2 \<br>    ! alpha method=custom target-r=255 target-g=255 target-b=255 angle=10 \<br>    ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink  \<br>


    filesrc location=snow.ogv ! decodebin2 ! alpha ! mixer.<br><br><br>But, when I use the ideo I want to compose, I&#39;m not able to make the white color transparent<br><br>gst-launch filesrc location=video.ogv ! decodebin2 \<br>


    ! alpha method=custom target-r=255 target-g=255 target-b=255 angle=10 \<br>    ! videomixer name=mixer ! ffmpegcolorspace ! autovideosink  \<br>    filesrc location=snow.ogv ! decodebin2 ! alpha ! mixer.<br><br><br>Can you help me? Any idea what is happening?<br>


I&#39;m using GStreamer 0.10.28<br><br><br>You can download the test videos from here: <a href="http://polimedia.upv.es/pub/gst/gst.zip" target="_blank">http://polimedia.upv.es/pub/gst/gst.zip</a><br><br><br><br>Thanks in advance,<br>

<font color="#888888">  Miguel Escriva<br>
</font><br></div></div><div class="im">------------------------------------------------------------------------------<br>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">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>
<br></div></blockquote></div><div><div></div><div class="h5"><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br>
</div></div><br>------------------------------------------------------------------------------<br>
<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>
<br></blockquote></div><br>