Maurdekye / training-picker

Extension for stable-diffusion-webui that allows the user to mux through the keyframes of a video, and automatically pick and export training examples from individual keyframes.
109 stars 15 forks source link

Error: [WinError 2] The system cannot find the file specified #9

Closed WlnterW closed 2 years ago

WlnterW commented 2 years ago

When trying to load a video in the extension I get the Error message "Error: [WinError 2] The system cannot find the file specified". The output folder is generated with the name of the input video but after that nothing happens. I installed the extension via the Automatic1111 webui and also tried a manual install.

The videos are located in the folder which is opened by the button. They are in mp4 format.

Maurdekye commented 2 years ago

Do you have ffmpeg installed in your computer and accessible to the program via your path?

WlnterW commented 2 years ago

I installed it using the git clone command on their website through the webui-user.bat. Also tried an installation through git bash. Ffmpeg is installed in the stable-diffusion-webui folder. Do I have to set paths manually? And if so where would I start?

Maurdekye commented 2 years ago

Visit ffmpeg's website at https://ffmpeg.org/ and download one of the executable installers for your OS, I'm assuming Windows. That should automatically add ffmpeg to your path. Show me a screenshot of where you have ffmpeg installed, that should help clear up any confusion.

WlnterW commented 2 years ago

Thank you! Got it to work in the end. I could not find a installer for ffmpeg but this video helped me to set it up properly.

Maurdekye commented 2 years ago

Awesome!