{"id":13508296,"url":"https://github.com/ffmpegwasm/ffmpeg.wasm-core","last_synced_at":"2025-03-30T11:31:51.441Z","repository":{"id":38215273,"uuid":"196358677","full_name":"ffmpegwasm/ffmpeg.wasm-core","owner":"ffmpegwasm","description":"Mirror of git://source.ffmpeg.org/ffmpeg.git","archived":true,"fork":true,"pushed_at":"2023-07-27T13:30:50.000Z","size":459724,"stargazers_count":341,"open_issues_count":0,"forks_count":234,"subscribers_count":9,"default_branch":"n4.3.1-wasm","last_synced_at":"2025-03-27T08:08:15.953Z","etag":null,"topics":["ffmpeg","wasm"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"FFmpeg/FFmpeg","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ffmpegwasm.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING.GPLv2","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-07-11T09:02:51.000Z","updated_at":"2025-03-24T01:53:54.000Z","dependencies_parsed_at":"2023-07-17T08:41:13.871Z","dependency_job_id":null,"html_url":"https://github.com/ffmpegwasm/ffmpeg.wasm-core","commit_stats":null,"previous_names":["ffmpegwasm/ffmpeg","ffmpegjs/ffmpeg"],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffmpegwasm%2Fffmpeg.wasm-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffmpegwasm%2Fffmpeg.wasm-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffmpegwasm%2Fffmpeg.wasm-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ffmpegwasm%2Fffmpeg.wasm-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ffmpegwasm","download_url":"https://codeload.github.com/ffmpegwasm/ffmpeg.wasm-core/tar.gz/refs/heads/n4.3.1-wasm","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245806455,"owners_count":20675298,"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":["ffmpeg","wasm"],"created_at":"2024-08-01T02:00:51.008Z","updated_at":"2025-03-30T11:31:46.433Z","avatar_url":"https://github.com/ffmpegwasm.png","language":"C","funding_links":[],"categories":["C","HarmonyOS","wasm"],"sub_categories":["Windows Manager"],"readme":"FFmpeg.wasm Core\n================\n\n## Deprecated, merge to https://github.com/ffmpegwasm/ffmpeg.wasm as part of the monorepo.\n\n[![Node Version](https://img.shields.io/node/v/@ffmpeg/ffmpeg.svg)](https://img.shields.io/node/v/@ffmpeg/ffmpeg.svg)\n![FFmpeg.wasm Core](https://github.com/ffmpegwasm/ffmpeg.wasm-core/workflows/FFmpeg.wasm/badge.svg?branch=n4.3.1-wasm)\n![npm (tag)](https://img.shields.io/npm/v/@ffmpeg/core/latest)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/ffmpegwasm/ffmpeg.wasm-core/graphs/commit-activity)\n[![Downloads Total](https://img.shields.io/npm/dt/@ffmpeg/core.svg)](https://www.npmjs.com/package/@ffmpeg/core)\n[![Downloads Month](https://img.shields.io/npm/dm/@ffmpeg/core.svg)](https://www.npmjs.com/package/@ffmpeg/core)\n\nThis is the core part of FFmpeg.wasm where we transpile C/C++ code of FFmpeg to JavaScript/WebAssembly code. It is still very experimental (and slow), but shows the possibilities of using FFmpeg purely in the browser.\n\nIf you have any issues for this repository, please put it here: https://github.com/ffmpegwasm/ffmpeg.wasm/issues\n\n## Setup\n\n```\n$ git clone https://github.com/ffmpegwasm/ffmpeg.wasm-core\n$ git submodule update --init --recursive\n```\n\n## Build\n\n1. Use docker (easy way)\n\nInstall latest docker and run `build-with-docker.sh`.\n\n```\n$ bash build-with-docker.sh\n```\n\n2. Install emsdk (unstable way)\n\nSetup the emsdk from [HERE](https://emscripten.org/docs/getting_started/downloads.html) and run `build.sh`.\n\n```\n$ bash build.sh\n```\n\nIf nothing goes wrong, you can find JavaScript files in `wasm/packages/core/dist`.\n\n## Test\n\nOnce the build completes, you can test with following scripts:\n\n```\n$ cd wasm\n$ npm install\n$ npm test\n```\n\n## Configuration\n\n#### Base\n\n| Library/Tool Name | Version | Remark |\n| ----------------- | ------- | ------ |\n| Emscripten | 3.1.30 | |\n| FFmpeg | 4.3.1 | |\n\n#### Video\n\n| Library/Tool Name | Version | Remark |\n| ----------------- | ------- | ------ |\n| x264 | 0.160.x | mp4 format |\n| x265 | 3.4 | mp4 format, only works with `-pix_fmt yuv420p10le` and `-pix_fmt yuv420p12le` |\n| libvpx | 1.9.0 | webm format |\n| theora | 1.1.1 | ogv format |\n| aom | 1.0.0 | mkv format, extremely slow (takes over 120s for 1s video), not recommended to use |\n\n#### Audio\n\n| Library/Tool Name | Version | Remark |\n| ----------------- | ------- | ------ |\n| wavpack | 5.3.0 | wav/wv format |\n| lame | 3.100 | mp3 format |\n| fdk-aac | 2.0.1 | aac format |\n| ogg | 1.3.4 | required by vorbis |\n| vorbis | 1.3.6 | ogg format |\n| opus | 1.3.1 | opus format |\n\n#### Image\n\n| Library/Tool Name | Version | Remark |\n| ----------------- | ------- | ------ |\n| libwebp | 1.1.0 | webp format |\n\n#### Others\n\n| Library/Tool Name | Version | Remark |\n| ----------------- | ------- | ------ |\n| freetype2 | 2.10.4 | font file support |\n| fribidi | 1.0.10 | Arabic and Hebrew alphabets support |\n| harfbuzz | 2.7.4 | text shaping engine |\n| libass | 0.15.0 | SSA/ASS subtitles rendering library |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffmpegwasm%2Fffmpeg.wasm-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fffmpegwasm%2Fffmpeg.wasm-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fffmpegwasm%2Fffmpeg.wasm-core/lists"}