Last active
October 16, 2019 13:50
-
-
Save hermanzdosilovic/d154f2e62741b0e33faed020f48e3eb3 to your computer and use it in GitHub Desktop.
Do something useful with VLC.
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
# Stream camera and microphone feed. | |
vlc v4l2:///dev/video0 --input-slave alsa://hw:0,0 | |
# Save 5s of camera and microphone feed to file. | |
timeout 5s cvlc v4l2:///dev/video0 --input-slave alsa://hw:0,0 --sout=file/avi:video.avi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment