ffbinaries / ffbinaries-prebuilt

Prebuilt binaries for ffbinaries.com
https://ffbinaries.com
55 stars 10 forks source link

Where do these binaries come from? #9

Open mifi opened 4 years ago

mifi commented 4 years ago

Is it possible to share the scripts you are running to create the releases in this repo?

vot commented 4 years ago

Hi @mifi,

I don't actually have a script for compiling ffmpeg here although it's been on my wishlist for a long time :)

The binaries here are taken from three sources (same as every other module doing this really :D ):

I simply repackage these into consistent format to make it easier to ship to apps (with extra flexibility to add support for custom paths and embedding in any part of the flow, either during build or on user machine). Generally speaking: these are as safe as the sources (I don't modify them in any way - you can compare the checksums). I would prefer to have a publicly visible CI pipeline of course.

Cross-compiling ffmpeg consistently is a difficult task but it definitely would be the Holy Grail for this project :)

mifi commented 4 years ago

Ok I see! Could be nice to write this somewhere (maybe readme).

I agree, cross compiling ffmpeg for all platforms with customizable build arguments (core, nonfree, etc etc) would be a holy grail!

I think this can be done for free with github actions. I started doing this myself because I needed a minimal (core) ffmpeg for releasing in the Mac App Store: https://github.com/mifi/ffmpeg-build-script But so far it's only core with no deps and no parameters and only MacOs, but github actions provides free runners for windows,mac and linux.

The holy grail might be a Github Action project with paramteres for which libraries/flags are wanted, and it would automatically include and build the dependencies for the flags that are specified. Then users can setup their own github action build that uses this action with their own parameters. But yea it takes a long time to implement due to the nature of compiling taking so much time...

Anyways thanks for making this project!