ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Regex error for base64 audio

オープン
#213 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。