How to set it to display on my tv (Samsung TV).
Please guide
Problem with Dafang. Hassio gets real sluggish, even on a Intel NUC i7 with 32GB internal memory. Error in log file:
2019-04-08 08:51:51 ERROR (stream_worker) [libav.mp3float] Header missing
Look also at issue: Cant stream generic camera “Header Missing” #22591
Hello
I have setup hikvision cameras and stream component.
I am able to “camera.play_strem” on a google screen cromecase device without issue
But on Hassio front end, after i click on the camera, my player always have a black screen and spinning circle. I do not get any errors in my log file (just “started stream message”)
I have verified the url’s with iSPi and streaming directly on cromecast through “camera.play_strem”
Why I can not see the stream with hassio?
K
- platform: generic
name: Front House
still_image_url:
http://xxx:[email protected]:80/PSIA/Streaming/channels/102/picture
stream_source: rtsp://xxx:[email protected]:8554/Streaming/Unicast/channels/102
You’re my hero with this ?latest hack. I lost several hours with dozens of configs and it was enough to add that crap at the end of the url
Try
frontend:
javascript_version: latest
https://github.com/home-assistant/home-assistant-polymer/issues/2987
Thank you… that solved my problem . The player now correctly displays the strem
I was having heaps of issues with the new streaming options as well with also heaps of errors but it is now fixed. I cleared my the cookies on my browser of my Home Assistant URL and it streams perfectly. I have no idea why or how this has anything to do with it but it works.
This workaround works for my yoosee cam.
https://github.com/home-assistant/home-assistant/issues/23094
would you please guide me to use rtsp for my hikvision NVR ?
I’m not able to stream on my home assistant
can you see the cameras in HA? as the problem you might have is, you are using the poe switch in the NVR? which then creates internal IP addresses. I use a separate pow switch so they are physically on my lan and get a static ip from my router.
The cameras in HA are showing “Idle” and there is no pictures.
All cameras are connected to NVR poe ports.
NVR IP: 192.168.1.220
Here is my config for one of the cameras
camera:
- platform: generic
name: Veranda
still_image_url: “http://admin:[email protected]/ISAPI/Streaming/channels/101/picture”
stream_source: rtsp://admin:[email protected]:554/Streaming/Channels/101/
There is usually a way to access each camera individually on an nvr… sometimes either changing the port number or the number of “channel”
Thank’s a lot for the link … It seems that if I enable the Hik-connect in the NVR then the encryption is by default enabled and the RTSP streaming links will be nonfunctional
I already had the POE switch before I had the NVR, and decided it wasn’t worth the hassle to move to the NVR. Sorry I’m not able to help
Hi,
Having also problems. Getting error:
2020-05-04 23:33:36 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream: No dts in packet
My config:
Camera:
- platform: generic
name: Streamtest
still_image_url: http://user:[email protected]/image/jpeg.cgi
stream_source: rtsp://user:[email protected]/play1.sdp
Camera is a DCS-825L D-Link. rstp URL works fine in VLC…
So if I read this tread a lot of users are experiencing the same problem. Is there anyone who has this working with the same cam?
Also tried to use the ‘?latest’ solution but that didnot work…
Thanks
btw HASS is fantastic!
Testing stream again with my cameras tonight and I founded that now, with onvif cameras, you can specify the transport (upd, tcp etc).
But sadly, you cannot do that for Generic cameras in which you can specified an rtsp “udp only compatible” url
https://github.com/home-assistant/core/issues/23094
So what’s the best setting to use stream in frontend/Google assistant?
Hi All,
I spent a good amount of time trying to get my hikvision camera showing in HA. After trying lots of setups this is what worked for me.
stream:
camera:
- platform: generic
name: "Front Gate"
still_image_url: "http://192.168.1.xxx/ISAPI/Streaming/channels/101/picture"
stream_source: "rtsp://username:[email protected]:554/Streaming/channels/102"
username: username
password: password
authentication: digest
name: Front Gate Snapshot
I think the thing that got it working was using the sub channel i.e. 2…thus /channels/102
hope this helps someone.
Your Hikvision cameras may support ONVIF which takes away all the headaches of finding the URLs.
If you use generic ip camera, please remember that YAML is deprecated and the above will give you a warning. It will automatically import but in a future release, trying to set up this way won’t work (you’ll need to use the UI)
The UI will help you verify your settings.