Skip to content

Denisolt/MangaGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manga Gif Generator

Project Scope:

I was interested in checking weather its possible or not to turn an anime/video
into a manga/comics like template preserving the animation.
Ultimately, the first thing that came into my mind was a gif.
This project takes video as input and creates gifs in a folder called 'gifs'


The procedure:

ffmpeg is used to decode the video, first the video is turned into frames.
then, frames are extracted, resized and added into the template and new images are generated
Now there are frames (images) of manga with 3 windows in them. In order to generate a gif out of them,
they have to be turned into a video and then video into gif using ffmpeg. Note:
All the generated files and directories are deleted after the gifs are generated.


Dependancies:

ffmpeg


Execution:

This is a Jupyter Notebook, so make sure jupyter is installed on Python3. if they aren't:

pip install jupyter
pip install pandas

then:

git clone https://github.com/Denisolt/Manga_Gen.git
cd Manga_Gen-master
jupyter notebook

Find the .ipynb file and run it.


My tests:

I have ran it with a commercial of McDonalds I found on youtube
The resulting gifs are: alt tag
alt tag
alt tag


What needs to be done:

The frames are still not optimized to comfortably read and understand the material.
As well as, there are few issues I have faced, described in the notebook itself.
Also, It would be nice to have mutliple templates and figuire out how to create bubbles with text,
instead of just using subtitles.

Credits:

Thanks to warsh for telling me about Syrians on Freenode #anime channel, who can not watch anime because of the bandwith.

About

Generating Manga Like Gifs out of a video

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages