For those who can’t find the streaming and image url , try this…
I know that a lot of time has passed, but for me it is the current topic. I successfully streams images from 4MP hikvision cameras (generic platform) to devices with iOS and Android v.5. The resolution is reduced automatically. Unfortunately, on the new tablet with androdid v.10 rtsp gives an image only if I reduce the cameras resolution to max. tablet resolution, i.e. 1080P, otherwise it does not display the image (although the old Android phone v.5 has no problem with that). I am looking for a solution to the problem, and I do not want to reduce the resolution of the cameras themselves, because it makes no sense, but maybe I can reduce the resolution of the streaming itself. Substream is also out of the question because the resolution is very low there.
check if your camera can do 3 streams, they usually need to have a box ticked to enable it and the 3rd stream can do higher res then the 2nd stream.
- platform: generic
still_image_url: http://user:[email protected]/video.cgi?msubmenu=jpg
stream_source: rtsp://user:[email protected]/profile5/media.smp
Could you please suggest on how to find the user
for SNH-V6414BN ? On Samsung application/website you can only specify password for the camera and none of the default usernames (admin/root/etc) work for me
PS: With try and fail I’ve figured user=‘admin’. I don’t think it can be changed.
Only ffmpeg works for me though:
- platform: ffmpeg
input: rtsp://admin:[email protected]/profile5/media.smp
If I remember correctly, the username is set on samsungs’s smartcam site: https://www.samsungsmartcam.com/web/ . That page is pretty dated and I had to use Internet Explorer for it to work. I think I ended up configuring that camera as an ffmpeg camera, which worked better, but I no longer have the config that I used.
For HikVision, make sure you use h.264 video encoding (it was h.265 for me by default for which the stream in home assistant fails)
Also, make sure you’ve enabled the digest authentication
Here’s my config:
Still Image URL: http://192.168.1.100/ISAPI/Streaming/Channels/101/picture
Stream Source: rtsp://admin:[email protected]:554/Streaming/Channels/102
Verify SSL: false
Username: admin
Password: pass
Authentication: digest
The admin account does not have access to the stream.