Inspiration

Long lectures and dense PDFs are hard to sit through, especially in a world optimized for short-form content. We noticed that while attention spans struggle with traditional learning formats, people can stay engaged with fast, visual, and energetic videos. Brainrot Teacher was inspired by the idea of delivering learning in a format that matches how people already consume content today.

What it does

Brainrot Teacher turns a PDF of lecture notes into a short, engaging video. It extracts key ideas, generates dialogue, synchronises subtitles, and overlays everything onto a brainrot-style background to create a fast-paced learning experience.

How I built it

We built an automated pipeline that processes PDFs, generates scripts and audio, creates readable subtitles, and stitches everything together. Development was done collaboratively using GitHub, with editor tools helping us move quickly under tight time constraints.

Challenges I ran into

Our main challenge was latency. Generating long audio segments and rendering subtitles sequentially caused noticeable delays. We resolved this by chunking dialogue into smaller segments and running audio generation and subtitle processing asynchronously, which significantly improved performance and responsiveness.

Accomplishments that I'm proud of

We are proud of building a fully end-to-end system from PDF upload to final video output. Optimising the pipeline to reduce latency while maintaining subtitle readability was a key achievement, and we delivered a working demo within a very short time.

What I learned

We learned a lot about video processing and building efficient media pipelines. We also deepened our understanding of GitHub workflows and saw firsthand how important performance and UX considerations are in short-form applications.

What's next for Brainrot Teacher

Next, we plan to further reduce latency and test the product with real users to gather feedback. In the future, we hope to support more content formats and customisation options to better adapt to different learning styles.

Built With

  • claude
  • fastapi
  • movie.py
  • openai
  • python
Share this project:

Updates