rtsp 拉流服务容器
docker pull aler9/rtsp-simple-server
docker run -it -e RTSP_RTMPDISABLE=true -e RTSP_HLSDISABLE=true -e RTSP_PROTOCOLS=tcp -p 8081:8554 aler9/rtsp-simple-server
docker start xxxxxx
ffmpeg -re -stream_loop -1 -i 2.mp4 -c copy -f rtsp rtsp://192.168.1.100:8554/mystream
rtmp://192.168.1.100:8554//mystream
ffplay -fflags nobuffer rtsp://192.168.1.100:8554/mystream
https://ruidu-dev2.oss-cn-shanghai.aliyuncs.com/images/2022/03/29/16485182498655957.mp4
通过文档命令执行:
[En]
Execute through the documentation command:
python restapi.py –rtsp_url ‘https://ruidu-dev2.oss-cn-shanghai.aliyuncs.com/images/2022/03/29/16485182498655957.mp4’ –post_url ‘http://www.yushangcc.com:81/video_data’
docker 容器地址:/app/yolov5/utils/flask_rest_api/static
Original: https://www.cnblogs.com/adolfmc/p/16442201.html
Author: adolfmc
Title: python rtsp
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/7419/
转载文章受原作者版权保护。转载请注明原作者出处!