Home Creators Posts Import Register Favorites Logout

Downloads

Content

Rerender A Video turns a video into anime with 1 click; this auto Windows installer sets it up in its own venv and downloads 4 Stable Diffusion models.

Note: this is an older post kept for reference. Newer apps and guides are in AI Video Generation and Animation Apps.

Files upgraded to V3 in October 2024 for the new Windows requirements, with install_large_vram.bat, Triton for Windows and a precompiled ebsynth. The auto-downloaded models, including Flat 2D Animerge and Realistic Vision 5.1, total 32.2 GB.

Patreon exclusive posts index

Join discord and tell me your discord username to get a special rank : SECourses Discord

19 October 2024 Update :

Windows Requirements

  • Python 3.10.11, CUDA 12.4, cuDDN 8.9, FFMPEG, Git, C++ Build Tools 17.8 LTSC

  • Full tutorial to install above requirements : https://youtu.be/DrhUHnYfwC0


15 February 2024 Update :

  • Install script updated according to latest libraries

  • When installing please wait fully otherwise you will get errors

  • When installing it will download a lot of models so if you don't want models to be download edit install2 .py file before starting install and delete the models you don't want

  • The models it will download are : Realistic_Vision_V5.1, Flat_2D_Animerge, ReV_Animated_122 & Stable_Diffusion_1.5

  • Do not use spaces or special characters in your folder names or in your video names 

  • To see all process edit video_blend .py file and set OPEN_EBSYNTH_LOG = True

  • Triton library added for Windows 

  • You need to have installed Python 3.10.x - it can be like 3.10.6 or 3.10.9 or 3.10.11 etc

  • Here a full tutorial for how to install FFmpeg and Python properly : https://youtu.be/-NjNy7afOQ0

19 October 2023 Update :

EXAMPLE VIDEO : https://twitter.com/GozukaraFurkan/status/1703797121126662602

Please read carefully and upvote this Reddit thread if possible

The original GitHub repo to read and learn more : https://github.com/williamyang1991/Rerender_A_Video

My installers will make a new VENV and install everything there. So this will not affect your other applications such as Automatic1111 Web UI

You also need to install ffmpeg and set its environment path. Shown in this video (2:56) : https://youtu.be/OI1LEN-SgLM

You need to have installed git

install_large_vram .bat will install Torch 2.0.1, Cuda 11.8, and xFormers 0.0.22

install_low_vram .bat will install Torch 1.13.1, Cuda 11.7 and xFormers 0.0.16 - will be probably slower i am yet to test

After install run .bat

The starting URL will be : http://127.0.0.1:7860

Before installing everything there are several crucial issues

Edit install2 .py and comment out the models that you don't want to download or you can even add new models for download. Auto download included models are Realistic_Vision_V5_1, Stable_Diffusion_1_5, Flat_2D_Animerge (which i used in example video), ReV_Animated_122

If you add new models edit sd_model_cfg .py and add them to the model dictionary list with same format. So easy to edit both of the files they are very clear

Most importantly if you don't compile ebsynth yourself please download and extract ebsynth .zip into the same folder. I compiled it with using Microsoft Visual Studio Community Edition 2022 and CUDA 12 library. Compiling it really hard. For those who wants I can connect your PC and help you if you become my Level 50 patreon subscriber (only 1 time)

Moreover, put all of these files into a folder with specific path. Do not use spaces in folder path. Do not use non english characters in folder path. Example correct folder path is

G:\render_v3

Here how your folder should look like before install

The install will take some time since it will download models which are total 32.2 GB

After all installation has been completed double click run .bat file and it will start the Web UI interface

Usage is intuitive

I made this video with default settings, flat2DAnimerge_v30 model and just a man in a room prompt

Processing is taking a lot of time

You can follow the process from CMD window

The starting URL will : http://127.0.0.1:7860

If you get ffprobe error that means it doesn't see your FFMPEG

So download ffmpeg from here : https://ffmpeg.org/download.html

Extract downloaded ffmpeg into the scripts folder (..\Rerender_A_Video\venv\Scripts) like below

