gitmylo / audio-webui

A webui for different audio related Neural Networks
MIT License
973 stars 90 forks source link

[FEATURE REQUEST] warning ffmpeg on windows #138

Closed tikhonlavrev closed 10 months ago

tikhonlavrev commented 10 months ago

Is your feature request related to a problem? Please describe. Yesterday I made bug report about FileNotFoundError: [WinError 3] The system cannot find the path specified. Today I test to train the model, but this problem still ocured but not on the installation, but when I'm trying resample. So the core problem is ffmpeg is missing, but not described on windows. So those problem ocurred without clear message

Describe the solution you'd like Copying ffmpeg into the core folder seems work to me on windows and I can train my model without issue. So maybe auto downloading ffmpeg for windows on core folder seems resolving this issue.

I give 2 error both on windows and linux on the attachment

This is error message when I'm running it on Ubuntu gambar

This is error message when I'm running it on Windows gambar

tikhonlavrev commented 10 months ago

Sorry, I mean this is on windows gambar

gitmylo commented 10 months ago

Do you have ffmpeg installed, and available on your PATH? (this could be either in the same directory as where you launched audio-webui from, or a globally available directory, like the ones on the PATH environment variable)

tikhonlavrev commented 10 months ago

Do you have ffmpeg installed, and available on your PATH? (this could be either in the same directory as where you launched audio-webui from, or a globally available directory, like the ones on the PATH environment variable)

In fresh windows installation I just copy the ffmpeg.exe into audio-webui and it works perfectly. So, the cause of the error is ffmpeg is missing but the message is not clear on the windows. Maybe you can add clear message for windows user who didn't install ffmpeg on their PATH

gitmylo commented 10 months ago

I'll add it to the readme, under the "please read" section.