Skip to content

WRN [hls] can't get segment id=eJUXseb3&n=0 #1693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bystart opened this issue Apr 10, 2025 · 3 comments
Open

WRN [hls] can't get segment id=eJUXseb3&n=0 #1693

bystart opened this issue Apr 10, 2025 · 3 comments
Labels
question Further information is requested

Comments

@bystart
Copy link

bystart commented Apr 10, 2025

Hello author, I encountered a problem while transcoding a Hikvision camera using go2rtc. My streaming address is as follows:

api:
  origin: "*"
streams:
  ch1: rtsp://admin:123456@192.168.31.10:554/h264/ch1/main/av_stream?timeout=60

log:
  level: debug
  streams: debug

When I play the stream using the HLS address:
http://127.0.0.1:1984/api/stream.m3u8?src=ch1
Errors occur in the logs, and the video flickers and then stops playing.

~/Documents » ./go2rtc                                                                                           u1@handsome
13:55:00.056 INF go2rtc platform=darwin/arm64 revision=fa580c5 version=1.9.9
13:55:00.056 DBG build vcs.time=2025-03-10T02:51:40Z version=go1.24.1
13:55:00.056 INF config path=/Users/u1/Documents/go2rtc.yaml
13:55:00.057 INF [rtsp] listen addr=:8554
13:55:00.057 INF [api] listen addr=:1984
13:55:00.057 INF [webrtc] listen addr=:8555
13:55:06.726 DBG [streams] start producer url=rtsp://admin:123456@192.168.31.10:554/h264/ch1/main/av_stream?timeout=60
13:55:09.748 WRN [hls] can't get segment id=eJUXseb3&n=0
13:55:11.745 DBG [streams] stop producer url=rtsp://admin:123456@192.168.31.10:554/h264/ch1/main/av_stream?timeout=60
@AlexxIT AlexxIT added the question Further information is requested label Apr 10, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Apr 10, 2025

What about other streaming formats for your source?

@bystart
Copy link
Author

bystart commented Apr 10, 2025

What about other streaming formats for your source?

I don't have any other streaming formats. Currently, I need to convert the H.265 encoded RTSP stream address from Hikvision to an H.264 HLS address. This is because the video controls in the browser only support this format, and I need to play the video stream in the browser.

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 10, 2025

go2rtc supports many output formats. WebRTC, MSE, MP4, RTSP... What about them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants