ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Regex error for base64 audio

Ouverte
#213 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C
Étoiles
17.8k
Forks
1.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.