engine icon indicating copy to clipboard operation
engine copied to clipboard

rtsp拉流中断:unsupport Content-Type header '[Application/Sdp]'

Open Johonnyr opened this issue 1 year ago • 9 comments

大佬请教一个问题,测试一个宇视的摄像头通过monibuca的rtsp拉流会有图内的错误,通过vlc直接拉取可以播放,如下图: 69a16892079757758ce656ef00bc105

Johonnyr avatar Oct 25 '24 00:10 Johonnyr

用 v5 试试 ,git clone -b v5 https://github.com/langhuihui/monibuca 到 example 目录的 default 下面,修改配置 pullrtsp.yaml 然后 go run main.go -c pullrtsp.yaml

langhuihui avatar Oct 25 '24 00:10 langhuihui

试了一下运行这个命令似乎没有任何输出 image

Johonnyr avatar Oct 29 '24 02:10 Johonnyr

你装了 go 了没

langhuihui avatar Oct 29 '24 02:10 langhuihui

装了

Johonnyr avatar Oct 29 '24 02:10 Johonnyr

装了

image

Johonnyr avatar Oct 29 '24 02:10 Johonnyr

go version go1.14.2 linux/amd64

Johonnyr avatar Oct 29 '24 02:10 Johonnyr

装 go 1.23 以上

langhuihui avatar Oct 29 '24 02:10 langhuihui

试了一下v5还是不行。现在测试用ffmpeg将rtsp转为rtmp推流向monibuca,用jessibuca是可以播放flv的,但是触发停止播放事件后,流格式转换就停止了,提示:Error writing trailer of rtmp://127.0.0.1:1935/live/20241029: Broken pipe,请教一下有什么方法可以让格式转换常驻吗,测试用nohup运行也不行

Johonnyr avatar Oct 30 '24 05:10 Johonnyr

你更新一下再试一次

langhuihui avatar Nov 03 '24 13:11 langhuihui