Ask coding questions

← Back to all posts
Installing FFmpeg
ArjunSS1 (120)

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 (2752) [earned 5 cycles]
View Answer
Vandesm14 (2752) does not support FFmpeg anymore. It was initially used for botting and spamming, so they removed the functionality.

ArjunSS1 (120)

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

Vandesm14 (2752)

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

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

CrazyVideoGamer (12)

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

2021 feb 9

CrazyVideoGamer (12)

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

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

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

CrazyVideoGamer (12)

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

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

Vandesm14 (2752)

@miras13 Not sure what you mean. I haven't tried using FFMpeg with Replit in forever so I don't know if it still works or not.

CrazyVideoGamer (12)

@miras13 yup still here as of 2021 Jul 21

TomWSC828 (0)

This is how:
1. go to package in your repl
2. type ffmpeg
3. question about the tick that you gave to Vandesm14

but maybe they stopped update it (edit: the newest ver is there. and all of the other packages works the same)

ArchieMaclean (932)

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