Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -360,6 +360,9 @@ async function getAudioMP3Url(videoUrl) {
|
|
| 360 |
|
| 361 |
await new Promise((resolve, reject) => {
|
| 362 |
ffmpeg()
|
|
|
|
|
|
|
|
|
|
| 363 |
.input(video.url)
|
| 364 |
.outputOptions('-f mp3')
|
| 365 |
.outputOptions('-acodec libmp3lame')
|
|
|
|
| 360 |
|
| 361 |
await new Promise((resolve, reject) => {
|
| 362 |
ffmpeg()
|
| 363 |
+
.inputOptions('-protocol_whitelist file,http,https,tcp,tls')
|
| 364 |
+
.inputOptions('-err_detect ignore_err')
|
| 365 |
+
.outputOptions('-strict experimental')
|
| 366 |
.input(video.url)
|
| 367 |
.outputOptions('-f mp3')
|
| 368 |
.outputOptions('-acodec libmp3lame')
|