go2rtc: (0.1-rc.9 linux/amd64) WebRTC Streaming Video Freezing with Working Audio

Camera RTSP Source H.265 / HEVC (3200x1800) 20fps Tried to use WebRTC on iPhone Safari and got no Video with Audio Working (https://github.com/AlexxIT/Blog/issues/5)

Tried to transcode it into h264 with #video=h264#audio=copy#audio=opus#hardware=nvidia Video is Freezing and skipping every few second while the Audio working flawlessly even when the Video freezing

More info here: https://github.com/blakeblackshear/frigate/issues/5187

2023-01-22 23:40:10.472088798  15:40:10.472 INF go2rtc version 0.1-rc.9 linux/amd64
2023-01-22 23:40:10.472243725  15:40:10.472 INF [api] listen addr=:1984
2023-01-22 23:40:10.472244992  15:40:10.472 INF [rtsp] listen addr=:8554
2023-01-22 23:40:10.472431117  15:40:10.472 INF [webrtc] listen addr=:8555
2023-01-22 23:40:10.472432403  15:40:10.472 INF [srtp] listen addr=:8443
2023-01-22 23:40:16.267737397  15:40:16.267 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:203 > error=EOF
2023-01-22 23:40:16.287604288  15:40:16.287 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:203 > error=EOF
2023-01-22 23:40:16.427575486  15:40:16.427 WRN github.com/AlexxIT/go2rtc/cmd/rtsp/rtsp.go:203 > error=EOF

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 27 (14 by maintainers)

Most upvoted comments

Ok. Right value is hardware=cuda or hardware for auto detect.

Two transcoding because:

  • H265 > H264 - live view
  • H264 > raw - detection