Skip to content

Latest commit

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Remaster

Remaster will help you keep emulators and frontend media at an similar loudness level.

Without remaster, frontend media sound levels will be all over the place (because media sources widely vary, can be youtube, home recorded gameplay, etc..), and emulated game loudness will also be all over the place (because 80's games did not treat sound like modern game consoles).

With Remaster you can:

  • Batch normalize all of your frontend's media to a specified loudness level (default: -24dB)
  • Generate .ini files from recorded gameplay footage that specify how much to boost game volume

Requirements

  • Python 3.8 and above

Installation

Download the latest wheel

Install the wheel:

python -m pip install remaster-0.1.0-py3-none-any.whl

Usage

Batch normalize all files under a directory recursively.

fromremasterimportbatch_remaster# source videos will not be overwritten, normalized video will be in a folder# named after the target_db valuebatch_remaster(r'C:\CoinOPS\collections\Arcades\medium_artwork\video', target_db=-24)

Create Mame .ini files from reference media (sound or movie) under a specified folder

fromremasterimportbatch_mame_inibatch_mame_ini(r'C:\__reference__', target_db=-24)

Remaster a single media file

fromremasterimportMediamedia=Media(r'C:\CoinOPS\collections\Arcades\medium_artwork\video\pacman.mp4')
media.remaster(r'C:\pacman.remastered.mp4', target_db=-24)

Get the loudness difference between a reference media and the target loudness

fromremasterimportMediamedia=Media(r'C:\__reference__\super_mario_galaxy_gameplay.wav')
# prints a sound adjustment value needed so emulator loudness matches frontendprint(media.difference(target_db=-24)) # will return some float valueprint(media.difference(target_db=-24, rounded=True)) # same but as a rounded integer (for Mame)

About

A python module to remaster video audio for a seamless frontend experience.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages