Last active
July 11, 2017 10:23
-
-
Save alasin/319f36ca340d1cd2726dd61839c0a41f to your computer and use it in GitHub Desktop.
Play/Record 2 videos simultaneously
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw, width=640, height=480" ! videobox border-alpha=0 left=-640 ! queue ! videomixer name=mix ! videoconvert ! x264enc ! matroskamux ! filesink location=test.mkv sync=false videotestsrc ! "video/x-raw, width=640, height=480" ! videobox border-alpha=0 left=0 ! mix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment