Broody hens and surveillance:) (aka chicken coop live stream)
Im using couple of UVC-outdoor for surveillance and live stream of some broody hens:
Check it out here:
Im keeping an eye on this while I am at the office, somewhat cathartic :-)
I have two UVC-Micros for the inside of my coop, but only available for private broadcast.
Nice Chicken-Kids :ubnt_banana:
Stepik, can you provide some details as to the bandwidth this stream is using and what you have available? I'm trying to do this (with loons in my case), but am finding that the stream from the UVC-G3 is completely clogging my system and as a result the video is very choppy and inconsistent. (In theory I can get 35 down/15 up, but clearly I'm constrained somehow.)
Are you streaming direct from the UVC natively or using ffmpeg?
Its with NVR, so NOT standalone. I also wanna have recording on motion and i have one setup anyway.
ffmpeg streaming in good quality (like 2500kbps) takes a bit of resources. I use more threads per stream and like quadcore VPS i have running.
I can send u the exact command to use with ffmpeg. It took me a bit of time to optimize it for good quality.
Definitely would be interested to see the optimized string Stepik – might help in my quest!
The framerate should be the same in NVR settings of that canmera and in this command (the "-r" parameter) The "-b" is bitrate, well, makes sense to set at least this bitrate on nvr also… "-preset fast" are some quality presets and fast is better then medium. Also note the "-threads" parameter
while true; do ffmpeg -rtsp_transport tcp -i rtsp://[ADDRESS-OF-STREAM-FROM-NVR] -deinterlace -r 25 -b 2048k -threads 4 -preset fast -f flv rtmp://[YOUTUBE_STREAM_ADDRESS]; sleep 10; done
its in 'while true' loop which means if it (ffmpeg) dies for whatever reason it will wait for 10 secs and start again (the "sleep 10")..
That's great!! Will give a kick at the proverbial cat with a similar string and see how it works! Many thanks.