-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ffprobe exited with code 1 #54
Comments
The link to the video must be a valid video file (can be local file or a URL). For youtube links, you need a downloader (e.g. yt-dlp), and stream the video data to ffmpeg. |
Hi @longnguyen2004, I deleted everything and cloned the project again but this time when running Error 1: File: src/client/voice/BaseMediaConnection.ts - Line: 56
Error 2: File: src/client/voice/BaseMediaConnection.ts - Line: 170
|
There are typing errors if you upgrade the dependencies, in particular |
When running the command npm run yeet in the /Discord-video-stream/examples/basic directory, the following error is encountered:
Screenshots/Logs:
Environment:
Node.js version: 21.6.0
npm version: 10.3.0
ffmpeg version: 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
Operating System: Ubuntu 22.4
Expected Behavior:
The command npm run yeet should run without errors, and the specified YouTube video should be processed successfully.
Actual Behavior:
The error mentioned above is encountered, and the video processing fails with the ffprobe error.
Additional Note for $play-live and $play-cam:
For $play-live, the account joins the voice channel and starts streaming but stops even before I can watch.
For $play-cam, the account joins the voice channel, and the camera keeps loading without successful streaming.
The text was updated successfully, but these errors were encountered: