Not every device can play the stream, I think only cast
devices have been confirmed as of now.
I have tried both the main and sub stream
When you turn on stream and enable a stream on a camera, the web UI forces you to use the new stream methodā¦ When I click on my camera now in google chrome it launches a video player widget instead of the web window slide show.
It works really neat but I donāt have any audio (RTSP stream from Synology). Is this supported?
It looks like it works in VLC although it takes a bit to load up. Maybe there is just something goofy in the settings or its a bit much for the Raspberry Pi to push through? Iām not sure how streams work but I would assume its all going through the Piās hardware at some point
No audio yet
Hello everyone,
first of all I want to thank you for this component that works wonderfully since the transition to HA 0.90.1.
it streams the video from Synology and itās ok with VLC.
However, I want to send the video to my openlec / kodi without success.
I read on the kodi forum that m3u8 format was not supported.
Si i have āeditedā hls.py that it generates a m3u file instead of m3u8 and it works but only 1 or 2 seconds.
Do you have this problem too? If so, what is the solution for reading a m3u8 file?
In advance thank you for your help!
RTSP URLās for my XMEYE AHD cameras connected to a DVR with IP 192.168.1.10:
rtsp://192.168.1.10/user=admin_password=tlJwpbo6_channel=1_stream=0.sdp
change the ip and channel according with the ip of the DVR and the number of the connected camera the stream component works pretty well ( some artefact but itās ok) i cantā find the still image url: can someone help me?
could be possible reduce the size of the streaming ? ( for example 640 x 480)
Hi,
Iām using a Foscam cam model FI9853EP (which does not appear on ispyconnect list). But I have the rtsp link that allows to open the live stream in VLC, it follows this pattern: rtsp://user:passwd@ip:port/videoMain
.
When I try to open the stream, I have the following error: ERROR (stream_worker) [libav.rtsp] method DESCRIBE failed: 401 Unauthorized
. I tried removing the username and password from the url and setting them in the conf file with the same result.
Any idea how I can fix that?
Thanks.
Confirmed working. User and password in plain text. Not base64
Dahua DH-SD22204T-GN
Firmware: 2.622.0000000.3.R.T4.484
- platform: generic
still_image_url: "http://192.168.1.XXX/cgi-bin/snapshot.cgi"
stream_source: !secret stream
username: user
password: !secret dahuapw
verify_ssl: false
authentication: digest
Since the stream link has to have user and pw hardcoded, I put the link in secret.yaml:
stream: rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=00
This sounds like your username and password are wrong for accessing the stream.
Thanks @hunterjm for answering. Yes, it looks like but either following configurations give the same behavior while opening the url in VLC works.
Conf1:
camera:
- platform: generic
stream_source: rtsp://user:[email protected]:88/videoMain
still_image_url: http://192.168.1.153:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass
name: EntrƩe
Conf2:
camera:
- platform: generic
stream_source: rtsp://192.168.1.153:88/videoMain
still_image_url: http://192.168.1.153:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass
name: EntrƩe
username: user
password: pass
Is there any way to test?
Thanks.
Just installed 0.90.2 on my pi and tested 1080p streams via the UniFi NVR. They now play without any green artifacts.
Great job!
-Jan
I canāt get my Hikvision cams to work. They play fine in VLC player but HA is giving me this error;
2019-03-27 14:42:13 INFO (MainThread) [homeassistant.components.http.view] Serving
/api/hls/8e26f1d47690a83b238bd99de5bffd752327a5f18af6e6f2c73a9623e901cca6/playlist.m3u8 to 172.16.1.150 (auth: False)
2019-03-27 14:42:13 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsp://172.16.1.10:554
I tried many different authetication setups (including in the URL) but no luck. HTTP works fine BTW and like I said RTSP in VLC player works also fine. My cams are all 4K (DS-2CD2785FWD-IZS)
Neither of those are errors, and by themselves are indicators that it should be working. What else comes up in your logs after that?
nothing, I get the āstreamā window but the "hourglas"does not apear.
Maybe because the cams are 4K ? I will try to revert to 1080p
edit: 1080p does not solve the problem
PROBLEM SOLVED: I was using 265+ when switching to just 264+ it works
Hi all, anyone with working config for Dlink cameras? I have a DCS-942 and a DCS-5222, tryed but donāt know if the settings were right, the stream did not appeared. If I have a base for setting then I can experiment, using Onvifer app on the phone I found the stream url in rtsp that I can play in VLC, is it with user:password@urlofthestream
I am able to get the reolinks to work but only if I use the low resolution stream and I have to do it once then push it a second time to actually get it to stream. The first will just load forever. Anyone else have similar issues?
Yes, if you scroll up you will find that I am having the same issue of having to load it twice for the Reolink cameras.
Both streams work about the same for me but I am running hass.io on a VM the main stream takes longer to load and more processing power.
Working with:
Dlink dcs-2132l/dcs-2132l-es/dcs-2330
If https enabled, and certificate invalid like my es cameras, set verify_ssl to false, otherwise not necessary. Also have to use https in the still_image_url.
You can pick live1/ live2/ or live3.sdp
My live1 is h264 in the camera settings (not sure it matters)
2132l/2330
- platform: generic
name: A Camera
still_image_url: http://ip/image/jpeg.cgi
stream_source: rtsp://user:pass@ip:554/live1.sdp
username: !secret camera_user
password: !secret camera_password
2132l-es
- platform: generic
name: Another Camera
still_image_url: https://ip/image/jpeg.cgi
stream_source: rtsp://user:pass@ip:554/live1.sdp
username: !secret camera_user
password: !secret camera_password
verify_ssl: false
Equipment:
1 Luma 500 4-channel NVR
2 Wirepath 550 Series
- 640 x 480 10fps H.264
1 Hikvision DS-2CD2122F-I
- 1280 x 720 10fps H.264
Camera Config:
- platform: generic
still_image_url: !secret http_url_garage
stream_source: !secret rtsp_url_garage
name: parking
verify_ssl: false
- rtsp://usr:pwd@ip:port/Streaming/Channels/301/ # rtsp url format
- http://usr:pwd@ip:port/wps-cgi/jpg/image.cgi?camera=3 # jpg url format
Getting the secrets url right and restarting HA several times got it working. Thanks to hunterjm for helping me through it.