Ffmpeg unable to read frames

Pentagano

Getting comfortable
Dec 11, 2020
664
299
Uruguay
Odd scenario.
Had frigate running for a couple of years.
Same ezviz cameras.
Had to reset a camera due to a network change.
Now it's not reading frames from the same camera that was working fine before. Checked all settings on the camera and all seem to be the same same but still frigate 14.1 is not able to capture the frames.
IP and rtsp url all correct

Using go2rtc streams.

Any suggestions would be welcome.

Thanks
 
No camera IP conflict after reset?
Are you sure the browser you used allowed the settings to "stick" ?
 
Can you paste your Frigate config?
 
Removed dhcp asisgnment, reset camera, rebooted routers. Reassigned IP and mac. Can view the cam on the cloud app but not frigate anymore.
code snippet form config:
(3 other cameras working fine and all the same make/config setting) This 4th one worked fine until I reset it the other day.
Not sure how to paste yml code here but indents are fine from VS Code.

Maybe a DNS issue?

go2rtc:
streams:
gabucho_sub:
- rtsp:/admin:XXXXXX@192.168.1.19:554/Channel/102
webrtc:
candidates:
- 192.168.1.79:8555

cameras:
gabucho:
enabled: true
ffmpeg:
hwaccel_args: preset-vaapi

inputs:
- path: rtsp:/127.0.0.1:8554/gabucho_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- record
- rtmp
detect:
width: 704
height: 480
fps: 5

objects:
track:
- person
- cat
- dog
filters:
person:
min_area: 8000
# Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
max_area: 20000
#threshold: 0.3
#min_score: 0.2

motion:
threshold: 41
contour_area: 35
improve_contrast: 'true'



Logs from portainer:


2025-01-01 18:44:06.393201221 [2025-01-01 18:44:06] watchdog.gabucho ERROR : Ffmpeg process crashed unexpectedly for gabucho.
2025-01-01 18:44:06.393389925 [2025-01-01 18:44:06] watchdog.gabucho ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-01-01 18:44:06.393392774 [2025-01-01 18:44:06] ffmpeg.gabucho.detect ERROR : [rtsp @ 0x5e5dbe489100] method DESCRIBE failed: 404 Not Found
2025-01-01 18:44:06.393394775 [2025-01-01 18:44:06] ffmpeg.gabucho.detect ERROR : rtsp:/127.0.0.1:8554/gabucho_sub?video=copy: Server returned 404 Not Found
2025-01-01 18:44:06.408023796 18:44:06.407 WRN [rtsp] error="streams: dial tcp 192.168.1.19:554: connect: connection refused" stream=gabucho_sub
2025-01-01 18:44:06.409450293 [2025-01-01 18:44:06] frigate.video ERROR : gabucho: Unable to read frames from ffmpeg process.
2025-01-01 18:44:06.409653553 [2025-01-01 18:44:06] frigate.video ERROR : gabucho: ffmpeg process is not running. exiting capture thread...
 
Fixed. Was tweaking the dns settings in the ezviz studio app for more granular settings at camera level. Odd one as the others worked fine but I put the router IP and 8.8.8.8 as the second dns option and now frigate is streaming the video!!

Go figure