Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
434 stars 76 forks source link

Load Audio [WinError 2] The system cannot find the file specified #158

Closed alterfo closed 5 months ago

alterfo commented 5 months ago

Hello!

I'm trying to load any audio in LoadAudio custom node, but always have the same error:

image

I have tried to 'pip install ffmpeg' in embedded python, but it didn't help.

AustinMroz commented 5 months ago

The error message you provide is for the ComfyUI-AudioScheduler Load Audio node, not the VHS Load Audio node.

I've never actually used pydub (the library used by AudioScheduler), but it appears to require ffprobe (which comes bundled with ffmpeg) be seperately installed and added to the system path. Further, I don't believe it's possible to add ffmpeg to the system path with pip.

While I did, coincidentially, write a quick plugin recently to allow interoperability of AudioScheduler and VHS here which would allow you to forgo the usage of AudioScheduler's load audio node, it comes with minimal guardrails and may not be much help.

alterfo commented 5 months ago

Just FYI, ffmpeg removal from embedded python helped.