Last active
September 21, 2020 00:19
-
-
Save frasertweedale/5219551 to your computer and use it in GitHub Desktop.
gstreamer record screencast pipeline
This file contains 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 \ | |
ximagesrc startx=0 starty=0 endx=1600 endy=1200 \ | |
! ffmpegcolorspace \ | |
! queue \ | |
! vp8enc max-latency=25 threads=4 \ | |
! mux. \ | |
pulsesrc device=alsa_input.usb-045e_Microsoft_LifeChat_LX-3000-00-LX3000.analog-mono \ | |
! audio/x-raw-int \ | |
! queue \ | |
! audioconvert \ | |
! vorbisenc \ | |
! mux. \ | |
webmmux name=mux \ | |
! filesink location=screencast.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What if I want to capture the second display and output to a window in the main display, not to a file? Also, scaled to 640x480 with neighbour interpolation and horizontal mirror, no sound...
It would be to monitor what's happening in the second display, if I can't watch it.
Thanks.