Giter Club home page Giter Club logo

hbud's Introduction

HBud

Simple audio / video player and karaoke app written in Python and GTK4

Download on Flathub

Latest published version Number of installs

Donate on Ko-fi

Features

  • Audio and video playback
  • Subtitle support
  • Karaoke mode (synced lyrics needed in own srt format, see below for instructions)
  • Static lyric automatically from online sources
  • Metadata editor (for audio files)
  • Playlists (from folder structure)
  • Seamlessly switch back and forth between video and audio playback (remembers where to continue)
  • Native, lightweight and simple
  • Minimalistic design
  • Customizable
  • Flatpak package for compatibility and security

Translation

First you have to clone this repo, then change directory into it's root (where the Makefile is).

You can then use the make command with the provided flags:

  • Add new translation: make translate-new lang=en
  • Generate .mo files: make translate-add lang=en
  • Update .po files: make translate-update lang=en
  • Update .mo files: make translate-upgrade lang=en

It's important to use UTF-8 charset when needed (instead of ASCII).

Downloading music

I recommend using one of these tools:

  • spotDL - Spotify
  • Freyr - Spotify, Apple Music, Deezer

Credits

Generate synced lyrics

Here I'll show you how to generate synced lyrics for yourslef

Requirements

  • ~20GB of RAM (you can use swap to extend your memory)
  • ~20GB of disk space
  • node v12 or above (for ubuntu/debian based distros you can use this repo)

Installation

  1. Install AutoLyrixAlignService
    • It'll guide you through downloading the neural network and the dependencies
  2. Run the server as described above, connect to it and set things up
  3. Select RAW output format, save to aligned.txt when ready (DO NOT copy into a file, use Ctrl+S to save it)
  4. Save the plain lyrics to lyrics.txt
  5. Run tosrt.py from this repo like this: python3 tosrt.py aligned.txt lyrics.txt output.srt
  6. Move and rename the resulted output file alongside your audio file

Other methods

You can try to generate a word by word .lrc file (here for example), and you can try my experimental enhanced-lrc converter like this: python3 lrc2srt.py lyric.lrc output.srt

Generate subtitles

You can use AutoSub which is a nice tool if you want to generate your own subtitles.

A manual alternative is the GTK program Gnome Subtitles

Note: You can also use this program, to adjust already generated synced lyrics to different audio files of the same song.

hbud's People

Contributors

swanux avatar tugsatenes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.