Created
June 11, 2015 04:02
-
-
Save soulslicer/18c651dd443c1a9216bb to your computer and use it in GitHub Desktop.
gstreamer-eg2
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 -ev \ | |
v4l2src device=/dev/video4 ! video/x-raw-yuv,width=1792,height=768 \ ! tee name=pip ! queue ! videorate ! video/x-raw-yuv,framerate=25/1 \ ! videocrop left=1024 bottom=192 ! video/x-raw-yuv,framerate=25/1 \ | |
! xvidenc bitrate=2000000 max-key-interval=25 ! video/mpeg,framerate=25/1 \ ! avimux ! filesink location=/tmp/video.avi \ | |
pip. ! queue ! videorate ! video/x-raw-yuv,framerate=5/1 \ ! videocrop right=768 ! video/x-raw-yuv,framerate=5/1 \ | |
! xvidenc bitrate=1000000 max-key-interval=5 ! video/mpeg,framerate=5/1 \ ! avimux ! filesink location=/tmp/grabber.avi \ | |
alsasrc device=hw:0 ! audio/x-raw-int,rate=44100,channels=2,depth=16 \ ! queue ! lamemp3enc target=bitrate cbr=true bitrate=128 \ | |
! avimux ! filesink location=/tmp/audio.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment