Skip to content

ctrlcctrlv/playsong.bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playsong.bash v2.0.2 ⏫20230716

Play a song with visualization using only Bash, and ffmpeg


♪ Sing a song of gladness and cheer ♪
♪ For the time of Christmas is here ♪
♪ Look around about you and see ♪
♪ What a world of wonder this world can be ♪

Installation

git clone https://github.com/ctrlcctrlv/playsong.bash
cd playsong.bash
sudo cp -v playsong.sh /usr/local/bin/playsong
sudo install -Dm0777 -v share/logo.webp /usr/share/playsong/logo.webp

Usage

playsong [infile] [subsfile] [outfile]

E.g.:

./playsong.sh ~/Music/KORN/\[2007\]\ \[untitled\]/04.\ Evolution.flac /tmp/evolution.lrc

Requires

  • Bash
  • ffmpeg (a very bloated one preferred)

Optional deps

  • mpv
  • NVIDIA® card or Intel® Xe™ graphics (for realtime playback @ 60fps)

License

   Copyright 2022–2023 Fredrick R. Brennan

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

By contributing you release your contribution under the terms of the license.

About

Play a song with visualization using only Bash, and ffmpeg

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors