<div dir="ltr"><span style="font-size:12.8000001907349px">gst-launch-0.10 \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">-e filesrc location="over.mov" \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! decodebin \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! queue \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! ffmpegcolorspace \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! alpha method=custom target-r=0 target-g=0 target-b=255 \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! videobox border-alpha=0 right=1 \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! videomixer name=mix \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! ffmpegcolorspace \</span><div><b>! tee name=t ! queue \</b></div><div><span style="font-size:12.8000001907349px">! autovideosink filesrc location="under.mov" \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! decodebin \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! queue \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! ffmpegcolorspace \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! videobox border-alpha=0 left=1 \</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">! mix. \</span><br></div><div><span style="font-size:12.8000001907349px"><b>t. ! queue ! filesink location=<filepath></b></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">This will save your raw video to a file. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Cheers</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-05 22:26 GMT+01:00 aetitcomb <span dir="ltr"><<a href="mailto:andrew@pixelstreetinc.com" target="_blank">andrew@pixelstreetinc.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm setting up a pipeline with gst-launch to chromakey one video over<br>
another.  I've got it working with output to the screen.  However, I want to<br>
send the composite to a new movie.  But, I can't correctly fit a filesink<br>
into the pipeline.  Here's what I've got that works.  Can anyone tell me how<br>
to add the output?<br>
<br>
gst-launch-0.10 \<br>
-e filesrc location="over.mov" \<br>
! decodebin \<br>
! queue \<br>
! ffmpegcolorspace \<br>
! alpha method=custom target-r=0 target-g=0 target-b=255 \<br>
! videobox border-alpha=0 right=1 \<br>
! videomixer name=mix \<br>
! ffmpegcolorspace \<br>
! autovideosink filesrc location="under.mov" \<br>
! decodebin \<br>
! queue \<br>
! ffmpegcolorspace \<br>
! videobox border-alpha=0 left=1 \<br>
! mix.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/How-to-add-filesink-to-a-videomixer-tp4671020.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/How-to-add-filesink-to-a-videomixer-tp4671020.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<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>
</blockquote></div><br></div>