omeryusufyagci / fast-music-remover

A C++ based, lightweight music and noise remover for YouTube and other internet media, using DeepFilterNet for audio enhancement.
MIT License
200 stars 21 forks source link

Refactor MediaProcessor and Add Parallel Processing Support #2

Closed omeryusufyagci closed 2 months ago

omeryusufyagci commented 2 months ago

Should've been separate PRs, but got carried away with the refactor.

This PR covers two main updates:

  1. Media Processor Parallel Processing Support:
    • Added functionality to support parallel processing of input media, which improved the performance around 300%
  2. MediaProcessor Refactor:
    • Refactored audio and video processing into dedicated classes
    • Cleaned up the main function for clarity
    • Naming changes for consistency, some improvements in local error handling,
    • Still missing some utility functions, particularly around FFmpeg.