Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created March 7, 2012 01:40
Show Gist options
  • Save dysinger/1990336 to your computer and use it in GitHub Desktop.
Save dysinger/1990336 to your computer and use it in GitHub Desktop.
Stream your desktop with VLC (screencam)
# stream video from your desktop & audio from another device into an h264/mp3 avi video with VLC
vlc screen:// --screen-fps=12 \
--input-slave=alsa://hw:1,0 \
--qt-start-minimized \
--sout "#transcode{venc=x264,vcodec=h264,fps=12,vb=640,acodec=mp3,channels=1,ab=64}\
:std{access=file,mux=mp4,dst=screencam-$(date -u +%Y-%m-%d-%s).avi}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment