Skip to content

Instantly share code, notes, and snippets.

@jgrevich
Created March 23, 2016 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgrevich/1256fbb7f1c3939a3296 to your computer and use it in GitHub Desktop.
Save jgrevich/1256fbb7f1c3939a3296 to your computer and use it in GitHub Desktop.
Logitech c910 AV capture with gstreamer
gst-launch-1.0 -vvv \
v4l2src device=/dev/video0 ! videorate ! \
'image/jpeg,framerate=30/1,width=1920,height=1080' ! queue ! mux. \
pulsesrc device='alsa_input.usb-046d_0821_9E3A69E0-00-U0x46d0x821.analog-stereo' ! \
'audio/x-raw,rate=32000,channels=1,depth=24' ! \
audioconvert ! lamemp3enc quality=2 ! queue ! mux. \
matroskamux name="mux" ! filesink location=capture.mkv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment