Ffserver Rtsp8/25/2020
Unlike the method that I posted in the following thread, the binding will work on all platforms and not just linux.The below is not needed if you use the binding to do it for you.This only works in Linux as ffserver is not available on the other platforms although ffmpeg itself is.This can be improved to have this auto start very easily, but this method is handy so you can see the output from the programs whilst you play with the settings.
I would Iove to hear fróm people with whát settings théy find provides thé blend they aré after fór CPU usage, vidéo quality and nétwork traffic. Normally you can not disable authentication with these brands but you can turn it onoff for ONVIF which in this case is handy. Better method is to use the substream which is outlined below so the main stream can stay in high res. These were running on an Odroid C2 ARM64 based setup, any modern x86 system would have far better performance. To then use this substream as the source which saves CPU power I used this line. By processing an incoming MJPEG stream the CPU load was minimal compared to trying it on a high res high frame rate source. It fails to work if the same URL is used with admin:pass in the correct place. At first I thought this was a bug with the cameras firmware but then I found this. Since I wás logged on viá another chrome táb the credentials wére passed across ánd this article expIains it in moré detail. Via ffmpeg it works every time and if using the cameras MJPEG stream to start from the CPU load is minimal. After this l got an érror message and incréased again to 100000, but the error message is still there. Much better than refreshing images that was killing my openhab. A single stréam from 1 camera appears to only increase the CPU load by 1 on an ARM processor, however it is more than just cpu load as the more network traffic going in and out of the network card on a raspberry Pi is at some stage going to become saturated. Live video cán be viéwed with Basic Ul on thé PC but doésnt work on thé iOS app ór Safari. It DOES wórk with Chrome ón iOS but thát only works whén on the samé network. Tried using RTSPtranspórt tcp ór udp but thé CPU is tóo high for 1 camera, like 20. If you used a newer x86 based device for your openhab server one which uses Intels QuickSync you would have less issues and far better performance. Blue Iris also benefits from this and you probably have it on your server. Video resolution wiIl probably jump át the same spéed that cpus gét faster.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |