From 10ef2acf730ec853624ecd1c3bb76c0d969768d4 Mon Sep 17 00:00:00 2001 From: ying_123 Date: Thu, 8 Jun 2023 13:06:15 +0800 Subject: [PATCH] new version --- README.md | 11 +- dist/hls2mp4.cjs | 6702 +++++++++++++++++++++++++++++++- dist/hls2mp4.js | 6704 +++++++++++++++++++++++++++++++- dist/hls2mp4.umd.js | 6708 ++++++++++++++++++++++++++++++++- dist/index.d.ts | 11 +- dist/index.js | 6702 +++++++++++++++++++++++++++++++- dist/util/http.d.ts | 1 + package.json | 9 +- rollup.config.mjs | 14 +- src/index.ts | 150 +- src/muxer/mp4-transmuxer.d.ts | 25 + src/muxer/mp4-transmuxer.js | 6446 +++++++++++++++++++++++++++++++ src/util/http.ts | 6 + yarn.lock | 132 +- 14 files changed, 33024 insertions(+), 597 deletions(-) create mode 100644 dist/util/http.d.ts create mode 100644 src/muxer/mp4-transmuxer.d.ts create mode 100644 src/muxer/mp4-transmuxer.js create mode 100644 src/util/http.ts diff --git a/README.md b/README.md index 89ba2d1..8255ec0 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,6 @@ ### A tool for download hls/m3u8 to mp4 -#### This package depends on @ffmpeg/ffmpeg, you need install it first - -```shell -# install ffmpeg -npm install @ffmpeg/ffmpeg @ffmpeg/core - -``` - -##### for more information, see [https://github.com/ffmpegwasm/ffmpeg.wasm](https://github.com/ffmpegwasm/ffmpeg.wasm) +#### no longer depend on @ffmpeg/ffmpeg since version 2.0 ### online demo @@ -44,7 +36,6 @@ hls2mp4.saveToFile(buffer, 'test.mp4') #### as script ```html -