You can do it with a computer (or something like a raspberry pi, etc.).
I use ffmpeg (free) or if you have a REALLY fast computer/video card you can do it with OBS (also free)
I don't have a hikvision camera on hand to try but this works for my Cantonk IPDH20H800-4K ip camera!
First, find out the link you can use to open the camera with VLC player, i.e. rtsp://admin:
[email protected]:554/0
Using this code (Windows 10, ffmpeg 3.4.1 64bit static) to fix choppy 4k streaming to youtube:
Code:
ffmpeg -rtsp_transport tcp -allowed_media_types video -i "rtsp://admin:[email protected]:554/0" -c copy -f h264 - | ffmpeg -f h264 -r 30 -i - -f lavfi -i anullsrc -b:a 2k -c:a aac -c:v copy -f flv "rtmp://a.rtmp.youtube.com/live2/YOUR_STREAM_KEY_HERE"
Youtube live:
Brooklin Grass Park Live Stream - YouTube (switches to 1080p at night but during the day is 4k)
-Jamie M.