Comments (7)
Thanks, adding to reading list!
from static-ffmpeg.
It would probably require a full set of test for each library... which wouldnt be such a bad idea in the grand scheme of things.
from static-ffmpeg.
Nope only heard of it but never used it. Is is known to cause issues?
Yes some kind of tests could be nice (even without UPX). What would you like to test? encode/decode with various libs? one could also run ffmpeg fate.
from static-ffmpeg.
no idea about ffmpeg fate and no idea either about which tests could be reliable. It could be left to uses to find bugs but that can cause issues with integration at a later date for you. Regressions and such. UPX is great and as far as i know, is not known to cause issues. It does slow up start times tho. But it compresses binaries ALOT.
Maybe only worth for when yuo download the thing but if you use it enough, in the long run, the longer start time will bite you back. Maybe offer a choice when compiling, maybe dismiss this altogether? Just a thought about UPX.
from static-ffmpeg.
Ok will think about it. In my use cases it has not been a concern that the binaries are quite large (in some projects they are small compared to other things in the image :). At least docker will compress the images quite well, latest it 60MB compressed 160MB uncompressed.
from static-ffmpeg.
What about UPX? If you’re not familiar with UPX, it’s an amazing tool that reduces the size of binaries. It does so by compressing the binary, and adding a small stub to uncompress and run it transparently. If we want to reduce the footprint of our containers, UPX will also be very counter-productive. First, the disk and network usage won’t be reduced a single bit, since layers are compressed anyway; so UPX won’t get us anything here.
from https://www.ardanlabs.com/blog/2020/04/docker-images-part3-going-farther-reduce-image-size.html
from static-ffmpeg.
docker-slim seems interresting. maybe not here but in general.
from static-ffmpeg.
Related Issues (20)
- License issue HOT 6
- Multi-arch build is currently failing HOT 1
- Build fails due to libass extraction HOT 2
- /checkelf: not found HOT 6
- Possibly use Dockerfile heredoc in the future
- Suggestion: using UPX to pack binaries HOT 2
- AOMediaCodec requires login HOT 6
- ENABLE_FDKAAC=1 not working HOT 3
- ffmpeg: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory HOT 5
- using existing packages? HOT 4
- --enable-libharfbuzz missing HOT 1
- tag 7.0 and master won't compile HOT 6
- platform tags missing HOT 4
- Add librsvg for SVG rasterization support HOT 12
- Help HOT 4
- OpenSSL issue with binary outside container (RedHat/Fedora specific) HOT 6
- [Bug] Custom font config in `/etc/fonts/conf.d` not working due to missing fontconfig binaries HOT 7
- [Enhancement] Support for CUDA HOT 2
- AVX512 not working with x265 or svt-av1 codecs HOT 6
- librav1e produces segfault HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from static-ffmpeg.