Upload your video and set settings and then click Run 1st Key Frame

This will display first frame

After that click Run All Frames once you are okay with first frame

You will see the results inside Rerender_A_Video\result folder with the name of your input video file name

Make your video filename also specific easy like test_video.mp4 - dont use spaces or non-english characters

The final and most time consuming part will generate images under blend folder

It will generate number of frames equal to the number of frames in your original video

Finally it will not copy the sound of the original video

  • Put output render video and initial original video into the same folder and run below command.

  • Don't forget to change file names. Also you need to have installed (add system path) or downloaded ffmpeg into the same folder

  • ffmpeg -i blend.mp4 -i source_video.mp4 -c:v copy -c:a copy -map 0:v:0 -map 1:a:0 output.mp4

Hopefully I will make a detailed tutorial video for this amazing tool

Re_Render_a_Video_v1.zip contains all of the files including ebsynth .zip extracted


Related posts

All posts in this topic: AI Video Generation and Animation Apps · New to SECourses? Start Here: Best and Most Popular SECourses Posts

Read this post on the website, with every image, the video chapters and the full version history: furkangozukara.com

Files

Comments

Rafał Ryniak

Czy będzie wersja na ronpod czy trzeba poszukać i samemu to zrobić?

SECourses

I will hopefully will make a runpod version too stay tuned

Dazzastrous

Will this work with sdxl models Doc?

SECourses

I just tested for you. sadly it doesn't work due to tensor mismatch

Dazzastrous

