Friday, May 3, 2024
10
rated 0 times [  10] [ 0]  / answers: 1 / hits: 35805  / 2 Years ago, sun, february 20, 2022, 10:10:21

I want a command line to play a specific music file in terminal (or script) from my hard-disk. Is it possible without installing extra packages?


More From » command-line

 Answers
0

I think the default installation has no way to play audio files from command line, other than using aplay on WAV files (aplay also support other formats, but the man page is not clear in this regard).



To play, for example, MP3 files, you need restricted codecs available through ubuntu-restricted-extras, and a player like mplayer or cvlc, but there are many other: see What Media Players Are there? where text based and GUI based audio players are listed.


[#41836] Monday, February 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
izecaptur

Total Points: 113
Total Questions: 102
Total Answers: 114

Location: Northern Mariana Islands
Member since Fri, Jan 15, 2021
3 Years ago
;