Skip to content
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

[Support]: arm64 docker image does not contain btbn-ffmpeg #9779

Closed
cyberb opened this issue Feb 10, 2024 · 3 comments
Closed

[Support]: arm64 docker image does not contain btbn-ffmpeg #9779

cyberb opened this issue Feb 10, 2024 · 3 comments

Comments

@cyberb
Copy link

cyberb commented Feb 10, 2024

Describe the problem you are having

arm64 frigate image contains old ffmpeg while build scripts attempts to package it:

if [[ "${TARGETARCH}" == "arm64" ]]; then

Arm64:

# uname -m
aarch64
# docker run --entrypoint bash -it ghcr.io/blakeblackshear/frigate:0.13.1
# ffmpeg -version
ffmpeg version 4.3.6-0+deb11u1+rpt5 Copyright (c) 2000-2023 the FFmpeg developers
# which ffmpeg         
/usr/bin/ffmpeg
# find / -name ffmpeg         
/usr/bin/ffmpeg
/usr/share/doc/ffmpeg
/usr/share/ffmpeg

Amd64

# uname -m
x86_64
# docker run --entrypoint bash -it ghcr.io/blakeblackshear/frigate:0.13.1
# ffmpeg -version
ffmpeg version n5.1-2-g915ef932a3-20220731 Copyright (c) 2000-2022 the FFmpeg developers
# which ffmpeg    
/usr/lib/btbn-ffmpeg/bin/ffmpeg
# find / -name ffmpeg
/usr/lib/btbn-ffmpeg/bin/ffmpeg

Version

0.13.1

Frigate config file

no config issues

Relevant log output

no log

FFprobe output from your camera

no probe issue

Frigate stats

No response

Operating system

Debian

Install method

Docker CLI

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

no camera

Any other information that may be helpful

No response

@NickM-27
Copy link
Collaborator

NickM-27 commented Feb 10, 2024

Please read the docs. The default image uses the raspberry pi specific build when you pull via arm64

There is a separate arm64 specific build that has the suffix -standard-arm64

https://docs.frigate.video/frigate/installation#docker

@cyberb
Copy link
Author

cyberb commented Feb 11, 2024

Sorry missed that doc, but it does not explain why would I prefer old ffmpeg on rpi arm64 instead of new ffmpeg from standard-arm64. Would v5 ffmpeg not work on rpi arm64?

@NickM-27
Copy link
Collaborator

NickM-27 commented Feb 11, 2024

because rpi is a fickle device that requires a specific build of ffmpeg to have hwaccel work.

There are multiple times where using standard ffmepg has caused hwaccel on the pi to break:
#2030
#3780

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants