-
Notifications
You must be signed in to change notification settings - Fork 989
Closed
Description
config:
streams:
1030:
- http://xxx.xxx.xxx.xxx:20081/play/1030
stdout
15:37:36.206 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
15:37:36.206 INF config path=/root/go2rtc/go2rtc.yaml
15:37:36.206 INF [rtsp] listen addr=:8554
15:37:36.206 INF [api] listen addr=:1984
15:37:36.207 INF [webrtc] listen addr=:8555
panic: runtime error: index out of range [3] with length 0
goroutine 67 [running]:
encoding/binary.bigEndian.Uint32(...)
encoding/binary/binary.go:177
github.com/AlexxIT/go2rtc/pkg/h264.AVCCToCodec({0xc00045a000, 0x0, 0x8c88})
github.com/AlexxIT/go2rtc/pkg/h264/avcc.go:85 +0x412
github.com/AlexxIT/go2rtc/pkg/mpegts.(*Producer).probe(0xc000174000)
github.com/AlexxIT/go2rtc/pkg/mpegts/producer.go:100 +0x7d6
github.com/AlexxIT/go2rtc/pkg/mpegts.Open({0xe50c20, 0xc0003341c0})
github.com/AlexxIT/go2rtc/pkg/mpegts/producer.go:29 +0xfc
github.com/AlexxIT/go2rtc/pkg/magic.Open({0x7f041cb6afe8?, 0xc000352080?})
github.com/AlexxIT/go2rtc/pkg/magic/producer.go:54 +0x67f
github.com/AlexxIT/go2rtc/internal/http.do(0xc0001403c0)
github.com/AlexxIT/go2rtc/internal/http/http.go:96 +0x546
github.com/AlexxIT/go2rtc/internal/http.handleHTTP({0xc000036960?, 0xc0001e2390?})
github.com/AlexxIT/go2rtc/internal/http/http.go:49 +0xdd
github.com/AlexxIT/go2rtc/internal/streams.GetProducer({0xc000036960, 0x24})
github.com/AlexxIT/go2rtc/internal/streams/handlers.go:49 +0xcc
github.com/AlexxIT/go2rtc/internal/streams.(*Producer).Dial(0xc0000f8630)
github.com/AlexxIT/go2rtc/internal/streams/producer.go:62 +0x8a
github.com/AlexxIT/go2rtc/internal/streams.(*Stream).AddConsumer(0xc0001f03c0, {0xe55348, 0xc000102700})
github.com/AlexxIT/go2rtc/internal/streams/add_consumer.go:36 +0x676
github.com/AlexxIT/go2rtc/internal/rtsp.tcpHandler.func1({0xbe5e20, 0xe4bd10})
github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:219 +0xaa5
github.com/AlexxIT/go2rtc/pkg/core.(*Listener).Fire(...)
github.com/AlexxIT/go2rtc/pkg/core/listener.go:16
github.com/AlexxIT/go2rtc/pkg/rtsp.(*Conn).Accept(0xc000102700)
github.com/AlexxIT/go2rtc/pkg/rtsp/server.go:110 +0xfad
github.com/AlexxIT/go2rtc/internal/rtsp.tcpHandler(0xc000102700)
github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:256 +0x1f1
created by github.com/AlexxIT/go2rtc/internal/rtsp.Init.func1 in goroutine 8
github.com/AlexxIT/go2rtc/internal/rtsp/rtsp.go:76 +0x38
ffprobe
[h264 @ 0x556ac2815fc0] SPS unavailable in decode_picture_timing
[h264 @ 0x556ac2815fc0] non-existing PPS 0 referenced
[h264 @ 0x556ac2815fc0] decode_slice_header error
[h264 @ 0x556ac2815fc0] no frame!
[h264 @ 0x556ac2815fc0] SPS unavailable in decode_picture_timing
[h264 @ 0x556ac2815fc0] non-existing PPS 0 referenced
[h264 @ 0x556ac2815fc0] SPS unavailable in decode_picture_timing
[h264 @ 0x556ac2815fc0] non-existing PPS 0 referenced
[h264 @ 0x556ac2815fc0] decode_slice_header error
[h264 @ 0x556ac2815fc0] no frame!
[mpegts @ 0x556ac2806f00] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x556ac2806f00] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x556ac2806f00] Could not find codec parameters for stream 5 (Unknown: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://xxx.xxx.xxx.xxx:20081/play/1030':
Duration: N/A, start: 28381.531211, bitrate: N/A
Program 1030
Metadata:
service_name : 03 МАТЧ!
service_provider: РТРС
Stream #0:0[0x407]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x408](rus): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:2[0x40a](rus): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:3[0x40c]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:4[0x40d]: Unknown: none ([11][0][0][0] / 0x000B)
Stream #0:5[0x40e]: Unknown: none ([12][0][0][0] / 0x000C)
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4
Unsupported codec with id 0 for input stream 5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working