Last active
March 2, 2018 04:13
-
-
Save rnrneverdies/93e0321b97670e3f9c1c1e33fdb0ef7f to your computer and use it in GitHub Desktop.
Script to record 3 LifeCam cameras
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
#!/usr/bin/env bash | |
ffmpeg -y -rtbufsize 102M -f dshow -video_size 640x480 -framerate 30 -pixel_format yuyv422 \ | |
-video_device_number 0 -i video="Microsoft® LifeCam Studio(TM)" -t 60 -c:v copy -crf 0 \ | |
camera0.mkv & | |
ffmpeg -y -rtbufsize 102M -f dshow -video_size 640x480 -framerate 30 -pixel_format yuyv422 \ | |
-video_device_number 1 -i video="Microsoft® LifeCam Studio(TM)" -t 60 -c:v copy -crf 0 \ | |
camera1.mkv & | |
ffmpeg -y -rtbufsize 102M -f dshow -video_size 640x480 -framerate 30 -pixel_format yuyv422 \ | |
-video_device_number 2 -i video="Microsoft® LifeCam Studio(TM)" -t 60 -c:v copy -crf 0 \ | |
camera2.mkv & | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment