Skip to content

Study tool that creates video in a Reddit stories TikTok style, which also captions and reads textbook pages.

Notifications You must be signed in to change notification settings

akukerang/StudySurfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StudySurfer

A study tool that takes advantage of low attention span, by playing eye catching videos in the background alongside with TTS and captions. (aka Minecraft Parkour Reddit Stories Family Guy Mobile Game Tiktok type videos)
Demo Video

Requirements

  • Python >= 3.10.7
  • ImageMagick >= 7.1.0-Q16-HDRI
  • pip install -r requirements.txt

Installation

  • Run pip install -r requirements.txt to get the required packages to run.
  • Install ImageMagick for caption functionality.
    • If you are a Windows user, go into moviepy/config_default.py and enter the path for the ImageMagick's magick.exe.
      • Like this IMAGEMAGICK_BINARY = 'C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\magick.exe'
  • Download the gameplay videos
    • Extract the videos into StudySurfer/resources/gameplay/.

Instructions

  1. Enter the desired text to be spoken into resources/script.txt.
    • For best use cases, use paragraphs with simple english where the only puntutations are periods.
    • The captions can get out of time, due to certain punctuations like (). I need to fix this, but for now if there are issues just edit the paragraph and remove any of these possible punctuations.
  2. Open a command prompt, go to the StudySurfer folder, and run this command
    python studySurfer.py -m {TYPE}
    • These are the possible types of videos:
      • csgo - CS:GO Surf
      • mc - Minecraft Parkour
      • subway - Subway Surfer
  3. Let the program run, and the video should be outputted as final.mp4

Gameplay Credits:


Pomu

About

Study tool that creates video in a Reddit stories TikTok style, which also captions and reads textbook pages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages