Giter Site home page Giter Site logo

Comments (6)

Kahsolt avatar Kahsolt commented on May 25, 2024

Does you console log complain anything? 🤔

from stable-diffusion-webui-prompt-travel.

MajorGruberth avatar MajorGruberth commented on May 25, 2024

yes:


Error loading script: prompt_travel.py
Traceback (most recent call last):
File "/Users/xxxxx/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/Users/xxxxx/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/Users/xxxxx/stable-diffusion-webui/extensions/stable-diffusion-webui-prompt-travel/scripts/prompt_travel.py", line 15, in
from moviepy.video.io.ImageSequenceClip import ImageSequenceClip
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/moviepy/video/io/ImageSequenceClip.py", line 6, in
from ..VideoClip import VideoClip
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/moviepy/video/VideoClip.py", line 18, in
from ..config import get_setting
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/moviepy/config.py", line 36, in
FFMPEG_BINARY = get_exe()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/imageio/plugins/ffmpeg.py", line 173, in get_exe
return imageio_ffmpeg.get_ffmpeg_exe()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/imageio_ffmpeg/_utils.py", line 33, in get_ffmpeg_exe
raise RuntimeError(
RuntimeError: No ffmpeg exe could be found. Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.


So I need to install ffmpeg first? I'm wondering....

from stable-diffusion-webui-prompt-travel.

Kahsolt avatar Kahsolt commented on May 25, 2024

It seems that moviepy requires manually installation of ffmpeg on unix-like system, see Zulko/moviepy#1158
And manually set the path as the first two line of prompt_travel.py:

import os
os.environ["IMAGEIO_FFMPEG_EXE"] = '/path/to/your/ffmpeg'

have a try of it?

from stable-diffusion-webui-prompt-travel.

MajorGruberth avatar MajorGruberth commented on May 25, 2024

Well - moviepy manual says: ffmpeg is installed automatically. Actually I have the script called "ffmpeg.py" in the imageio - folder. Anyway: imageio-ffmpeg is installed and upgraded - so moviepy should know where to find it...
I still wondering, how many different ffmpeg-versions are around.... :)

BTW: "import os....0s.environ...." where do I change that? in the Terminal-settings under Profiles?

from stable-diffusion-webui-prompt-travel.

Kahsolt avatar Kahsolt commented on May 25, 2024

Hi there, I just came back from a contest :)
As I reconsidered this problem, even if ffmpeg is not available on a machine, ptravel should still work with export video disabled (and apply postprocessing pipeline to compose a video file), so...
Why the hell does it not appear in the pull-down menu, might it be some gradio bugs I guess.

I seconds ago I just installed this extension Cubemap-Tiling, it also does not appear in UI. As I checked the code, it should be an AlwaysVisible extension.

Gradio or even a1111 webui is really heavy-weight and buggy, I'm digging deeper to find what's wrong. :(

from stable-diffusion-webui-prompt-travel.

Kahsolt avatar Kahsolt commented on May 25, 2024

No further updates, close temporarily.

from stable-diffusion-webui-prompt-travel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.