ffmpegwasm / ffmpegwasm/ffmpeg.wasm

merge m3u8 segments into mp4 not working

未关闭
#223 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
17.8k
派生
1.1k
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
i am trying to merge the segments from a m3u8 file and save/download it into mp4
but i keep getting an error

**Expected behavior**
Merge .ts files and save/download

**Desktop (please complete the following information):**
- OS: Linux
- Browser: brave/chromium
- Version: 91.0.4472.114

anything i am doing wrong?

Code
```
{
args: ['-i', 'index.m3u8', '-c', 'copy', 'video.mp4'],
inFilename: 'index.m3u8',
outFilename: 'video.mp4',
mediaType: 'video/mp4',
}
```

response
```
[fferr] [hls @ 0x1a33300] Failed to open segment 57 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index58.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 58 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index59.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 59 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index60.ts' for reading
log.js:15 [fferr] [hls @ 0x1a33300] Failed to open segment 60 of playlist 0
log.js:15 [fferr] [hls @ 0x1a33300] Opening 'index61.ts' for reading
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。