Hello Genius, I am working out yr beautiful tutorial NVR SQLite but I failed to get it to work on the avconv command for the esp32 cam IP address:81/stream 30 secs short clip. RTSP is working perfectly in avconv command for my other RTSP camera. Can u help to provide me the avconv command for IP address:81/stream or any other command line that able to capture 30s video stream? Tqtqtq... If there is any other geniuses can help too and very much appreciated.
Did something like this with Homeassistant but I did mine with a video feed with simple CMD script in windows with VLC. The trigger was Ring DoorBell Button press, then it would run a CMD batch script on my windows box that calls VLC to cast RTSP link to my home hub. Hope this helps.
Just a minor thing at 04:46 -To get a readable timestamp in Node-Red, like here, I use *new Date().toISOString()* which gives me a string like 2020-03-08T23:00:20.889Z
Oh thanks. I usually do this complicated code as the ISOString would not be acceptable in file names, but in this example it would work. Thanks for the tip, I never used this date format before.
Hi, you mentioned https and certificates on node red...can you make a video on how to do that? I havent seen any video on youtube on that matter...Whats happening with self signed certificates? Google chrome does not seem to like them anymore...Many thanks ! Keep up the great work !!!
Probably. Browsers do not understand a rtsp stream, so the option is that run a transcoder server on your device (e.g. the raspberry pi which runs Node-Red) and covert the RSTP to HTTP stream. I have seen one example, but I could not reproduce it. So I gave up.
if you want to send video from a camera, need to have a http camera with a stream like "[ip]:[port]/video" then you can send a payload like that to start casting video: { "app": "DefaultMediaReceiver", "type": "MEDIA", "media": { "url": [ip]:[port]/video", "contentType": "image/jpeg", "streamType": "BUFFERED" } } to stop casting video: { "type": "CLOSE" } to the castv2, and its works. note: replace the [ip]:[port] with the values, I tested with ip webcam app in my android phone
Superb bro... Always make priority to watch your fantastic tutorial. Very fruitful...
Thanks :)
Hello Genius, I am working out yr beautiful tutorial NVR SQLite but I failed to get it to work on the avconv command for the esp32 cam IP address:81/stream 30 secs short clip. RTSP is working perfectly in avconv command for my other RTSP camera. Can u help to provide me the avconv command for IP address:81/stream or any other command line that able to capture 30s video stream? Tqtqtq... If there is any other geniuses can help too and very much appreciated.
Thx for your explanations!
Real cool!!! Brow! Congratz!
Did something like this with Homeassistant but I did mine with a video feed with simple CMD script in windows with VLC. The trigger was Ring DoorBell Button press, then it would run a CMD batch script on my windows box that calls VLC to cast RTSP link to my home hub. Hope this helps.
Unfortunately, my trigger no longer works, Ring API issues so haven't used it in a few months now, but the video stream part was pretty flawless.
So your VLC streams RTSP to a HTTP stream? Good to know, I did not know VLC can do that. Thanks.
@@csongorvarga Here's my CMD script not sure if YT allows links or not but here's a try pastebin.com/NqXsaA3j
Just a minor thing at 04:46 -To get a readable timestamp in Node-Red, like here, I use *new Date().toISOString()* which gives me a string like 2020-03-08T23:00:20.889Z
Oh thanks. I usually do this complicated code as the ISOString would not be acceptable in file names, but in this example it would work. Thanks for the tip, I never used this date format before.
Hi, you mentioned https and certificates on node red...can you make a video on how to do that? I havent seen any video on youtube on that matter...Whats happening with self signed certificates? Google chrome does not seem to like them anymore...Many thanks ! Keep up the great work !!!
It's possible to make live stream on dashboard?
Probably. Browsers do not understand a rtsp stream, so the option is that run a transcoder server on your device (e.g. the raspberry pi which runs Node-Red) and covert the RSTP to HTTP stream. I have seen one example, but I could not reproduce it. So I gave up.
Thanks.
if you want to send video from a camera, need to have a http camera with a stream like "[ip]:[port]/video" then you can send a payload like that
to start casting video:
{
"app": "DefaultMediaReceiver",
"type": "MEDIA",
"media": {
"url": [ip]:[port]/video",
"contentType": "image/jpeg",
"streamType": "BUFFERED"
}
}
to stop casting video:
{
"type": "CLOSE"
}
to the castv2, and its works.
note: replace the [ip]:[port] with the values, I tested with ip webcam app in my android phone