bramp / ffmpeg-cli-wrapper

Java wrapper around the FFmpeg command line tool
BSD 2-Clause "Simplified" License
1.69k stars 413 forks source link

Embed the ffmpeg into this wrapper #149

Closed yummish closed 1 month ago

yummish commented 6 years ago

this is a feature request: Is it possible to embed the ffmpeg into this wrapper so devs do not need to worry about cross platform etc... The ffmpeg config on different platform is kinda frustrating.

Thanks.

bramp commented 6 years ago

Good idea, but unsure how workable it is as I would need to provide packages for different OSes, and deal with new releases, etc. Also issues around what codecs are built in, as some have licences that forbid distribution.

I could perhaps bundle just the static builds available on ffmpeg.org. Or I could just update the docs to points devs to the static builds, to safe you the hassle of configuring it on different platforms.

1ghost1 commented 6 years ago

Yummish, just add location of your FFmpeg to Path variable or something like that. In linux, if downloaded from repos, ffmpeg is almost always in /usr/bin/

Euklios commented 1 month ago

Given how many ways there are to build ffmpeg, and how many platforms would need to be considered, I don't see this being possible at all. Just what comes to mind right now:

Combined with x86 vs arm Then there are the different static builds for different license requirements. And then we would also have to consider hw accelerations.

So, my recommendation: Either install using a package manager, download a static build, or create a small helper library that contains the executable version you use.