AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
4.21k stars 344 forks source link

An error occurred while trying to process an incoming stream (mjpeg) #1213

Open nikefate opened 2 months ago

nikefate commented 2 months ago

please tell me what I'm doing wrong

Log

WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url=ffmpeg:https://vicontesla01.ujin.tech/api/idom1.php?url=-841d639d8cc15c21b97bbdb7bb500ec71a210b427b614f9e38629ef41799fa30f1ca96f1fbcd107d0517737272e4977167deea261e13188b108360fdb7798297a9c525aadXXXXXXXXXXXXXXX&stat=-6ef935ad7ca8b8XXXXXXXXXXXXX#video=h264#hardware

Config in frigate

go2rtc:
  streams:
    k1_: "ffmpeg:https://vicontesla01.ujin.tech/api/idom1.php?url=-841d639d8cc15c21b97bbdb7bb500ec71a210b427b614f9e38629ef41799fa30f1ca96f1fbcd107d0517737272e4977167deea261e13188b108360fdb7798297a9c525aadXXXXXXXXXXXXXXX&stat=-6ef935ad7ca8b8XXXXXXXXXXXXX#video=h264#hardware"

 k1_:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/k1_
          roles:
            - record
AlexxIT commented 1 month ago

There could be many reasons.

There can be problems at each stage.