Skip to content

literally benchmarking dejpeg'ifying and rejpeg'ing 3 minute waveforms to get loaded onto an engine originally built for impossible skating to appealing to plastic guitar toys, but askchually, its because of a stupid limitation within the software used by said engine that we must be confined to, resulting in the most inefficient and hacky solutions

Notifications You must be signed in to change notification settings

donnaken15/a_rare_race_to_the_lamest_socks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp3_speedrun

Test different versions and/of programs to see which can decode and encode the fastest and generate a CSV of the results. (WIP!!)

Programs and pipe chains include:

  • SoX (2012, +opus, manual rebuild)
  • LAME
  • Helix
  • ffmpeg
  • SoX → Helix
  • ffmpeg → Helix

Methods include:

  • Generic stream redirection, (command prompt) uses a thread of total CPU usage across 2-3 processes
  • Asynchronously reading and writing stream blocks to maximize CPU
  • Simply timing dedicated external programs/scripts that perform the same actions

ffmpeg decodes audio significantly faster than SoX

stupid SoX requires a temp file to merge audio tracks together (recent versions I think)

To run:

bun run main.js

This project was created using bun init in bun v1.1.0. Bun is a fast all-in-one JavaScript runtime.

Exclusively created for Windows/Bundows.

About

literally benchmarking dejpeg'ifying and rejpeg'ing 3 minute waveforms to get loaded onto an engine originally built for impossible skating to appealing to plastic guitar toys, but askchually, its because of a stupid limitation within the software used by said engine that we must be confined to, resulting in the most inefficient and hacky solutions

Topics

Resources

Stars

Watchers

Forks