Skip to content

A Python script to combine music videos on YouTube with local high fidelity audio files and lyrics from LRCLIB

License

Notifications You must be signed in to change notification settings

JimmyJichi/HiFiMuxer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiFiMuxer

This Python script combines music videos on YouTube with local high fidelity audio files. Lyrics are automatically fetched from LRCLIB and embedded as subtitles.

Dependencies

  • ffmpeg
  • mediainfo

Usage

  1. Clone the repository
git clone https://github.com/JimmyJichi/HiFiMuxer.git
  1. Install Python packages
pip install -r requirements.txt
  1. Move the audio file to the current directory. Make sure the audio codec is supported by the mp4 container (e.g. flac, m4a).

  2. Run the script

python HiFiMuxer.py

You will be prompted to enter a YouTube link to download the video. Lyrics will be fetched from LRCLIB and embedded as subtitles.

About

A Python script to combine music videos on YouTube with local high fidelity audio files and lyrics from LRCLIB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages