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

ffmpeg #30361

Open
8 tasks
ThatXliner opened this issue Dec 27, 2024 · 5 comments
Open
8 tasks

ffmpeg #30361

ThatXliner opened this issue Dec 27, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@ThatXliner
Copy link

Source URL

https://github.com/FFmpeg/FFmpeg but also https://ffmpeg.org/download.html

Homepage URL

https://ffmpeg.org

Command names

ffmpeg

How to confirm after installation

e.g. gh version

ffmpeg -version

How to install

aqua supports several install ways.

e.g. https://suzuki-shunsuke.github.io/tfcmt/install

The tool's official installation guide:

Well... ffmpeg recommends you build from source ./configure && make (but that requires dependencies) but there are pre-built static binaries for macOS, linux & Windows (ala GitHub releases), and 32 bit Linux...

  • Download pre-built binaries
    • GitHub Releases
    • Files in the GitHub repository
    • URL:
  • Build from source
    • go install: go install
    • go build: go build
    • cargo install cargo install

Note

No response

@ThatXliner ThatXliner added the enhancement New feature or request label Dec 27, 2024
@suzuki-shunsuke
Copy link
Member

suzuki-shunsuke commented Dec 27, 2024

The versioning is not semver, but we have no choice.
https://github.com/BtbN/FFmpeg-Builds/tags

aqua doesn't support the version like latest because probably it's mutable.

Which assets should we choose?

  • linux
    • ffmpeg-N-118168-gfe04b93afa-linux64-gpl-shared.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linux64-gpl.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linux64-lgpl-shared.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linux64-lgpl.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linuxarm64-gpl-shared.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linuxarm64-gpl.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linuxarm64-lgpl-shared.tar.xz
    • ffmpeg-N-118168-gfe04b93afa-linuxarm64-lgpl.tar.xz
  • windows
    • ffmpeg-N-118168-gfe04b93afa-win64-gpl-shared.zip
    • ffmpeg-N-118168-gfe04b93afa-win64-gpl.zip
    • ffmpeg-N-118168-gfe04b93afa-win64-lgpl-shared.zip
    • ffmpeg-N-118168-gfe04b93afa-win64-lgpl.zip

--

  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linux64-gpl-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linux64-gpl-shared-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linux64-lgpl-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linux64-lgpl-shared-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linuxarm64-gpl-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linuxarm64-gpl-shared-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linuxarm64-lgpl-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-linuxarm64-lgpl-shared-5.1.tar.xz
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-win64-gpl-5.1.zip
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-win64-gpl-shared-5.1.zip
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-win64-lgpl-5.1.zip
  • ffmpeg-n5.1.6-11-gcde3c5fc0c-win64-lgpl-shared-5.1.zip

--

  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linux64-gpl-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linux64-gpl-shared-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linux64-lgpl-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linux64-lgpl-shared-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linuxarm64-gpl-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linuxarm64-gpl-shared-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linuxarm64-lgpl-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-linuxarm64-lgpl-shared-6.1.tar.xz
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-win64-gpl-6.1.zip
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-win64-gpl-shared-6.1.zip
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-win64-lgpl-6.1.zip
  • ffmpeg-n6.1.2-16-g30cd0d7bd0-win64-lgpl-shared-6.1.zip

--

  • ffmpeg-n7.1-62-gb168ed9b14-linux64-gpl-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linux64-gpl-shared-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linux64-lgpl-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linux64-lgpl-shared-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linuxarm64-gpl-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linuxarm64-gpl-shared-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linuxarm64-lgpl-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-linuxarm64-lgpl-shared-7.1.tar.xz
  • ffmpeg-n7.1-62-gb168ed9b14-win64-gpl-7.1.zip
  • ffmpeg-n7.1-62-gb168ed9b14-win64-gpl-shared-7.1.zip
  • ffmpeg-n7.1-62-gb168ed9b14-win64-lgpl-7.1.zip
  • ffmpeg-n7.1-62-gb168ed9b14-win64-lgpl-shared-7.1.zip

@ThatXliner
Copy link
Author

If automatic binaries semver for ffmpeg existed, would that work?

@suzuki-shunsuke
Copy link
Member

Semver is ideal, but it isn't mandatory.
There are several issues.

  1. As I mentioned ffmpeg #30361 (comment) ,
    ffmpeg has a lot of assets.
    I'm not familiar with ffmpeg, so I'm not sure which assets we should choose.
  2. Asset names include string like N-118175 and g59258fb90e.
    I'm not sure these meanings, and unfortunately these strings are changed by version.
    So we can't define asset name templates like ffmpeg_{{.OS}}_{{.Arch}}.tar.gz.
    For such a case, aqua supports variables, but users need to update variables every time they update ffmpeg. This is inconvenient.
    https://aquaproj.github.io/docs/reference/registry-config/vars

@ThatXliner
Copy link
Author

Installing ffmpeg typically includes a lot of the codec libraries that come with it. Static builds of ffmpeg is probably just those bundled only with the executable so you can’t use the codec libraries but only the executable. For macOS, is there a chance the homebrew registry?

@suzuki-shunsuke
Copy link
Member

Seems like Homebrew builds ffmpeg from source code, which aqua doesn't support.

https://github.com/Homebrew/homebrew-core/blob/edbbd50914c61c1b227d439d5ae2038820eee488/Formula/f/ffmpeg.rb#L156-L157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants