is there any command line or a tip to play mp3 file from terminal. ????? please
how can I play mp3 files from terminal ??
Archived thread 1640974 from Morocco Team. Markdown source: Morocco_Team/thread_1640974_how_can_I_play_mp3_files_from_terminal.md
by installing the following terminal apps xmms2, sox or moc and I believe there are even more out there.
xmms2, sox, moc
how can i use them .
when i type for example xmms on quick search on synaptic
i see a too many result that look similar
how can i know which one to install. and how to use it on terminal
i mean which command shall i type.
In your terminal just type
sudo apt-get install xmms2
here's a tutorial for xmms2 http://www.dannybuntu.com/2009/02/howto-play-mp3-on-terminal.html
If you wanna try moc too, install it in the same manner, and just launch it by simply typing moc into your terminal after that, and an interface similar to midnight commander will pop out. For moc your terminal window has to be fullscreen or enough wide.
Sox it's primarely destined for audio files conversion so you shouldn't install it if you just want something to play your audio files. But if you choose to install it in your terminal just do
man sox
and it will tell you everything that's to be known about it.
I'MGeorge
.............
thanks for helping , i really appreciate that
i'll use just xmms. very useful :)
MPlayer also has a terminal option.
I have the following alias in my .bashrc
alias progmusic='mplayer -shuffle /$HOME/Music/Programming/*'sub101 ..........
for the command line to play file
is it the same way as xmms2
mplayer play <the song's name>
or
just : mplayer < the song's name >
hello try to install mpg321
i've been using that for years. :)
sudo apt-get install mpg321
mpg321 mmusic.mp3
rx007 said: hello try to install mpg321
i've been using that for years. :)
sudo apt-get install mpg321
mpg321 mmusic.mp3
thanks for that. well , we got too many options for playing audio files from terminal
Great. :) I like using or doing most things from terminal that's why I asked this question.
now I'm happy , i can play audio files also from terminal ;)Just to add some confusion there is also my personal favourite mpg123:
andrew@skamandros~/music/ftgws$ **[COLOR="Red"]mpg123 --long-tag --control Revelation_21.mp3 [/COLOR]**
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.12.4; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: Revelation_21.mp3 ...
Title: A New Heaven
Artist: Lesley Garrett
Album: Lesley Garrett - The Singer
Year: 2005
Genre: Classical
Comment: ABC Classic FM broadcast
MPEG 1.0 layer III, 192 kbit/s, 44100 Hz joint-stereo
[6:05] Decoding of Revelation_21.mp3 finished.
Andrew
طبعا يمكن تشغيل ملفات الصوتية mp3 وحتي أي ملف صوتي أو فيديو أولا يجب تتبيت برنامح VLC تم من terminal أكتب vlc أمر متبوعا ب إسم الملف
rx007 said: hello try to install mpg321
i've been using that for years. :)
sudo apt-get install mpg321
mpg321 mmusic.mp3
That is great advice, works perfectly!