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 ♪
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.webpplaysong [infile] [subsfile] [outfile]E.g.:
./playsong.sh ~/Music/KORN/\[2007\]\ \[untitled\]/04.\ Evolution.flac /tmp/evolution.lrc- Bash
- ffmpeg (a very bloated one preferred)
- mpv
- NVIDIA® card or Intel® Xe™ graphics (for realtime playback @ 60fps)
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.
