NextView
Adds a 'NextView' tab to the Stable Diffusion Web UI that allows the user to:
- Turn Video 2 Image Sequences
- Turn Image Sequences 2 Video
Requirements
Make sure you have FFmpeg installed.
How to install FFmpeg?
Follow the steps below to install FFmpeg on your windows machine:
Here's a simple breakdown:
- Open your command prompt
- Enter the following command and hit enter: winget install -e --id Gyan.FFmpeg
- Voila! FFmpeg is now installed
Installation NextView Extension
- Open your Stable Diffusion Web UI.
- Click on the "Extensions" tab.
- Navigate to the "Install from URL" subsection.
- Paste the following URL: https://github.com/NextDiffusion/next-view
- Click on the "Install" button.
- After installation go to the "Installed" tab and click on "Apply and restart UI".
Usage
On the left side you have the "Video 2 Image Sequence" section where you can upload a video and turn in into an image sequence:
Input
- Upload a video you want to turn to an image sequence
- Click on the "Generate Image Sequence" button to turn it into an image sequence
You also have the option to click the "Clear" button to remove the uploaded video.
Output
- If everything went alright, you now will see your "Image Sequence Location" where the images are stored.
- The output location of the images will be the following: "stable-diffusion-webui\extensions\next-view\image_sequences{timestamp}"
- The images in the output directory will be in a PNG format
- The images will have the following naming structure: "frame_0001", "frame_0002" etc.
- You now have the option to copy the output location by clicking on the "Copy" icon in the right bottom corner.
On the right side you have the "Image Sequence 2 Video" section:
Input
- Start by pasting an "Image Sequence Location" folder name
- The images within this folder should be of PNG format
- The images should have the following naming structure when converting to a video: "frame_0001", "frame_0002" etc.
- When everything is correct you can click on the "Generate Video" button to turn it into an image sequence
Output
- If everything went alright, you now will see your "Generated Video" where you can play/download it.
- The output location of the video will be the following: "stable-diffusion-webui\extensions\next-view\output_videos
- The video will be of MP4 format.
Credits: Next Diffusion ❤️