GitHunt
MA

mattkanwisher/retro_voiceover

trying to add AI generated voice overs to classic videos from SNES / PS1 ERAs

retro_voiceover

This repo allows you to all voice overs to classic video games. See my (youtube)[] video here about the basics of the project.
Currently the project requires python 3+, runs on OSX and will shortly be ported to windows

You can run it 1 of two modes. Completely from command line, this can take a video stream, or find a window on your operating system with the game running. The second mode, uses an html page and then uploads screenshots to the webserver

installation

  1. setup a venv
python3 -m venv venv

note this hasn't been tested on non-mac systems.

  1. install deps
pip3 install -r requirements.txt
  1. Install (RetroArch)[http://retroarch.com]

  2. Download roms and games * No help will be given on this

Porting to new operating systems

find_window_id and capture_window_to_file are only functions that are using specific functions, or should anyways. you can reimplement those.
Fix and requirements.txt issues

Command line running

Run againist a live copy of Retro Arch

  1. Run game inside retroarch

python ss.py -w
  1. goto http://localhost:8000 and see the transcript

Run on a video file

python3 ss.py --video ff2-screenrecord-first4min.mov

Using a javascript UI to upload the videos

python webserv.py
  1. open http://localhost:8000/html_scrape.html

  2. Click the button at top

  3. Select the retroarch window

Languages

HTML59.2%Python33.3%Ruby6.2%JavaScript1.3%

Contributors

Created February 11, 2024
Updated March 6, 2024
mattkanwisher/retro_voiceover | GitHunt