-
Notifications
You must be signed in to change notification settings - Fork 32
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:
![Screenshot 2024-01-24 181703](https://private-user-images.githubusercontent.com/71326840/299402953-eab21214-40e3-4a64-8987-0c265d4f50ec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5OTMzMzMsIm5iZiI6MTcyNTk5MzAzMywicGF0aCI6Ii83MTMyNjg0MC8yOTk0MDI5NTMtZWFiMjEyMTQtNDBlMy00YTY0LTg5ODctMGMyNjVkNGY1MGVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDE4MzAzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE2MzBmMzcyZTFiN2IxMGY5MGYwOGExMmNiOGEyZGZhZTRjYTA4MmNlOGRmNDNkY2ZjYTM0ZjVmMTEyMDYzYjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fCmRFPdJSv183Ch8N-eZ7-3AC2ijitpgDMVVIskNfUM)
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: