1、docker 启动SRS
docker run -it -p 1935:1935 -p 1985:1985 -p 8080:8080 registry.cn-hangzhou.aliyuncs.com/ossrs/srs:4 ./objs/srs -c conf/docker.conf
2、通过ffmpeg转流
https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-2022-12-19-git-48d5aecfc4-full_build.7z
ffmpeg.exe -re -i C:\Users\Nbad\Desktop\srs-develop\trunk\doc\source.200kbps.768x320.flv -c copy -f flv rtmp://localhost/live/livestream
3、尝试推送rtsp流
rtsp://USER:PASSWORD:554/Streaming/Channels/101
ffmpeg.exe -re -i C:\Users\Nbad\Desktop\srs-develop\trunk\doc\source.200kbps.768x320.flv -c copy -f flv rtmp://localhost/live/livestream
ffmpeg -rtsp_transport tcp -i "rtsp://admin:ajb123456@192.168.10.36" -c copy -f hls -hls_time 2.0 -hls_list_size 0 -hls_wrap 15 C:/wjanzhuang/nginx/html/hls/test.m3u8
ffmpeg -rtsp_transport tcp -i "rtsp://USER:PASSWORD@192.168.23.2:554/Streaming/Channels/101" -c copy -f flv rtmp://localhost/live/livestream
ffmpeg -i rtsp://USER:PASSWORD@192.168.23.4:554/Streaming/Channels/101 -c copy -f flv rtmp://localhost/live/livestream
ffplay.exe rtsp://USER:PASSWORD@192.168.23.4:554/Streaming/Channels/101
ffmpeg -rtsp_transport tcp -i rtsp://USER:PASSWORD@192.168.23.4:554/Streaming/Channels/101 -c:v libx264 -f flv rtmp://localhost/live/livestream
ffmpeg -rtsp_transport tcp -i rtsp://USER:PASSWORD@192.168.23.2:554/Streaming/Channels/101 -c:v libx264 -f flv rtmp://localhost/live/livestream1