Bare with me while i explain.. I'm trying to get some Kasa KC100 working.. I CAN get them to write out an .mp4 by issuing a cURL command such as this..
Code: Select all
curl -vv -k -u Kasa@anon.com:UGFzc3dvcmQ= --ignore-content-length "https://192.168.1.38:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" --output - | ffmpeg -y -i - frontdoor.mp4
Now, further to this , i am then also able to make the 3 KC100's i have , work in 'Home Asssistant' , by using 'Kasa Cameras' add-on , which then enables a couple of output streams within Home Assistant, for the cameras, at ...
HLS ->
Code: Select all
http://<Homeassistant IP>:43330/hls/<CAMERA NAME>.m3u8
Code: Select all
rtmp://<Homeassistant IP>:43331/live/<CAMERA NAME>
which i 'can' then plug that rtmp url into ZoneMinder as an ffmpeg monitor.. (Which works)!
BUT.. what i would like to do , is bypass the whole need for HomeAssistant.. while its an impressive product, i dont want yet another machine in the loop. But i cant for the life of me, figure out a way to add the cURL command/url (eg)
Code: Select all
curl -vv -k -u Kasa@anon.com:UGFzc3dvcmQ= --ignore-content-length "https://192.168.1.38:19443/https/stream/mixed?video=h264&audio=g711&resolution=hd" --output - | ffmpeg -y -i - frontdoor.mp4
Any thoughts?
Thanks in Advance.