-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frigate issue due to use of ffmpeg v4 on arm64 #179
Comments
You need to increase log level for exec to trace. And check details there |
OK got my logs working. When configured the first way, i see this:
when configured in the latter way, i get something a bit different:
|
Confirmed this is a Frigate issue due to use of ffmpeg v4 on arm64. They will fix in the next beta. |
"Unable to open RTSP for listening" maybe because your camera support only UDP protocol. So you need to use network mode host in container with ffmpeg. Go2rtc support this cameras only via ffmpeg source |
We know the issue already, due to using ffmpeg4 on arm devices 👍 |
This is the solution: @AlexxIT , would it be possible to implement some version detection for ffmpeg and adjust the parameters accordingly? |
There's no need to implement version detection imo the user is able to customize the args to match the version of ffmpeg they are using |
That is true but from the error message it is really not obvious that the problem is wrong ffmpeg command. |
@NickM-27 Any reason to use outdated ffmpeg? |
@AlexxIT because hardware acceleration on the pi doesn't work with newer ffmpeg on many setups, so we use older ffmpeg for the arm build and newer for amd64. |
To be clear as far as Frigate goes this has been fixed https://github.com/blakeblackshear/frigate/blob/dev/docker/rootfs/usr/local/go2rtc/create_config.py#L73-L82 |
FFmpeg v4 will not be supported. Minimum v5 version |
Bear with me as i'm using go2rtc via the latest frigate beta (-4) and i'm struggling to get debug logging to show up...
I'm trying to transcode audio from my camera from a-law to opus and/or aac.
This appears to crash go2rtc with exit code 1:
This doesn't work either but at least lets me use the stream without opus:
same behavior with AAC. This is on a raspberry Pi 4 tested with and without HW decode acceleration in ffmpeg.
2023-01-17 17:11:23.815818233 17:11:23.815 ERR github.com/AlexxIT/go2rtc/cmd/streams/producer.go:52 > error="exec: exit status 1" url=ffmpeg:driveway#audio=aac#audio=opus
The text was updated successfully, but these errors were encountered: