Last active
October 18, 2023 21:31
-
-
Save idcrook/613bfb96c3e66544a34662dbb2f9b4e2 to your computer and use it in GitHub Desktop.
Configure homebridge-camera-ffmpeg homebridge plugin for USB-attached webcam
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
{ | |
"platform": "Camera-ffmpeg", | |
"videoProcessor": "/usr/local/bin/ffmpeg", | |
"cameras": [ | |
{ | |
"name": "BasementCam", | |
"videoConfig": { | |
"source": "-re -f v4l2 -video_size 1280x720 -i /dev/video0", | |
"stillImageSource": "-f video4linux2 -input_format mjpeg -video_size 1280x720 -ss 0.9 -i /dev/video0 -frames:v 1", | |
"maxStreams": 2, | |
"maxWidth": 1280, | |
"maxHeight": 720, | |
"audio": false, | |
"vcodec": "h264_omx", | |
"debug": false | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment