WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.23k stars 178 forks source link

WAS Node Suite Warning: `ffmpeg_bin_path` #342

Open lunatico67 opened 9 months ago

lunatico67 commented 9 months ago

WAS Node Suite Warning: ffmpeg_bin_path is not set in C:\Users\Luna\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available.

How can solve it?

stephantual commented 9 months ago

It's very my friend. I suspect you're on Windows:

Done!

lunatico67 commented 8 months ago

It's very my friend. I suspect you're on Windows:

  • Stop comfy
  • First you need ffmpeg - plently of options but https://www.gyan.dev/ffmpeg/builds/#git-master-builds offers a simple package.
  • Download ffmpeg-git-essentials.7z from that site
  • Install 7z if you don't have it (https://7-zip.org/)
  • Unzip the file you downloaded to any location, i place my in my C:/ drive.
  • Edit \ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json
  • In there find the line that says " "ffmpeg_bin_path": "/path/to/ffmpeg",
  • Change the path to your location you unziped the bins in - for example "ffmpeg_bin_path": "C:\ffmpeg_14_feb_2024\bin",
  • Make double sure you typed the path correctly (see above)
  • Restart

Done!

Hi Stephan, sorry for the super delay in my reply, I just saw it now. Thanks a million, problem solved, the error no longer appears. I had the ffmpeg package installed on my computer but I didn't have it addressed in was_suite_config.json as you showed me.

craftogrammer commented 2 months ago

This is how I did it:

First I installed this with winget, and then set the path like this (see double slash) in windows.

"ffmpeg_bin_path": "C:\\Users\\Optim\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe\\ffmpeg-7.0.1-full_build\\bin",

WASasquatch commented 2 months ago

If it's not set it attempts to use the system ffmpet, assuming path is in env path var. Which ffmpeg installer doesn't do, so most people get this issue.