IAHispano / Applio

A simple, high-quality voice conversion tool focused on ease of use and performance
https://applio.org
MIT License
1.82k stars 293 forks source link

[Bug]: Can't install ffmpeg on Fedora #781

Closed kro-ai closed 1 month ago

kro-ai commented 1 month ago

Project Version

Latest version

Platform and OS Version

Nobara 40 (Fedora)

Affected Devices

Linux

Existing Issues

No response

What happened?

I've been using Applio on Linux with no issues, but I recently updated my machine and decided to re-install Applio, but right after clicking install-applio.sh, but almost immediately it gives an error "Unsupported distribution for FFmpeg installation." I'm not sure If you guys updated ffmpeg to another version or what, but It has broken the install on Linux.

Steps to reproduce

  1. Try to install
  2. Error

Expected behavior

I expect it to install properly.

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

aris-py commented 1 month ago

I will fix it, this happens because in Fedora there is no package manager like “apt” or “pacman”, it is fixed by adding zipper and dnf.

aris-py commented 1 month ago

Of course, if I remove the package managers, ffmpeg would not install or some audio formats would fail.

kro-ai commented 1 month ago

@aris-py Ah okay! that makes sense

aris-py commented 1 month ago

I saw what the problem is, it's the Fedora repositories which don't have the FFmpeg package, I have a solution for you:

kro-ai commented 1 month ago

I'm on Nobara, and It already has ffmpeg pre-installed, I tried "sudo dnf install ffmpeg ffmpeg-libs" and it gave an error because of that. Which is why It's really strange that Applio won't install. It's ffmpeg-free.

aris-py commented 1 month ago

I'm testing my fix in Fedora and I see that it works, if everything goes well I'll make a pr to fix it.

kro-ai commented 1 month ago

@aris-py I appreciate it!

aris-py commented 1 month ago

You can test my fix through my Applio fork where I test to see if everything works correctly. https://github.com/aris-py/ApplioLinux

kro-ai commented 1 month ago

Unfortunately It didn't work, now It says "Unsupported package manager for installing ffmpeg."

aris-py commented 1 month ago

I will try FlatPack

kro-ai commented 1 month ago

Alright

aris-py commented 1 month ago

I just installed Nobara Linux for better testing

kro-ai commented 1 month ago

I'm just wondering what has changed, because I've used Applio on Nobara without issue before.. Really strange

kro-ai commented 1 month ago

@aris-py I saw you had pushed a few updates so I gave your repo another try, and It looks like It's working! So whatever change you pushed seems to have fixed it.

EDIT: Can confirm it is working, I've even tried training a model.