Extension for creating videos using img2img and ebsynth. Output edited videos using ebsynth. Works with ControlNet extension.
 
 
Go to file
alexbofa afcac9ac2f
Delete ui.py
2023-10-22 00:29:14 +03:00
scripts Update ui.py 2023-10-22 00:10:44 +03:00
README.md Update README.md 2023-10-21 23:06:21 +03:00
ebsynth_utility.py Add files via upload 2023-10-22 00:05:59 +03:00
install.py Add files via upload 2023-10-22 00:05:59 +03:00
stage1.py #116 2023-09-27 08:53:29 +09:00
stage2.py Add stage 8(blend with any background) 2023-01-25 23:35:03 +09:00
stage5.py Update stage5.py 2023-10-21 23:16:03 +03:00
stage7.py Fixed a forgotten character escape. 2023-03-14 09:13:56 +09:00
stage8.py Update 2023-10-21 22:22:48 +03:00
style.css Update 2023-10-21 22:22:48 +03:00

README.md

ebsynth_utility_lite

Fork was created to facilitate the creation of videos via img2img based on the original ebsynth_utility

TODO

  • Delete script for img2img
  • Add configuration → stage 5
  • Stage 0 — changing the video size, for example from 1080x1920 to 512x904
  • Stage 2 — manually add custom_gap
  • Change Stage 3 for create a grid (min 1x1 max 3x3)
  • Change Stage 4 for disassemble the grid back
  • Stage 0 — add Presets (with changes via .json)
  • Stage 5 — automatisation with Ebsynth? (Is it possible?)
  • Edit Readme.md

If you want to help, feel free to create the PR

Installation

Usage

  • Go to [Ebsynth Utility] tab.
  • Create an empty directory somewhere, and fill in the «Project directory» field.
  • Place the video you want to edit from somewhere, and fill in the "Original Movie Path" field. Use short videos of a few seconds at first.
  • Select stage 1 and Generate.
  • Execute in order from stage 1 to 7. Progress during the process is not reflected in webui, so please check the console screen. If you see "completed." in webui, it is completed.
    (In the current latest webui, it seems to cause an error if you do not drop the image on the main screen of img2img.
    Please drop the image as it does not affect the result.)

Note 1

For reference, here's what I did when I edited a 1280x720 30fps 15sec video based on

Stage 1

There is nothing to configure.
All frames of the video and mask images for all frames are generated.

Stage 2

In the implementation of this extension, the keyframe interval is chosen to be shorter where there is a lot of motion and longer where there is little motion.
If the animation breaks up, increase the keyframe, if it flickers, decrease the keyframe.
First, generate one time with the default settings and go straight ahead without worrying about the result.

Stage 3 (In development)

Stage 4 (Will be changed in the future)

Scale it up or down and process it to exactly the same size as the original video.
This process should only need to be done once.

  • Width : 1280
  • Height : 720
  • Upscaler 1 : R-ESRGAN 4x+
  • Upscaler 2 : R-ESRGAN 4x+ Anime6B
  • Upscaler 2 visibility : 0.5
  • GFPGAN visibility : 1
  • CodeFormer visibility : 0
  • CodeFormer weight : 0

Stage 5

There is nothing to configure.
.ebs file will be generated.

Stage 6

Run the .ebs file.
I wouldn't change the settings, but you could adjust the .ebs settings.

Stage 7

Finally, output the video.
In my case, the entire process from 1 to 7 took about 30 minutes.

  • Crossfade blend rate : 1.0
  • Export type : mp4