[Support]: stream showing offline #19684
Replies: 1 comment 6 replies
-
|
Based on the logs, your cameras are showing as offline because the FFmpeg processes are crashing due to an audio codec issue (1). The error shows The issue is that your cameras are using PCM A-law audio codec, which isn't compatible with MP4 containers for recording. You have several options to resolve this: Option 1: Configure go2rtc to transcode audio to AAC Update your go2rtc configuration to convert the audio to AAC (2): go2rtc:
streams:
garage:
- rtsp://192.168.1.100/user=yanivcameras_password=zaq12wsx_channel=1_stream=0.sdp
- "ffmpeg:garage#audio=aac"
deck:
- rtsp://192.168.1.100/user=yanivcameras_password=zaq12wsx_channel=2_stream=0.sdp
- "ffmpeg:deck#audio=aac"
front_door:
- rtsp://192.168.1.100/user=yanivcameras_password=zaq12wsx_channel=3_stream=0.sdp
- "ffmpeg:front_door#audio=aac"
front_pathway:
- rtsp://192.168.1.100/user=yanivcameras_password=zaq12wsx_channel=4_stream=0.sdp
- "ffmpeg:front_pathway#audio=aac"Option 2: Use preset-record-generic to disable audio recording Change your FFmpeg output args to record without audio (3): ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-genericOption 3: Update camera audio settings If possible, change your camera's audio codec to AAC in the camera's firmware settings (2). The first option is recommended as it preserves audio while ensuring compatibility. This will use additional CPU for audio transcoding but should resolve the crashing issue (2). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
with the new add-on version 0.16 I started getting stream offline errors. Everything worked fine with the same configuration for more than a year.
When i click on specific camera I can see the stream and the time changes (so it's not frozen frame) but it still shows that it's offline.
Steps to reproduce
go to frigate web view
Version
0.16.0-c2f8de9
In which browser(s) are you experiencing the issue with?
edge and chrome
Frigate config file
docker-compose file or Docker CLI command
n/aRelevant Frigate log output
Relevant go2rtc log output
Operating system
Home Assistant OS
Install method
Home Assistant Add-on
Network connection
Wired
Camera make and model
XMEye
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions