Closed rbrisita closed 2 years ago
This really depends on how FFmpeg is archived. #50
Because of the various OSes supported there are different zip/unzip programs which increases possible management of them. Either find a library that already does that for you without a large footprint or switch over to a program that is already supported on the target OSes like 7zip. Use native download program to locally install (if not globally present) and then the other dependencies will be downloaded in 7zip format.
Currently using: https://github.com/develar/7zip-bin
Node.js contains Zlib: https://nodejs.org/docs/latest-v13.x/api/zlib.html#zlib_zlib
Decided to go with tar
and native zlib Brotli compression to increase portability and decrease dependencies. Check merge #168.
Maybe switch out for 7zip; better compression overall.