An open API service indexing awesome lists of open source software.

https://github.com/ctrlcctrlv/playsong.bash

Play a song with visualization using only Bash, and ffmpeg
https://github.com/ctrlcctrlv/playsong.bash

Last synced: 24 days ago
JSON representation

Play a song with visualization using only Bash, and ffmpeg

Awesome Lists containing this project

README

          

# 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

```bash
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
```bash
playsong [infile] [subsfile] [outfile]
```

E.g.:
```bash
./playsong.sh ~/Music/KORN/\[2007\]\ \[untitled\]/04.\ Evolution.flac /tmp/evolution.lrc
```

## Requires
* Bash
* ffmpeg (a very [bloated](https://github.com/ctrlcctrlv/bloated-ffmpeg-compile-command) 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.**