Hi!<br><br>I'm trying to compose two videos, and I'm using the alpha plug-in to make the white color transparent.<br>To test the alpha plug-in I'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'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'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">http://polimedia.upv.es/pub/gst/gst.zip</a><br><br><br><br>Thanks in advance,<br> Miguel Escriva<br>