question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<class 'spleeter.SpleeterError'>, message: ffmpeg binary not found

See original GitHub issue
from spleeter.separator import Separator

separator = Separator('spleeter:2stems')
separator.separate_to_file(temp_file, '/var/www/myproject/')

above code rise below error

<class 'spleeter.SpleeterError'>, message: ffmpeg binary not found

image

ffmpeg is installed correctly at /usr/bin/

spleeter version = 1.5.4 python version = 3.6.5 os : ubuntu 20.0.4 nginx + uwsgi

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Diego92Itacommented, Sep 2, 2021

I was stuck at the same step, eventually followed @DanielHammerin’s answer. But installed “ffmpeg” manually using the following wikihow link before installing “spleeter” using the PIP command. https://www.wikihow.com/Install-FFmpeg-on-Windows Then did the steps that @DanielHammerin mentioned viz. - pip uninstall ffmpeg pip uninstall ffmpeg-python pip install ffmpeg-python And voila, it worked. 😃

I’ve followed your steps but my spleeter doesn’t work yet. It still says: ERROR:spleeter:ffmpeg binary not found

Ok, I’ve solved it. You have to make shure that ffmpeg is installed in the system evironmant variables. For Windows users just follow this tutorial: https://www.youtube.com/watch?v=qjtmgCb8NcE&ab_channel=LinuxLeech

2reactions
shahyashrcommented, Aug 21, 2021

I was stuck at the same step, eventually followed @DanielHammerin’s answer. But installed “ffmpeg” manually using the following wikihow link before installing “spleeter” using the PIP command. https://www.wikihow.com/Install-FFmpeg-on-Windows

Then did the steps that @DanielHammerin mentioned viz. -
pip uninstall ffmpeg pip uninstall ffmpeg-python pip install ffmpeg-python

And voila, it worked. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Even though I installed ffmpeg , I got "ERROR:spleeter:ffmpeg ...
... I got error saying "ERROR:spleeter:ffmpeg binary not found". how can I solve this problem. I installed ffmpeg using "pip install ffmpeg".
Read more >
<class 'spleeter.SpleeterError'>, message: ffmpeg binary not ...
message : ffmpeg binary not found.
Read more >
ffmpeg binary not found - DigitalOcean
when i try to execute ffmpeg using python code in my python shell it's work but when i try the same thing with...
Read more >
spleeter/community - Gitter
Hello, great tools but have also the ffprobe error...someone that make it work can make a tutorial on how he installed everything including...
Read more >
sleepter ffmpeg library not found {FIX} - YouTube
Problems related to the spleeter not working. This is a temporary solution. Hope it can help you. ffmpeg library not found spleeter ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found