when I click run bat i get the following :( logging improved. Traceback (most recent call last): File "M:\render_v2\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "M:\render_v2\Rerender_A_Video\flow\flow_utils.py", line 209, in flow_calc = FlowCalc() File "M:\render_v2\Rerender_A_Video\flow\flow_utils.py", line 155, in __init__ checkpoint = torch.load(model_path, File "M:\render_v2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 797, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "M:\render_v2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 283, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

SECourses

hello. what is your GPU and your installed Python? can you open CMD and type Python and tell me what you see? also did you wait entire install finish? it takes huge time

Dazzastrous

Yup waited long time said install successful and cmd window closes. my gpu is 3060 12gb Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32

SECourses

12 gb is good. what is this M disk? can you test on C disk? if you message me from patreon i can connect your pc and check out. can you show me your install folder screenshot?

jaehyun AI

The updated code works perfectly. Thank you. Looking forward to further detailed tutorials.

SECourses

thank you so much. i am working on more

OctonionPrime

hey thank you for this script. Will 8 gb be enough?

SECourses

Hello. I think you probably would need to reduce resolution. But should work with lower resolution

OctonionPrime

will try. Are you planning to implement it on cloud?

SECourses

yep hopefully i will make notebook for runpod and kaggle too. will share on Patreon

SECourses

you are welcome. thanks for supporting me

Nguyen Tran (edited)

Comment edits

2026-09-07 10:00 Assumming that I can build ebsynth in linux, will the rest of the code can be adapted to run in Linux?
2023-09-28 15:02

SECourses

exactly. you can use it directly on linux

Salvador Robles

Hello, when you say during installation large vram you refer more than?, I have a RTX4070 12GB VRAM in PC and RTX3070 8GB VRAM mobile in my labtop, this is large or low in each case?. Thanks a lot. I am very interested in this, It would be great a kaggle version if possible... thanks a lot

Salvador Robles

By te way I have seen some videos on your youtube channel (short ones), are there full tutorials for patreon supporters anywhere?, thanks

SECourses

full tutorials are not ready yet sadly

SECourses

i think you should try both and compare. 12 gb is like middle

XIAOLANGGOU (edited)

Comment edits

2026-09-07 10:00 Error:Traceback (most recent call last): File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\_backends\_asyncio.py", line 807, in run result = context.run(func, *args) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\Users\586\AppData\Local\Programs\Python\Python310\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "J:\Rerender_A_Video\Rerender_A_Video\webUI.py", line 278, in process1 model = ddim_v_sampler.model AttributeError: 'NoneType' object has no attribute 'model'
2023-10-27 12:58

SECourses

i think install python 3.10.11 into C drive directly as shown in video and reinstall and try again. also what was your GPU?

SECourses

it should work good. it is 24 gb

SECourses

what resolution are you trying? what is your video resolution? try a small video with 512x512 resolution. are you able to get first preview image? please give more info. maybe a video

SECourses

great. such errors are so hard to debug from just replies.

Salvador Robles

python video_blend.py result\video 1080p --beg 1 --end 301 --itv 10 --key keys --output result\video 1080p\blend.mp4 --fps 25.0 --n_proc 1 -ps usage: video_blend.py [-h] [--output OUTPUT] [--fps FPS] [--beg BEG] [--end END] [--itv ITV] [--key KEY] [--n_proc N_PROC] [-ps] [-ne] [-tmp] name video_blend.py: error: unrecognized arguments: 1080p 1080p\blend.mp4 Traceback (most recent call last): File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1440, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 281, in postprocess processed_files = (self._format_video(y), None) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 355, in _format_video video = self.make_temp_copy_if_needed(video) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 226, in make_temp_copy_if_needed temp_dir = self.hash_file(file_path) File "D:\IA\Render_L\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 190, in hash_file with open(file_path, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'result\\video 1080p\\blend.mp4'

SECourses

you have path error. FileNotFoundError: [Errno 2] No such file or directory: 'result\\video 1080p\\blend.mp4' and this : video_blend.py: error: unrecognized arguments: 1080p 1080p\blend.mp4 i don't know but you are doing something different. try 512x512 base model and make your video file name as a.mp4

Salvador Robles

I finally got a video but it was a bit disappointing, hopefully you can make a tutorial to make good videos with this or other technology (warpfusion or similar). I visited a page called lensgo.ai with a very interesting videotovideo option, the technology behind, it would be interesting to see what it is... Thanks

SECourses

you are right. this is on my research topic and will hopefully make a tutorial

Salvador Robles

Well, I look forward to it with great interest, I find all this related to video rotoscoping by AI very interesting.

BoudleSnapped

i have this issue as well- how did you fix it?

BoudleSnapped

Hi I'm having an issue, it generates keyframes fine but when it gets to run propogation, I get the "unrecognised arguments" and "no such directory" errors usage: video_blend.py [-h] [--output OUTPUT] [--fps FPS] [--beg BEG] [--end END] [--itv ITV] [--key KEY] [--n_proc N_PROC] [-ps] [-ne] [-tmp] name video_blend.py: error: unrecognized arguments: of lint 220533882 FB of lint 220533882 FB\blend.mp4 Traceback (most recent call last): File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1440, in process_api data = self.postprocess_data(fn_index, result["prediction"], state) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1341, in postprocess_data prediction_value = block.postprocess(prediction_value) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 281, in postprocess processed_files = (self._format_video(y), None) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\video.py", line 355, in _format_video video = self.make_temp_copy_if_needed(video) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 226, in make_temp_copy_if_needed temp_dir = self.hash_file(file_path) File "C:\Users\TAW\Documents\OtherPrograms\Render_A_Video\Rerender_A_Video\venv\lib\site-packages\gradio\components\base.py", line 190, in hash_file with open(file_path, "rb") as f: FileNotFoundError: [Errno 2] No such file or directory: 'result\\calling of lint 220533882 FB\\blend.mp4'

SECourses

hello please uıninstall your all python and install as shown in this video into your C drive : https://youtu.be/B5U7LJOvH6g - also install Rerender_A_Video into your C or main drive not documents. also do not have any space in your folders or in your video file. let me know after this please

Hunter Nguyen

Hi. This is the error show when I click on the run file: Traceback (most recent call last): File "C:\Users\hunte\Downloads\all_files\Rerender_A_Video\webUI.py", line 5, in import cv2 ModuleNotFoundError: No module named 'cv2' Press any key to continue . . .

SECourses

activate venv and execute this pip install opencv-python tell me if you are getting any error or not.

SECourses

can you try this? : pip install einops i am going to test installer right now to see if i will get any errors

SECourses

thank you so much great list to follow

Haifeng Liao

Traceback (most recent call last): File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "C:\rerender_v2\all_files_V2\Rerender_A_Video\flow\flow_utils.py", line 258, in flow_calc = FlowCalc() File "C:\rerender_v2\all_files_V2\Rerender_A_Video\flow\flow_utils.py", line 156, in __init__ checkpoint = torch.load(model_path, File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 791, in load with _open_file_like(f, 'rb') as opened_file: File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 271, in _open_file_like return _open_file(name_or_buffer, mode) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 252, in __init__ super().__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './models/gmflow_sintel-0c07dcb3.pth'

SECourses

hello. this happens when file downloads fails. i am testing a fresh install now

SECourses

hello. I just did a fresh install and no issues. worked great. so here info i need what is your python version? please reinstall and send me your entire install cmd output as email : monstermmorpg@gmail.com

Haifeng Liao

C:\Users\Administrator>python - version Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

SECourses

ye it is accurate. make a newer fresh install and let me know. also you installed ffmpeg right? you get same message when typed ffmpeg?

Haifeng Liao

Traceback (most recent call last): File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\queueing.py", line 388, in call_prediction output = await route_utils.call_process_api( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\route_utils.py", line 219, in call_process_api output = await app.get_blocks().process_api( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1437, in process_api result = await self.call_function( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 2144, in run_sync_in_worker_thread return await future File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\anyio\_backends\_asyncio.py", line 851, in run result = context.run(func, *args) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\gradio\utils.py", line 641, in wrapper response = f(*args, **kwargs) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\venv\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 264, in process1 cfg = create_cfg(global_video_path, *args) File "C:\rerender_v2\all_files_V2\Rerender_A_Video\webUI.py", line 168, in create_cfg input_name = os.path.split(input_path)[-1].split('.')[0] File "C:\Python31011\lib\ntpath.py", line 211, in split p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType

Haifeng Liao

I would like to know the minimum computer configuration

SECourses

hello. your video file name was inaccurate. make it like input_video.extension and it will work

SECourses

hello. your video file name was inaccurate. make it like input_video.extension and it will work

glcheer

i install low_vram,but when i run,it always get this error: A matching Triton is not available, some optimizations will not be enabled. Error caught was: No module named 'triton' logging improved. Traceback (most recent call last): File "D:\Rerender_Videos\Rerender_A_Video\webUI.py", line 24, in from flow.flow_utils import get_warped_and_mask File "D:\Rerender_Videos\Rerender_A_Video\flow\flow_utils.py", line 258, in flow_calc = FlowCalc() File "D:\Rerender_Videos\Rerender_A_Video\flow\flow_utils.py", line 156, in __init__ checkpoint = torch.load(model_path, File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 771, in load with _open_file_like(f, 'rb') as opened_file: File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 270, in _open_file_like return _open_file(name_or_buffer, mode) File "D:\Rerender_Videos\Rerender_A_Video\venv\lib\site-packages\torch\serialization.py", line 251, in __init__ super(_open_file, self).__init__(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './models/gmflow_sintel-0c07dcb3.pth'

SECourses

i am gonna reinstall and test right now

SECourses

ok i just did a fresh install and 0 errors. working. so that means you had error while installing. first tell me your python version? second reinstall and email me your entire install logs : monstermmorpg@gmail.com

glcheer

Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] on win32 It seems that something went wrong during my second installation. I'll reinstall it.

SECourses

Your python is good. Can you reinstall and send me entire cmd log? Are you seeing ebsynth exe in folder and being moved auto?

glcheer

I have reinstalled and sent you the entire cmd log, when I run low _vram, I can see the ebsynth exe being moved automatically in the folder.

SECourses

replied back lets continue there

glcheer

Already solved, thank you

Ibrahim Pehlivan

activate venv and execute this pip install opencv-python hatası alıyorum hocam bende yardımcı olabilir misiniz