based9based / roop

Based9Based version of ROOP, No NSFW Filter, No ERRORS ;)
GNU General Public License v3.0
175 stars 141 forks source link

error on running "[ROOP.CORE] ffmpeg is not installed." #4

Open davad00 opened 8 months ago

davad00 commented 8 months ago

Description

A concise description of the bug and how to reproduce it.

installed everything as needed and when i try to run the sofware it outputs this " [ROOP.CORE] ffmpeg is not installed. " i did pip install ffmpeg after that and it gave the same output..

Error

Paste the error or exception from your console:

[ROOP.CORE] ffmpeg is not installed.

Details

What operating system are you using?

What execution provider are you using?

What version of Roop are you using?

mehtaabGill commented 8 months ago

+1 on this. Also facing this issue on windows 11. Issue persists after installing ffmpeg manually.

[ROOP.CORE] ffmpeg is not installed.
Traceback (most recent call last):
  File "C:\Users\mehta\Downloads\roop-main (1)\roop-main\run.py", line 6, in <module>
    core.run()
  File "C:\Users\mehta\Downloads\roop-main (1)\roop-main\roop\core.py", line 210, in run
    if not pre_check():
           ^^^^^^^^^^^
  File "C:\Users\mehta\Downloads\roop-main (1)\roop-main\roop\core.py", line 120, in pre_check
    update_status('ffmpeg is not installed.')
  File "C:\Users\mehta\Downloads\roop-main (1)\roop-main\roop\core.py", line 128, in update_status
    ui.update_status(message)
  File "C:\Users\mehta\Downloads\roop-main (1)\roop-main\roop\ui.py", line 143, in update_status
    status_label.configure(text=text)
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'configure'
Anonymous7860 commented 8 months ago

change runtime to t4 or tpu

davad00 commented 8 months ago

?? we run it localy on our pc not on google colab

07dav07 commented 7 months ago

davad00 same problem in windows11 and solved whit winget install "FFmpeg (Essentials Build)" from cmd. however openvino doens't work only cpu option. commands are wrong python run.py -t ./content/vid1.mp4 -s ./content/image8.png -o ./content/swapped.mp4 --execution-provider cpu --frame-processor face_swapper face_enhancer this work. p.s. you must create "content" directory under roop folder and put them source (-s) and target (-t)

Anonymous7860 commented 6 months ago

or copy the locations of files after -t and -s .

yuanshuo1022 commented 1 month ago

Solution: After downloading FFmpeg, you need to set environment variables and restart. To set the bin file under ffmpeg to the environment variable, run the ffmpeg command in cmd to check whether it takes effect.

![Uploading Snipaste_2024-07-06_07-19-04.png…]()