Closed gabemcg closed 1 year ago
these are the logs I get from Frigate when it won't load with the FFMPEG Input Args added
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
File "/usr/local/go2rtc/create_config.py", line 73, in
Show your config when trying to set the udp. Seems it's being done incorrectly
Show your config when trying to set the udp. Seems it's being done incorrectly
Only change from posted config is below: edit- not sure how to get formatting in this reply to match the actual config file, but I believe I have the correct indentations in the actual file
go2rtc: streams: Driveway:
Yeah that's incorrect. Ffmpeg is not a list item. I'd recommend reading the go2rtc docs on how to format that
It would look like this
go2rtc:
ffmpeg:
rtsp: "-fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport udp -i {input}"
streams:
...
It would look like this
go2rtc: ffmpeg: rtsp: "-fflags nobuffer -flags low_delay -timeout 5000000 -user_agent go2rtc/ffmpeg -rtsp_transport udp -i {input}" streams: ...
Thanks, with that change it no longer crashes frigate, but still getting the same codec match errors:
2023-02-04 16:12:35.118017351 16:12:35.117 WRN [streams] can't get track url=rtsp://10.1.10.6:554/Doorbell 2023-02-04 16:12:35.118034261 16:12:35.118 WRN [rtsp] error="codecs not match: H264,AAC" stream=Doorbell
In that case I'd recommend making an issue on go2rtc
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the problem you are having
I've got Nest-RTSP feeds working for my wired 1st gen Nest Doorbell and Kitchen (Nest Hub Max). Both are viewable by entering their respective URL in VLC (rtsp://10.1.10.6:554/Doorbell or rtsp://10.1.10.6:554/kitchen). I have confirmed in VLC that the streams are both using H264 and AAC, but when I add them to the Frigate config file it seems to think they are not H264/AAC. I believe this may have to do with the current config not using UDP for the streams? I have tried adding the following UDP specific FFMPEG Input Args from the documentation to the Go2RTC portion of the Frigate config file, but it causes Frigate to crash on load:
go2rtc: streams: Driveway:
Version
frigate:0.12.0-beta7
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
UNRAID
Install method
Docker CLI
Coral version
USB
Network connection
Wired
Camera make and model
Gen1 Nest Wired Doorbell
Any other information that may be helpful
No response