Stream from my camera

when open VLC and playing the stream from my camera, it’s looking very good.
when open the stream in HA it very chanky .
is there something to do?
my config is

ffmpeg:

camera:
  - platform: ffmpeg
    name: camera
    input: rtsp://10.100.102.40/ch0_0.h264
    ffmpeg_arguments: '-vf scale=800:450'

I’m ranning hass.io on RP 3b

Refael

What’s the resolution of your camera? Also where do you run VLC from?
Video feeds are quite CPU hungry so “pulling” the stream from the camera and replaying it from the Pi might be too much if it’s a high res camera?
I personally use the high res for recording and the 2nd channel (low res) for streaming

OK. i’l try it
Thanks

No, it didn’t change match.
it’s start bad (10 frame ps) but in 3 sec it’s stops all together.
my camera is yi home camera 1080p with yi-hack-v4
is there something to do here?
Refael

I had a similar problem with my amcrest cameras. This is when I would click on the “thumbnail” picture in the frontend which would open the stream in a larger window. It would take 7 to 10 seconds for it to actually start playing, and then after 30 seconds it would stop. This was with a relatively recent checkout of the HA dev branch. But I just updated it and tried again, and now it is working fine! :smile: I think this has something to do with PR #22338, which appears to be scheduled for 0.90.2.

ok. Thanks
one last thing.
i add those lines to lovelace.yaml

  - entity: camera.camera
    type: picture-entity

what else do i need to write in order to open the livestream
when tapping the picture-entity, and not to open the

Refael

I think that should be all you need. (I don’t have anything else.) Have you tried tapping the picture to see if the stream window opens?