Hey there. I am making a Music Discord Bot using Repli.it I have made the bot join my voice channel and download the music but it does not plays it. It gives my the following error. If anyone can help me, then please do.
[youtube] ALZHF5UqnU4: Downloading webpage
[download] Marshmello - Alone (Official Music Video)-ALZHF5UqnU4.webm has already been downloaded
[download] 100% of 3.13MiB
ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
Ignoring exception in command play:
Traceback (most recent call last):
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2115, in post_process
files_to_delete, info = pp.run(info)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 275, in run
filecodec = self.get_audio_codec(path)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/postprocessor/ffmpeg.py", line 166, in get_audio_codec
raise PostProcessingError('ffprobe/avprobe and ffmpeg/avconv not found. Please install one.')
youtube_dl.utils.PostProcessingError: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "main.py", line 304, in play
ydl.download([url])
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2068, in download
res = self.extract_info(
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
return self.__extract_info(url, ie, download, extra_info, process)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 847, in __extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 881, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1692, in process_video_result
self.process_info(new_info)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2050, in process_info
self.post_process(filename, info_dict)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2117, in post_process
self.report_error(e.msg)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 628, in report_error
self.trouble(error_message, tb)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 598, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/discord/ext/commands/bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/runner/Discord-Bot/venv/lib/python3.8/site-packages/discord/ext/commands/core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.