{"id":13905556,"url":"https://github.com/zimbatm/ffmpeg-static","last_synced_at":"2025-05-16T15:09:38.002Z","repository":{"id":41403646,"uuid":"788619","full_name":"zimbatm/ffmpeg-static","owner":"zimbatm","description":"Scripts to build ffmpeg with all the deps statically (webm + h264 included)","archived":false,"fork":false,"pushed_at":"2024-07-16T07:02:19.000Z","size":92,"stargazers_count":525,"open_issues_count":29,"forks_count":259,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-12T14:17:04.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zimbatm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-07-21T11:53:30.000Z","updated_at":"2025-04-10T04:47:36.000Z","dependencies_parsed_at":"2024-10-22T22:54:14.945Z","dependency_job_id":null,"html_url":"https://github.com/zimbatm/ffmpeg-static","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fffmpeg-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fffmpeg-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fffmpeg-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fffmpeg-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimbatm","download_url":"https://codeload.github.com/zimbatm/ffmpeg-static/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553958,"owners_count":22090417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T23:01:18.518Z","updated_at":"2025-05-16T15:09:32.993Z","avatar_url":"https://github.com/zimbatm.png","language":"Shell","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"FFmpeg static build\n===================\n\n*STATUS*: community-supported\n\nThree scripts to make a static build of ffmpeg with all the latest codecs (webm + h264).\n\nJust follow the instructions below. Once you have the build dependencies,\nrun ./build.sh, wait and you should get the ffmpeg binary in target/bin\n\nBuild dependencies\n------------------\n\n    # Debian \u0026 Ubuntu\n    $ apt-get install build-essential curl tar libass-dev libtheora-dev libvorbis-dev libtool cmake automake autoconf\n\n    # OS X\n    # 1. install XCode\n    # 2. install XCode command line tools\n    # 3. install homebrew\n    # brew install openssl frei0r sdl2 wget\n\nBuild \u0026 \"install\"\n-----------------\n\n    $ ./build.sh [-j \u003cjobs\u003e] [-B] [-d]\n    # ... wait ...\n    # binaries can be found in ./target/bin/\n\nUbuntu users can download dependencies and and install in one command:\n\n    $ sudo ./build-ubuntu.sh\n\nIf you have built ffmpeg before with `build.sh`, the default behaviour is to keep the previous configuration. If you would like to reconfigure and rebuild all packages, use the `-B` flag. `-d` flag will only download and unpack the dependencies but not build.\n\nNOTE: If you're going to use the h264 presets, make sure to copy them along the binaries. For ease, you can put them in your home folder like this:\n\n    $ mkdir ~/.ffmpeg\n    $ cp ./target/share/ffmpeg/*.ffpreset ~/.ffmpeg\n\n\nBuild in docker\n---------------\n\n    $ docker build -t ffmpeg-static .\n    $ docker run -it ffmpeg-static\n    $ ./build.sh [-j \u003cjobs\u003e] [-B] [-d]\n\nThe binaries will be created in `/ffmpeg-static/bin` directory.\nMethod of getting them out of the Docker container is up to you.\n`/ffmpeg-static` is a Docker volume.\n\nDebug\n-----\n\nOn the top-level of the project, run:\n\n    $ . env.source\n\nYou can then enter the source folders and make the compilation yourself\n\n    $ cd build/ffmpeg-*\n    $ ./configure --prefix=$TARGET_DIR #...\n    # ...\n\nRemaining links\n---------------\n\nI'm not sure it's a good idea to statically link those, but it probably\nmeans the executable won't work across distributions or even across releases.\n\n    # On Ubuntu 10.04:\n    $ ldd ./target/bin/ffmpeg\n    not a dynamic executable\n\n    # on OSX 10.6.4:\n    $ otool -L ffmpeg\n    ffmpeg:\n        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)\n\nCommunity, bugs and reports\n---------------------------\n\nThis repository is community-supported. If you make a useful PR then you will\nbe added as a contributor to the repo. All changes are assumed to be licensed\nunder the same license as the project (ISC).\n\nAs a contributor you can do whatever you want. Help maintain the scripts,\nupgrade dependencies and merge other people's PRs. Just be responsible and\nmake an issue if you want to introduce bigger changes so we can discuss them\nbeforehand.\n\n### TODO\n\n * Add some tests to check that video output is correctly generated\n   this would help upgrading the package without too much work\n * OSX's xvidcore does not detect yasm correctly\n * remove remaining libs (?)\n\nRelated projects\n----------------\n\n* FFmpeg Static Builds - http://johnvansickle.com/ffmpeg/\n\nLicense\n-------\n\nThis project is licensed under the ISC. See the [LICENSE](LICENSE) file for\nthe legalities.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fffmpeg-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimbatm%2Fffmpeg-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fffmpeg-static/lists"}