Stream Component: Confirmed Cameras and Configurations

Thanks. I don’t think the issue is with the setup or login because if I remove stream: . the camera works perfect, good image and 60 fps on the video. (not streamable and no media player) . I also use the same streaming url for ffmpeg and vlc which works.

  - platform: generic
    name: backyard_video2
    still_image_url: "http://192.168.2.38/cgi-bin/snapshot.cgi?channel=2"
    stream_source: "rtsp://user2:[email protected]:554/cam/realmonitor?channel=2&subtype=00&authbasic={dXNlcjI6cGFzc3dv}"
    username: user2
    password: passwo

Try removing the curly braces in stream_source. If still no luck, try again when 0.90.1 is released. There might be some more detailed logs at that point.

Ok, for Synology I can use the rtsp stream path, but what about the image url ?

You are correct. I removed the {} and I got more logs.

2019-03-21 15:21:09 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsp://user2:[email protected]:554/cam/realmonitor?channel=2&subtype=00&authbasic=dXNlcjI6cGFzc3dv

2019-03-21 15:21:09 ERROR (stream_worker) [libav.h264] error while decoding MB 4 32, bytestream -19

2019-03-21 15:21:10 ERROR (stream_worker) [homeassistant.components.stream.worker] Error demuxing stream:

I upgraded to 0.90.1 and I get a video now. Thanks

1 Like

dafang still_image works fine if you use the template from their github. I had to add the username, password, authentication type, and verify_ssl=false

  - platform: generic
    name: Camera
    still_image_url: https://192.168.x.y/cgi-bin/currentpic.cgi
    stream_source: rtsp://192.168.x.y:8554/unicast
    verify_ssl: false
    username: root
    password:  ********
    authentication: basic

Are wyze or blink cameras compatible with this?

1 Like

Want to know too

You may need to experiment with your cams, people may not have yours. If you find working config then post them here for others

1 Like

Would love to see a HomeKit integration… :eyes:

2 Likes

How can we use ffmpeg camera? E.g. for legacy cameras which don’t have HLS stream?

same problem here… Why is still image a required field :frowning:

ESCAM G02

- platform: generic
  still_image_url: "http://CAMERA_IP/snap.jpg?usr=USERNAME&pwd=PASSWORD"
  stream_source: "rtsp://USERNAME:PASSWORD@CAMERA_IP:554/01"
  name: "ESCAM G02 Stream #1"

FFMPEG is not yet supported, we tested this during beta and it was somewhat crashy. It’s being worked on.

2 Likes

For UniFi cams on the UniFi NVR some additional info:
On a Raspberry Pi running HassOS you will have issues streaming the full 1920x1080 stream. Even the 1024x576 stream is at times too much for the Pi to handle. Currently the 640x360 stream works “best” but needs to be adjusted in the NVR so it has more than the default 200kbps bitrate.

I have tested the streams successfully using 500kbps bitrates, 15FPS and 360p on a Raspberry Pi. When you have more beefy hardware the higher res streams should be fine.

-Jan

have not testd synology yet, you ?

i threw a random jpg in and tested streaming it to my TV and it did work, but the jpg isnt the camera feed…

The stream works fine for me for Dafang but there is alot of distortion now and then in the stream. What video settings do you Dafang user use have for your camera(s)?

Vivotek Camera

I have the live stream_source working but not the still_image. Not even sure im doing it right to be honest :slight_smile: Anyway one question i do have, i dont hear the audio from the stream through lovelace front end. Is audio supported? the volume control is shown and i have turned up to max and tried mute button etc.

  • platform: generic
    still_image_url: http://192.168.5.76/live.sdp (also tried the mjpeg stream)
    stream_source: rtsp://192.168.5.76/live.sdp
    username: root
    password: xxxxxx

Has anyone been able to get Foscam to work? I set up as a generic Cam and used the /videoMain path for the stream source, but I just get demux errors in my log when I try to play the stream. The actual camera tile works ok which I think is using the still image url.

Can’t post config at the moment but I do have the correct path for the rtsp feed (it plays ok in VLC).

Edit: nevermind seems to work in .90.1. Will post working config for everyone later today.