持续推流中断 转 FLV
./ffmpeg -i udp://224.0.1.5:5005 -c:v libx264 -preset ultrafast -c:a aac -b:a 128k -f flv rtmp://192.168.1.10:1935/remote/dMzcjMp7SSaS9seOqP8BGNJumbnhfPRlcxao94xfQ8WQhRQI Continuously receive video streams from udp://224.0.1.5:5005. After 6 minutes, the following error is reported: WARN[2022-08-17T07:20:03Z] avc end sequence WARN[2022-08-17T07:37:02Z] hls SendPacket panic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x28e0e0] goroutine 47 [running]: GitHub.com/gwuhaolin/livego/protocol/httpflv.(*FLVWriter).SendPacket(0xca22a0) C:/Users/13349/Desktop/livego-0.0.15/protocol/httpflv/writer.go:151 +0x204 GitHub.com/gwuhaolin/livego/protocol/httpflv.NewFLVWriter.func1() C:/Users/13349/Desktop/livego-0.0.15/protocol/httpflv/writer.go:55 +0x20 created by GitHub.com/gwuhaolin/livego/protocol/httpflv.NewFLVWriter in goroutine 45 C:/Users/13349/Desktop/livego-0.0.15/protocol/httpflv/writer.go:54 +0x440 The push stream failed completely. You need to restart livego to use it normally. ?????
内容来源: gwuhaolin/livego