WASasquatch / was-node-suite-comfyui

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

ffmpeg_bin_path` is not set #295

Open Lennyblonde opened 8 months ago

Lennyblonde commented 8 months ago

Hello there, i get a warning when i start my comfyui: Warning: ffmpeg_bin_path is not set in C:\A_Comfyui\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

I have tried to set the path, but i don't manage to do it properly. Is there anybody who can help me?

thanx in front Lenny

VipCrazyMaster commented 7 months ago

请注意看使用说明:“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

WASasquatch commented 7 months ago

Did you install another node that uninstalled opencv-python-headless[ffmpeg] ?

On Sat, Dec 9, 2023, 8:56 AM VipCrazyMaster @.***> wrote:

请注意看使用说明:“nodes require FFMPEG https://ffmpeg.org/download.html. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848577661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZNMI7JPOMRC7UKHZXLYISJ3DAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGU3TONRWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

WASasquatch commented 7 months ago

You can always add your bin path to system PATHs ENV

On Sat, Dec 9, 2023, 10:42 AM Jordan Thompson @.***> wrote:

Did you install another node that uninstalled opencv-python-headless[ffmpeg] ?

On Sat, Dec 9, 2023, 8:56 AM VipCrazyMaster @.***> wrote:

请注意看使用说明:“nodes require FFMPEG https://ffmpeg.org/download.html. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848577661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZNMI7JPOMRC7UKHZXLYISJ3DAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGU3TONRWGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

OtakuFra commented 7 months ago

Hello guys, Same issue for me and i've set FFmpeg in the c:// ENV Path, but comfyui is located on another hard drive. Should i set the path on D:// too ?

WASasquatch commented 7 months ago

You should point to your ffmpeg binary exe I am pretty sure. It's been a minute since I have used it since all the other video nodes.

But you can also set bin path in system environment path in windows.

On Sat, Dec 9, 2023, 2:42 PM OtakuFra @.***> wrote:

Hello guys, Same issue for me and i've set FFmpeg in the c:// ENV Path, but comfyui is located on another hard drive. Should i set the path on D:// too ?

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1848769971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZJKS7FACNTVN5KHPBDYITSO7AVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYG43DSOJXGE . You are receiving this because you commented.Message ID: @.***>

Lennyblonde commented 7 months ago

请注意看使用说明:“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"

But as i copy this path to the was_suite_config.json file, then it doesn't work.

This is how i tried it:

"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,

But then i get this Error:

WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.

Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)

Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Lennyblonde commented 7 months ago

Did you install another node that uninstalled opencv-python-headless[ffmpeg] ?

Not that i am aware of

Lennyblonde commented 7 months ago

You can always add your bin path to system PATHs ENV

I am sorry i don't know what you mean with this? I am a noob when it comes to this kind of stuff

WASasquatch commented 7 months ago

https://www.editframe.com/guides/how-to-install-and-start-using-ffmpeg-in-under-10-minutes

Specifically the directions towards the end regarding adding ffmpeg to PATH environment variable.

On Mon, Dec 11, 2023, 2:48 AM Lennyblonde @.***> wrote:

You can always add your bin path to system PATHs ENV

I am sorry i don't know what you mean with this? I am a noob when it comes to this kind of stuff

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-1849814619, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZPRUCBPPCESN3GHYYLYI3QJDAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBZHAYTINRRHE . You are receiving this because you commented.Message ID: @.***>

JackyFeng666 commented 7 months ago

请注意看使用说明:“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe" But as i copy this path to the was_suite_config.json file, then it doesn't work. This is how i tried it: "ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" , But then i get this Error: WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template. Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module) Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Don't you have a bin folder in your FFmpeg folder? If PATH_Programs is your FFmpeg root folder, You need to set: "ffmpeg_bin_path": "C:\PATH_Programs\bin" ,no necessary to set ffmpeg.exe(\must be double slash)

VipCrazyMaster commented 7 months ago

请注意看使用说明:“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"

But as i copy this path to the was_suite_config.json file, then it doesn't work.

This is how i tried it:

"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,

But then i get this Error:

WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.

Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)

Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny I use macbook M1 pro. Add the ffmpeg path / Applications/ffmpeg I installed in the .json file. After rebooting, the mac terminal indicates that the installation is successful: "WAS Node Suite: ffmpeg_bin_ pathis set to: / Applications/ffmpeg". The file suffix is not required in the mac system. You can just navigate to the ffmpeg root directory to see if it is OK.

Lennyblonde commented 7 months ago

have a bin folder in your FFmpeg folder

no i don't have a bin folder in my FFmpeg folder

Lennyblonde commented 7 months ago

https://www.editframe.com/guides/how-to-install-and-start-using-ffmpeg-in-under-10-minutes Specifically the directions towards the end regarding adding ffmpeg to PATH environment variable.

thanx for the help and the link, i will dive into it straight away :-)

Re-edit: My ffmpeg is installed correctly. It works now when i set my path like this: "ffmpeg_bin_path": "C:\ffmpeg"

The folder with the: ffmpeg.exe, ffplay.exe. and ffprobe.exe --> i called ffmpeg

Now it finally worked, thanx for the help everybody, i am very happy :-)

iPhail87 commented 6 months ago

Hello, i have this same issue and ive done all the steps above ive succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like

{ "run_requirements": true, "suppress_uncomfy_warnings": true, "show_startup_junk": true, "show_inspiration_quote": true, "text_nodes_type": "STRING", "webui_styles": null, "webui_styles_persistent_update": true, "blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth", "blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth", "sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", "sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", "sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", "history_display_limit": 36, "use_legacy_ascii_text": false, "ffmpeg_bin_path": "C:\FFmpeg", "ffmpeg_extra_codecs": { "avc1": ".mp4", "h264": ".mkv" }, "wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards", "wildcard_api": true {

ive also tried C:\FFmpeg , help is much aprecciated.
WASasquatch commented 6 months ago

Hello, i have this same issue and ive done all the steps above ive succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like

{ "run_requirements": true, "suppress_uncomfy_warnings": true, "show_startup_junk": true, "show_inspiration_quote": true, "text_nodes_type": "STRING", "webui_styles": null, "webui_styles_persistent_update": true, "blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth", "blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth", "sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", "sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", "sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", "history_display_limit": 36, "use_legacy_ascii_text": false, "ffmpeg_bin_path": "C:\FFmpeg", "ffmpeg_extra_codecs": { "avc1": ".mp4", "h264": ".mkv" }, "wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards", "wildcard_api": true {

ive also tried C:\FFmpeg , help is much aprecciated.

But does ffmpeg.exe exist in the folder you're linking? Usually it's ffmpeg/bin that actually contains the binary.

iPhail87 commented 6 months ago

Hello, i have this same issue and ive done all the steps above ive succesfully installed FFmpeg and created a folder in C:\ffmpeg however im probably doing something wrong while editing the config, heres what it looks like { "run_requirements": true, "suppress_uncomfy_warnings": true, "show_startup_junk": true, "show_inspiration_quote": true, "text_nodes_type": "STRING", "webui_styles": null, "webui_styles_persistent_update": true, "blip_model_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth", "blip_model_vqa_url": "https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_vqa_capfilt_large.pth", "sam_model_vith_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth", "sam_model_vitl_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_l_0b3195.pth", "sam_model_vitb_url": "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_b_01ec64.pth", "history_display_limit": 36, "use_legacy_ascii_text": false, "ffmpeg_bin_path": "C:\FFmpeg", "ffmpeg_extra_codecs": { "avc1": ".mp4", "h264": ".mkv" }, "wildcards_path": "C:\Users\heruv\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\wildcards", "wildcard_api": true {

ive also tried C:\FFmpeg , help is much aprecciated.

But does ffmpeg.exe exist in the folder you're linking? Usually it's ffmpeg/bin that actually contains the binary.

https://i.imgur.com/xvTUwv7.png https://i.imgur.com/KD0AFxM.png As you can see in the images above thats where the folder is, its named FFmpeg, and inside it are the 3 files.

aiisoft commented 4 months ago

请注意看使用说明:“nodes require FFMPEG.您应该为您的系统下载正确的 FFMPEG 二进制文件,并在配置文件中设置 FFMPEG 路径。你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

我安装了 FFMPEG allready “C:\PATH_Programs\ffmpeg.exe”

但是当我将此路径复制到was_suite_config.json文件时,它不起作用。

这是我尝试的方式:

“ffmpeg_bin_path”: “C:\PATH_Programs\ffmpeg.exe” ,

但是后来我得到这个错误:

WAS 节点套件错误:无法加载 conf 文件。使用内部配置模板。C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json

也许我的 ffmpeg 没有正确安装?或者无法正确找到路径,因为我只能找到ffmpeg.exe的路径(我猜是安装模块)

对不起,我之所以是这些东西的菜鸟,我只是喜欢稳定的扩散,但我对 Lenny 的所有技术问题都很糟糕

请注意看使用说明:“nodes require FFMPEG. You should download the proper FFMPEG binaries for you system and set the FFMPEG path in the config file.”你的这个was_suite_config.json文件中有一段关于ffmpeg路径的代码需要替换成你本地安装好的ffmpeg路径。

I had FFMPEG installed allready "C:\PATH_Programs\ffmpeg.exe"

But as i copy this path to the was_suite_config.json file, then it doesn't work.

This is how i tried it:

"ffmpeg_bin_path": "C:\PATH_Programs\ffmpeg.exe" ,

But then i get this Error:

WAS Node Suite Error: Unable to load conf file at C:\A_Comfyui\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json. Using internal config template.

Maybe my ffmpeg isn't installed properly? Or in can't find the path correctly, becasue i can only find the path to the ffmpeg.exe (which is i guess the install module)

Sorry, for being such a noob with this stuff, i just love stable diffusion, but i am terrible with all the technical stuff greets Lenny

Windows 下尝试用C:\PATH_Programs\ffmpeg.exe 这种格式。你要考虑到Python语言的转义符。

Ropgrc commented 3 months ago

Windows users, following the steps below, the step-by-step operation will surely solve your problem.

  1. Enter the website "https://www.gyan.dev/ffmpeg/builds/", find the "ffmpeg-git-essentials.7z" file and download it.
  2. Unzip the downloaded "ffmpeg-git-essentials.7z" file.
  3. Create the folder "FFmpeg" in the root directory of drive C, find the bin folder in the decompressed folder, and copy all the files in the bin folder to the "FFmpeg" file.
  4. Open the file "ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json", change the path of "ffmpeg_bin_path" to "C:/FFmpeg", and save the file. +Note: / in "C:/FFmpeg" must be /, not .
  5. Restart ComfyUI and the problem is solved.
beyastard commented 3 months ago

NOTE the following:

WRONG: "ffmpeg_bin_path": "C:\PATH_TO_FFMPEG_BIN\ffmpeg.exe"

RIGHT: "ffmpeg_bin_path": "C:\\PATH_TO_FFMPEG_BIN\\ffmpeg.exe"

Oddsodz commented 2 months ago

Is there a unraid linux way of adding this to path?

WASasquatch commented 1 month ago

Point to the bin folder so it can find appropriate binary

On Sat, Jun 1, 2024, 11:09 AM Peter Whyte @.***> wrote:

Is there a unraid linux way of adding this to path?

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/295#issuecomment-2143535447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZK7KD72HAQNWJN3NWDZFIE5HAVCNFSM6AAAAABAGGVBLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGUZTKNBUG4 . You are receiving this because you commented.Message ID: @.***>

Gavin266 commented 1 month ago

Ropgrc basically got it right but I think he made a typo. In essence for Windows use "/" instead of the default "\ ". So use C:/Program Files/ffmpeg/bin instead of C:\Program Files\ffmpeg\bin