rtsp服务器以及rtsp推流/拉流/转发
rtsp服务器以及rtsp推流/拉流/转发rtsp服务器1、live5552、ZLMediaKit3、ffserver4、gst-rtsp-server5、feng6、rtspd
1)live555 proxyServerlive555库文件编译https://www.cnblogs.com/dong1/p/5861624.html源码live/proxyServer/live555ProxyServer.cpp编译g++ live555ProxyServer.cpp -o live555ProxyServer \
-I $(pwd)/liveMedia/include ./liveMedia/libliveMedia.a \
-I $(pwd)/groupsock/include ./groupsock/libgroupsock.a \
-I $(pwd)/BasicUsageEnvironment/include ./BasicUsageEnvironment/libBasicUsageEnvironment.a \
-I $(pwd)/UsageEnvironment/include ./UsageEnvironment/libUsageEnvironment.a \运行./live555ProxyServer rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream rtsp://172.16.23.66:554/h264major rtsp://172.16.23.66:554/h264minor
./live555ProxyServer rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream
LIVE555 Proxy Server
(LIVE555 Streaming Media library version 2019.06.28; licensed under the GNU LGPL)
Created new TCP socket 4 for connection
RTSP stream, proxying the stream "rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream"
Play this stream using the URL: rtsp://172.16.23.140:8554/proxyStream
(We use port 8000 for optional RTSP-over-HTTP tunneling.)
2)rtsp2rtmprtsp stream to rtmpHow to use:cd demogo build demo.go./demo -rtspUrl "rtsp://admin:123456@10.1.51.13/H264?ch=1&subtype=0" -rtmpUrl "rtmp://10.1.51.20:1935/myapp/cv"https://github.com/falconray0704/rtsp2rtmp
3)ffmpeg推送rtsp码流到rtmp服务器摄像头HIKVISION DS-2CD23RZadmin 12345rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream转推送ffmpeg -i "rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream" -f flv -r 25 -s 1920x1080 -an "rtmp://182.61.45.149:1935/live/movie"ffmpeg -rtsp_transport tcp -re -i "rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream" -vcodec libx264 -preset ultrafast -acodec aac -f flvrtmp://182.61.45.149:1935/live/movie
播放ffplay rtmp://182.61.45.149:1935/live/movie
4)还有srs Ingest模块我从2014年到如今(2019年7月30日)都没用起来,有谁验证过的请告诉我一声。因为选择太多,我也不迷恋srs,所以这些年也就没折腾了。采集(Ingest)指的是将文件(flv,mp4,mkv,avi,rmvb等等),流(RTMP,RTMPT,RTMPS,RTSP,HTTP,HLS等等),设备等的数据,转封装为RTMP流(若编码不是h264/aac则需要转码),推送到SRS。https://github.com/ossrs/srs/wiki/v1_CN_Ingest
5)基于gstreamer的rtsp推送,转发和拉取https://blog.csdn.net/Jay_2018/article/details/900326521)gstreamer rtsp拉流播放https://blog.csdn.net/yang_quan_yang/article/details/788461342)gstereamer rtsp推流https://blog.csdn.net/zhuwei622/article/details/80348916
网上搜一圈,太多了,一杯茶得功夫,挖出下面一大堆,不用干重复劳动了,珍惜时间。https://github.com/PHZ76/RtspServerhttps://github.com/PHZ76/DesktopSharinghttp://blog.csdn.net/firehood_/article/details/16844397http://blog.csdn.net/xdshengk/article/details/46881231http://files.cnblogs.com/files/dong1/rtsp.ziphttps://github.com/mpromonet/v4l2rtspclienthttps://github.com/mpromonet/v4l2rtspserverhttps://github.com/beatgammit/rtsphttps://github.com/iizukanao/node-rtsp-rtmp-serverhttps://github.com/Streamedian/html5_rtsp_playerhttps://github.com/anyRTC/anyRTC-RTMP-OpenSourcehttps://github.com/NiuStar/XRtspServerhttps://github.com/statueofmike/rtsphttps://blog.csdn.net/xwu122930/article/details/78962234
分类: 1.1 数字媒体软件设计
摘自:https://www.cnblogs.com/dong1/p/10135277.html
页:
[1]