Ask coding questions

← Back to all posts
Installing FFmpeg
ArjunSS1 (113)

I'm trying to make a discord music bot and have already created the code but I'm using FFmpeg which I don't know how to download on repl. I've tried importing it but I just keep getting the error ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.

Answered by Vandesm14 (2645) [earned 5 cycles]
View Answer
Vandesm14 (2645) does not support FFmpeg anymore. It was initially used for botting and spamming, so they removed the functionality.

ArjunSS1 (113)

@Vandesm14 Do you know any other tools for discord music bots?

Vandesm14 (2645)

@ArjunSS1 I'm pretty sure that they have completely prevented any form of discord music bot. I'll ask around to make sure I'm right.

Xephire (2)

Hey, I don't know if you're still looking for a way, seeing as though it's been 12 months, but I recently made a Discord music bot using FFmpeg and it worked, so they must have added support back for it.

ParvaP (0)

@Xephire How did you add add it into your program?

CrazyVideoGamez (7)

Actually, you can use FFmpeg, just type it into the shell (at least for me)

2021 feb 9

CrazyVideoGamez (7)

@hedgieEL yup, it works. When for example when I went on my HTML/JS/CSS videos repository, I had ffmpeg automatically installed, and ffprobe too.

CrazyVideoGamez (7)

@hedgieEL Maybe it's just me, and somehow I got a special repl idk
Edit: nvm, it isn't me, I went to another repl and it was there

Vandesm14 (2645)

@CrazyVideoGamez Yeah, it still exists, you just can't use it with your programming language.

CrazyVideoGamez (7)

@Vandesm14 I've tried using python, it it works fine. I have a python file:

import os
video = 'video.mp4'
os.system(f'ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "{video}"')

It gives me a duration.

Vandesm14 (2645)

@CrazyVideoGamez Well then, I guess they added it back.

ArchieMaclean (913)

Currently, I think doesn't support this. Sorry :(