The current release of YouTube Audio Server has an issue that causes it to crash with the following error when attempting to play certain videos:
node:events:505
throw er; // Unhandled 'error' event
^
Error: ffmpeg exited with code 1: Output #0, mp3, to 'pipe:1':
Output file #0 does not contain any stream
at ChildProcess.<anonymous> (C:\youtube-audio-server\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
Emitted 'error' event on FfmpegCommand instance at:
at emitEnd (C:\youtube-audio-server\node_modules\fluent-ffmpeg\lib\processor.js:424:16)
at endCB (C:\youtube-audio-server\node_modules\fluent-ffmpeg\lib\processor.js:544:13)
at handleExit (C:\youtube-audio-server\node_modules\fluent-ffmpeg\lib\processor.js:170:11)
at ChildProcess.<anonymous> (C:\youtube-audio-server\node_modules\fluent-ffmpeg\lib\processor.js:182:11)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
The current release of YouTube Audio Server has an issue that causes it to crash with the following error when attempting to play certain videos:
To reproduce this issue, try testing with this video: https://www.youtube.com/watch?v=awjBLm41xJI
This pull request fixes the issue. Additionally, the
ytdl-core
version inpackage.json
has been updated from 4.9.1 to 4.11.0.