moritzmhmk / homebridge-camera-rpi

raspberry pi camera plugin for homebridge
MIT License
159 stars 29 forks source link

Improve logging #32

Closed alexryd closed 5 years ago

alexryd commented 6 years ago

This plugin is working great for me on my RPi, but unfortunately it makes the homebridge log quite hard to read with all the output from ffmpeg. So in this PR I've improved the logging by suppressing the output from ffmpeg (unless debug is set to true in the config) and instead printing some more friendly messages like "Starting video stream (1280x720, 30 fps, 299 kbps)" and "Video stream stopped".

alexryd commented 6 years ago

Done! :)