Posted March 12, 2021
Just wondering what the best Linux program for playing a single audio file is.
Here are my requirements:
* Must be open source
* Must be in the repos of all major Linux distributions
* Must be in the Raspberry Pi OS repos
* Must not require xorg or wayland, or any graphics hardware at all, to run
* Should support all major audio formats. WAV, OGG, and FLAC are required for my purposes.
* If given a single audio file on the command line, it should play that file, and then exit. (The task of finding an audio file to play should not be handled by this program.)
So, what program would you suggest? I know mplayer fits these requirements, but are there any others? (mpv will fail if xorg isn't running unless a command-line argument is used to disable video, while vlc/clvc don't exit after playing the track.)
Edit: Why the low rating?
Here are my requirements:
* Must be open source
* Must be in the repos of all major Linux distributions
* Must be in the Raspberry Pi OS repos
* Must not require xorg or wayland, or any graphics hardware at all, to run
* Should support all major audio formats. WAV, OGG, and FLAC are required for my purposes.
* If given a single audio file on the command line, it should play that file, and then exit. (The task of finding an audio file to play should not be handled by this program.)
So, what program would you suggest? I know mplayer fits these requirements, but are there any others? (mpv will fail if xorg isn't running unless a command-line argument is used to disable video, while vlc/clvc don't exit after playing the track.)
Edit: Why the low rating?
Post edited March 12, 2021 by dtgreene