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.17k stars 336 forks source link

Exec stream fails after awhile in 1.9.4 #1215

Open Daniel-dev22 opened 2 months ago

Daniel-dev22 commented 2 months ago

I'm using frigate latest on the dev branch and it's using go2rtc 1.9.4 now. I noticed after awhile of frigate running the Birdseye stream fails and there's no logs of any issue in go2rtc.

Trying the info button on the go2rtc dashboard just hangs forever I can't get that to load and trying stream directly on the dashboard also doesn't work.

I reverted back to 1.9.2 and all is well after 12+ hours whereas with 1.9.4 it fails rather quickly.

The command used is

birdseye: exec:ffmpeg -hide_banner -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device
    /dev/dri/renderD128 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -r 10 -i
    /tmp/cache/birdseye -c:v h264_vaapi -g 50 -bf 0 -profile:v high -level:v 4.1 -sei:v
    0 -an -vf format=vaapi|nv12,hwupload -rtsp_transport tcp -f rtsp {output}
gvillo commented 2 months ago

same, v1.9.2 is stable

Daniel-dev22 commented 2 months ago

same, v1.9.2 is stable

What issues are you seeing on 1.9.4? Can you share your command as well?