-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build a tiny FFmpeg #385
Comments
You probably forgot to build a new image. If you only run build.sh, it'll download the latest image from github with everything in it. |
Many thanks for your quick response and great support! You're right. I'll try tomorrow. |
If you only modified scripts, and not the core-image, you can also |
Thanks for the advice with |
Nothing from there is strictly required, except for maybe the very basic mingw stuff at the lowest numbers. |
This comment was marked as resolved.
This comment was marked as resolved.
I tried to makeimage without any changes in your scripts. Regrettably it fails:
WSL2 / Ubuntu 24.04 |
That looks to me like a network issue or temporary outage of something. |
Thanks for your support! |
I never used the store version. |
I reinstalled Ubuntu 24.04 on WSL2 and installed docker from the console (not Docker Desktop). The same problem. |
It has nothing to do with any caching. The cache warning is normal if there is no cache yet. |
Hello. I had a similar experience and solved it. The problem in my environment was that the memory and swapzone on the wsl side was not set properly with the .wslconfig settings. I had previously had a wsl2 side error, so I had put a limit on memory usage in .wslconfig and had swap set to 0. Due to this issue, during the docker image creation, cache, etc. was not created properly due to insufficient memory and the script crashed and terminated without a proper error message. I have since reset the wslconfig settings to allow enough memory and swap and the issue was resolved. It would be nice if you could include a warning for users on the WSL side to prevent unfortunate situations like mine. |
Thanks for your advice! I'll try again to build a custom build. |
Many thanks for your advice! I successfully created a custom build for FFmpeg. I removed some unused libs (in scripts.d dir) to build a tiny FFmpeg custom build. My script:
I created in a new file .wslconfig in
Then Docker worked correctly, BtbN's scripts produced custom image and then custom build for FFmpeg. |
I need to build a tiny shared FFmpeg. I removed many .sh files in /scripts.d/ directory with unused libs for my app. However it ignores my changes and build a heavy FFmpeg as with all default libs included in gpl-shared variant. What am I doing wrong?
The text was updated successfully, but these errors were encountered: