r/PythonProjects2 • • 10m ago

I built a Python tool to automate Vietnamese documentary videos (9:16 & 16:9)

1 Upvotes

2 comments sorted by

1

u/Plastic88823 10m ago

GitHub (MIT): https://github.com/dungna13/wav2video

It turns a topic, JSON script, or .epub/.pdf book into 9:16 mobile & 16:9 laptop videos in one command (Outline → Expand scripting, offline F5-TTS voice clone, smart subject-aware 9:16 crop, and auto <= 20 MB compression). Would love your feedback!

1

u/Plastic88823 9m ago

Curious how other creators/devs handle cropping 16:9 documentary footage into 9:16 automatically without losing the main subject?

I ended up combining edge density + temporal motion + local CLIP scoring to pick the horizontal crop window instead of center-cropping, and it cut out a ton of empty-sky shots. Would love to hear what tricks or tools you use!