How to add filesink to a videomixer

Sérgio Agostinho sergio.r.agostinho at gmail.com
Thu Mar 5 15:03:49 PST 2015


gst-launch-0.10 \
-e filesrc location="over.mov" \
! decodebin \
! queue \
! ffmpegcolorspace \
! alpha method=custom target-r=0 target-g=0 target-b=255 \
! videobox border-alpha=0 right=1 \
! videomixer name=mix \
! ffmpegcolorspace \
*! tee name=t ! queue \*
! autovideosink filesrc location="under.mov" \
! decodebin \
! queue \
! ffmpegcolorspace \
! videobox border-alpha=0 left=1 \
! mix. \
*t. ! queue ! filesink location=<filepath>*

This will save your raw video to a file.

Cheers

2015-03-05 22:26 GMT+01:00 aetitcomb <andrew at pixelstreetinc.com>:

> I'm setting up a pipeline with gst-launch to chromakey one video over
> another.  I've got it working with output to the screen.  However, I want
> to
> send the composite to a new movie.  But, I can't correctly fit a filesink
> into the pipeline.  Here's what I've got that works.  Can anyone tell me
> how
> to add the output?
>
> gst-launch-0.10 \
> -e filesrc location="over.mov" \
> ! decodebin \
> ! queue \
> ! ffmpegcolorspace \
> ! alpha method=custom target-r=0 target-g=0 target-b=255 \
> ! videobox border-alpha=0 right=1 \
> ! videomixer name=mix \
> ! ffmpegcolorspace \
> ! autovideosink filesrc location="under.mov" \
> ! decodebin \
> ! queue \
> ! ffmpegcolorspace \
> ! videobox border-alpha=0 left=1 \
> ! mix.
>
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/How-to-add-filesink-to-a-videomixer-tp4671020.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150306/bb8fee59/attachment.html>


More information about the gstreamer-devel mailing list