ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Regex error for base64 audio

未關閉
#213 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C
星號
17.8k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

描述

**Describe the bug**

This regex here doesn't match my base64 audio: https://github.com/ffmpegwasm/ffmpeg.wasm/blob/d76b5ede25c4c6d02411113060b1c2aeb3b47939/src/node/fetchFile.js#L21

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://regexr.com/5vrf8
2. Notice that the regex doesn't match the base64 URL

**Expected behavior**

I expected to be able to pass a base64 encoded audio string to fetchFile in node.

**Desktop (please complete the following information):**
- OS: [e.g. iOS] N/A
- Browser [e.g. chrome, safari] N/A
- Version [e.g. 22] N/A

**Additional context**

I'm trying to concatenate files together and they're encoded as base64 so I'd like to be able to pass them as-is. Also, I'm probably missing something because I don't think there's any normal base64 string that would match that regex.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。