Skip to content

持续推流中断 转FLV  #231

Open
@yz-yz-yz

Description

@yz-yz-yz

./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 持续从 udp://224.0.1.5:5005 接收视频流 。 6分钟以后报这个 ::: 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
推流完全失败,,得重新启动 livego才可以正常使用 ?????

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions