Upcoming Maintenance Alert:

The UBNT Community will be upgraded at 5pm MDT on April 25th. During this time the community forums will be set to read-only status.

Learn more

×

Broody hens and surveillance:) (aka chicken coop live stream)

by ‎04-16-2017 05:53 AM - edited ‎04-16-2017 05:55 AM

Hi All!

 

Im using couple of UVC-outdoor for surveillance and live stream of some broody hens:

Check it out here:

https://www.youtube.com/channel/UCUB4puGKg0ar49OQjLbmdLw

 

 top-right-l.jpg

Comments
by
on ‎04-16-2017 06:58 AM

cool 

 

/Flemming 

by
on ‎04-17-2017 06:48 AM

Im keeping an eye on this while I am at the office, somewhat cathartic :-)

by
on ‎04-19-2017 10:42 AM

Nice!

 

I have two UVC-Micros for the inside of my coop, but only available for private broadcast.

by
on ‎04-20-2017 01:23 AM

Nice Chicken-Kids Ubnt Banana

by
on ‎04-23-2017 10:36 AM

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?

by
on ‎04-24-2017 10:21 AM

 

Yeah..

 

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.

by
on ‎04-24-2017 10:50 AM

Definitely would be interested to see the optimized string Stepik -- might help in my quest!

by
‎04-25-2017 05:58 AM - edited ‎04-25-2017 06:14 AM

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")..

by
on ‎04-25-2017 01:31 PM

That's great!! Will give a kick at the proverbial cat with a similar string and see how it works! Many thanks.