Skip to content

Create a vertical version of your Twitch clips with this free program

Notifications You must be signed in to change notification settings

gantoin/TwitchClip2Vertical

Repository files navigation

Twitch clips to vertical video (for TikTok, Youtube Shorts, etc.)

🤖 IA which creates automatically vertical content from a twitch clip (works with OpenCV face detection, ffmpeg & imagemagick)

⚠️ Important: This is a work in progress, and the code is not yet ready for production.

⚠️ Important 2: The clips need to be in this kind of format → fixed webcam with only one face and a game or other activity.


Heavily inspired by the following repertoires :

♥️ Many thanks to you @EhsanMrh & @c0rnf13ld


How to use it

First, you need to install the requirements :

pip install -r requirements.txt

Program works with python 3.8

Install Imagemagick & Ffmpeg.

Then, you need to fill the resources/clips.txt file with the twitch clips you want to convert :

https://clips.twitch.tv/.../...
https://clips.twitch.tv/.../...
...

Finally, you can run the script :

chmod a+x clip-gen.py
./clip-gen.py

Your videos will be in the folder resources/faces_videos.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Tips

💌 If you want to support me, you can do it here : https://ko-fi.com/gantoin

License

MIT

About

Create a vertical version of your Twitch clips with this free program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages