Ask coding questions

← Back to all posts
Installing FFmpeg
h
ArjunSS1 (115)

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 (2684) [earned 5 cycles]
View Answer
Comments
hotnewtop
Vandesm14 (2684)

Repl.it does not support FFmpeg anymore. It was initially used for botting and spamming, so they removed the functionality.

ArjunSS1 (115)

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

Vandesm14 (2684)

@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?

CrazyVideoGamer (9)

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

2021 feb 9

CrazyVideoGamer (9)

@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.

CrazyVideoGamer (9)

@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 (2684)

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

CrazyVideoGamer (9)

@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 (2684)

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

ArchieMaclean (918)

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