Closed ankycooper closed 1 year ago
go2rtc crashes
This is fixed in the latest go2rtc as per https://github.com/AlexxIT/go2rtc/issues/390
Embedded go2rtc version: 1.2.0
Can we bump this to the latest go2rtc https://github.com/AlexxIT/go2rtc/releases/tag/v1.5.0
0.12.0-DA3E197
NA
`2023-06-07 05:48:25.372272035 panic: runtime error: index out of range [0] with length 0 2023-06-07 05:48:25.372303265 2023-06-07 05:48:25.372309822 goroutine 115 [running]: 2023-06-07 05:48:25.372317342 github.com/deepch/vdk/codec/h265parser.AVCDecoderConfRecord.Marshal({0x1, 0x60, 0x0, 0x3, {0xc00036e2a0, 0x1, 0x1}, {0xc00036e240, 0x1, 0x1}, ...}, ...) 2023-06-07 05:48:25.372390442 github.com/deepch/vdk@v0.0.19/codec/h265parser/parser.go:634 +0x67c 2023-06-07 05:48:25.372398478 github.com/deepch/vdk/codec/h265parser.NewCodecDataFromVPSAndSPSAndPPS({_, _, _}, {_, _, _}, {_, _, _}) 2023-06-07 05:48:25.372418688 github.com/deepch/vdk@v0.0.19/codec/h265parser/parser.go:515 +0x3eb 2023-06-07 05:48:25.372425255 github.com/AlexxIT/go2rtc/pkg/mp4.(*Muxer).GetInit(0xc0000d8040, {0xc00007a600, 0x2, 0xc000292020?}) 2023-06-07 05:48:25.372484482 github.com/AlexxIT/go2rtc/pkg/mp4/muxer.go:89 +0x51d 2023-06-07 05:48:25.372488898 github.com/AlexxIT/go2rtc/pkg/mp4.(*Consumer).Init(...) 2023-06-07 05:48:25.372492375 github.com/AlexxIT/go2rtc/pkg/mp4/consumer.go:184 2023-06-07 05:48:25.372496208 github.com/AlexxIT/go2rtc/cmd/mp4.handlerWSMSE(0xc0001146c0, 0xc0000a8040) 2023-06-07 05:48:25.372531395 github.com/AlexxIT/go2rtc/cmd/mp4/ws.go:52 +0x4d9 2023-06-07 05:48:25.372535365 github.com/AlexxIT/go2rtc/cmd/api.apiWS.func2() 2023-06-07 05:48:25.372538722 github.com/AlexxIT/go2rtc/cmd/api/ws.go:93 +0x3c 2023-06-07 05:48:25.372560298 created by github.com/AlexxIT/go2rtc/cmd/api.apiWS 2023-06-07 05:48:25.372563808 github.com/AlexxIT/go2rtc/cmd/api/ws.go:92 +0x34a 2023-06-07 05:48:25.444670179 [INFO] The go2rtc service exited with code 2 (by signal 0) 2023-06-07 05:48:26.458422806 [INFO] Starting go2rtc... 2023-06-07 05:48:26.692609282 05:48:26.691 INF go2rtc version 1.2.0 linux/amd64 2023-06-07 05:48:26.694713821 05:48:26.694 INF [api] listen addr=:1984 2023-06-07 05:48:26.697595016 05:48:26.697 INF [rtsp] listen addr=:8554 2023-06-07 05:48:26.700675032 05:48:26.700 INF [srtp] listen addr=:8443 2023-06-07 05:48:26.702161783 05:48:26.701 INF [webrtc] listen addr=:8555`
No response
Proxmox
Docker Compose
M.2
Wired
Dahua
It's already been bumped for the next frigate version. Frigate supports upgrading the internal go2rtc version to whatever you want https://docs.frigate.video/configuration/advanced#custom-go2rtc-version
Describe the problem you are having
go2rtc crashes
This is fixed in the latest go2rtc as per https://github.com/AlexxIT/go2rtc/issues/390
Embedded go2rtc version: 1.2.0
Can we bump this to the latest go2rtc https://github.com/AlexxIT/go2rtc/releases/tag/v1.5.0
Version
0.12.0-DA3E197
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Proxmox
Install method
Docker Compose
Coral version
M.2
Network connection
Wired
Camera make and model
Dahua
Any other information that may be helpful
No response