Closed yh4922 closed 3 months ago
你可以直接配置让m7s 拉摄像头的 rtsp 流
这是测试场景 实际场景 rtsp 和 m7s 不在一个局域网 需要通过ffmpeg 推送到云上的m7s
那你加个 tcp 参数,否则会丢包
说的是 m7s的配置么
ffmpeg 我有加 -rtsp_transport tcp
我看到你加了,但是你加的是从远端拉流的 tcp,推到 m7s 你没加
这个不就是推流的参数么
没错,你只写了一个 现在你有两条 rtsp 流,一条是从远端到 ffmpeg,另一条是从 ffmpeg 到m7s
没太明白
ffmpeg -rtsp_transport tcp -i rtsp://admin:123456@192.168.18.40:554/Streaming/Channels/101 -c:a copy -c:v copy -f rtsp -rtsp_transport tcp rtsp://192.168.18.103/live/test40
确实可以 不会报错了 一时没反应过来 推流那边也可以加这个参数 感谢感谢🙏🙏🙏
推送命令
控制台日志
播放测试
每次播放都只会播放一两帧 就卡住了