livego icon indicating copy to clipboard operation
livego copied to clipboard

摄像头过来的rtsp这种,用这个库如何直播

Open ezewu opened this issue 4 years ago • 5 comments

ezewu avatar Sep 10 '19 00:09 ezewu

这种的一般套路都是用ffmpeg把rtsp转换成rtmp流推到这个流媒体服务器上,可以参考下边的这条命令,推的是海康的一个摄像头
ffmpeg.exe -i "rtsp://admin:[email protected]:554/h264/ch1/main/av_stream" -c copy -f flv rtmp://192.168.1.179/live/aa

imamiao avatar Sep 12 '19 01:09 imamiao

感谢

ezewu avatar Sep 12 '19 01:09 ezewu

直接有支持 resp 推流的,专门给摄像头使用的。 https://github.com/Roverr/rtsp-stream

可以参考下。

golangpkg avatar Aug 19 '20 00:08 golangpkg

直接有支持resp推流的,专门给摄像头使用的 。https://github.com/Roverr/rtsp-stream

可以参考下。 谢谢

ezewu avatar Aug 21 '20 01:08 ezewu

专门的 rtsp 流媒体服务器:https://github.com/cnotch/ipchub。 支持 http-flv,websocket-flv,hls,flv还支持H265。可以尝试一下。

cnotch avatar Jan 20 '21 01:01 cnotch