Can anyone please help me get Frigate up and running. I’m so frustrated. I’ve spent days trying everything I can, I can’t even get the thing to see my video. I’m streaming the RTSP fine (I think?) because when I click on the stream, it gives me a beautiful video, but it keeps saying can’t run the ffmpeg process. I have an Amcrest, I’ve turned off every motion/audio detection (in the camera settings) that I can find. Here’s the logs and config:
2023-10-30 15:19:56.438492062 [2023-10-30 11:19:56] ffmpeg.garage_exterior.detect ERROR : rtsp://127.0.0.0.1:8554/garage_exterior_sub: Input/output error
2023-10-30 15:19:56.446953326 [2023-10-30 11:19:56] watchdog.garage_exterior ERROR : No new recording segments were created for garage_exterior in the last 120s. restarting the ffmpeg record process...
2023-10-30 15:19:56.447070911 [2023-10-30 11:19:56] watchdog.garage_exterior INFO : Terminating the existing ffmpeg process...
2023-10-30 15:19:56.447176315 [2023-10-30 11:19:56] watchdog.garage_exterior INFO : Waiting for ffmpeg to exit gracefully...
2023-10-30 15:19:56.462066685 [2023-10-30 11:19:56] frigate.video ERROR : garage_exterior: Unable to read frames from ffmpeg process.
2023-10-30 15:19:56.462295892 [2023-10-30 11:19:56] frigate.video ERROR : garage_exterior: ffmpeg process is not running. exiting capture thread...
2023-10-30 15:20:06.455201577 [2023-10-30 11:20:06] watchdog.garage_exterior ERROR : Ffmpeg process crashed unexpectedly for garage_exterior.
2023-10-30 15:20:06.455476831 [2023-10-30 11:20:06] watchdog.garage_exterior ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2023-10-30 15:20:06.455669568 [2023-10-30 11:20:06] ffmpeg.garage_exterior.detect ERROR : [tcp @ 0x5611292a6f80] Failed to resolve hostname 127.0.0.0.1: Name or service not known
2023-10-30 15:20:06.455933047 [2023-10-30 11:20:06] ffmpeg.garage_exterior.detect ERROR : rtsp://127.0.0.0.1:8554/garage_exterior_sub: Input/output error
2023-10-30 15:20:06.463709865 [2023-10-30 11:20:06] watchdog.garage_exterior ERROR : No new recording segments were created for garage_exterior in the last 120s. restarting the ffmpeg record process...
2023-10-30 15:20:06.463797598 [2023-10-30 11:20:06] watchdog.garage_exterior INFO : Terminating the existing ffmpeg process...
2023-10-30 15:20:06.463906406 [2023-10-30 11:20:06] watchdog.garage_exterior INFO : Waiting for ffmpeg to exit gracefully...
2023-10-30 15:20:06.477339062 [2023-10-30 11:20:06] frigate.video ERROR : garage_exterior: Unable to read frames from ffmpeg process.
2023-10-30 15:20:06.477495510 [2023-10-30 11:20:06] frigate.video ERROR : garage_exterior: ffmpeg process is not running. exiting capture thread...
Code:
mqtt:
host: 10.0.0.91
user: "mqtt_user"
password: "xxxxx"
ffmpeg:
hwaccel_args: preset-intel-qsv-h264
cameras:
#-------------------------garage exterior-----------------------------
garage_exterior:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.0.1:8554/garage_exterior
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.0.1:8554/garage_exterior_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: true
width: 704
height: 480
fps: 5
record:
enabled: true
retain:
days: 2
events:
objects:
- person
snapshots:
enabled: true
detectors:
coral:
type: edgetpu
device: usb
go2rtc:
streams:
garage_exterior:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
- "ffmpeg:garage_exterior#video=h264"
garage_exterior_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
- "ffmpeg:garage_exterior_sub#audio=opus"
- "ffmpeg:garage_exterior_sub#video=h264"
webrtc:
candidates:
- 10.0.0.91:8555
- stun:8555
ui:
live_mode: webrtc