{"id":13430374,"url":"https://github.com/ZiAzusa/bili-video-merger","last_synced_at":"2025-03-16T05:30:51.472Z","repository":{"id":162086250,"uuid":"636700815","full_name":"ZiAzusa/bili-video-merger","owner":"ZiAzusa","description":"此工具用于将B站缓存视频的video.m4s和audio.m4s整合为一个文件，使用FFmpeg.wasm开发","archived":false,"fork":false,"pushed_at":"2023-11-12T17:50:17.000Z","size":9968,"stargazers_count":20,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-27T08:39:47.466Z","etag":null,"topics":["bilibili","bilibili-download","bilibili-video","ffmpeg-wasm","ffmpeg-web"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZiAzusa.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}},"created_at":"2023-05-05T12:52:17.000Z","updated_at":"2024-10-26T13:47:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"b52cb14f-2a94-4d6b-817d-92517a63682d","html_url":"https://github.com/ZiAzusa/bili-video-merger","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/ZiAzusa%2Fbili-video-merger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZiAzusa%2Fbili-video-merger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZiAzusa%2Fbili-video-merger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZiAzusa%2Fbili-video-merger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZiAzusa","download_url":"https://codeload.github.com/ZiAzusa/bili-video-merger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"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":["bilibili","bilibili-download","bilibili-video","ffmpeg-wasm","ffmpeg-web"],"created_at":"2024-07-31T02:00:52.840Z","updated_at":"2025-03-16T05:30:47.762Z","avatar_url":"https://github.com/ZiAzusa.png","language":"HTML","funding_links":[],"categories":["下载工具"],"sub_categories":["直播脚本"],"readme":"# bili-video-merger\n此工具用于将B站缓存视频的video.m4s和audio.m4s整合为一个文件，使用FFmpeg.wasm开发\n### 简介\nBiliBili（以下简称B站）为了防止通过缓存的方式盗取视频，是将视频画面文件（video.m4s）和视频音轨文件（audio.m4s）分开传输的。\u003cbr\u003e\n而现如今，更多的人在移动端上使用B站，有在B站软件外观看B站离线视频的需求，却没有一个便捷的方式整合两个文件，FFmpeg上手门槛又相对较高，故而有了本项目。\u003cbr\u003e\u003cbr\u003e\n示例页面：[https://bilitool.lie.moe](https://bilitool.lie.moe)\n### 依赖\n此项目基于FFmpeg.wasm开发，已适配绝大多数现代浏览器。\n### 使用方法\n仅需部署本项目后，打开网站，根据提示操作即可，就算是菜鸟小白亦可轻易使用。\n### 一些说明\n本项目使用 Vercel* 搭建，您可以Fork本仓库后访问 [Vercel](https://vercel.com) 使用GitHub登录并导入您的Fork仓库在根目录创建Project。\n#### 为什么要使用Vercel？\n@ffmpeg/core在编译FFmpeg时，配置了pthreads，导致产生的js胶水代码中使用了SharedArrayBuffer。\u003cbr\u003e\nShardArrayBuffer由于安全问题，仅可用在cross-origin isolated环境下，故需要配置以下响应头：\n```\nCross-Origin-Embedder-Policy: require-corp\nCross-Origin-Opener-Policy: same-origin\n```\n但，Vercel不是必须的。在本项目中，使用了Python脚本为其添加以上响应头，同时为了利（bai）用（piao）Serverless服务，综合考虑下使用了Vercel。\u003cbr\u003e\n若您需要自行部署，也可以在您自己的服务器上利用诸如Nginx、Apache、Caddy等Web服务器软件添加响应头。（您可能需要将main.html重命名为index.html）\u003cbr\u003e\n### 参考和使用的一些开源项目\n[FFmpeg](https://ffmpeg.org/)\n[FFmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm)\n[Download.js](https://github.com/rndme/download)\n[Poppins字体](https://github.com/itfoundry/poppins)\n\n---\n\nMade with ♡ by [梓漪(ZiAzusa)](https://about.lie.moe/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZiAzusa%2Fbili-video-merger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZiAzusa%2Fbili-video-merger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZiAzusa%2Fbili-video-merger/lists"}