Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how can I play mp3 files from terminal ??

  1. #1
    Join Date
    Dec 2009
    Location
    morocco
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    how can I play mp3 files from terminal ??

    is there any command line or a tip to play mp3 file from terminal.
    ?????
    please

  2. #2
    Join Date
    Oct 2010
    Location
    Prague
    Beans
    263
    Distro
    Ubuntu UNR

    Re: how can I play mp3 files from terminal ??

    by installing the following terminal apps xmms2, sox or moc and I believe there are even more out there.
    Debian rulz but Ubuntu it's alright either

  3. #3
    Join Date
    Dec 2009
    Location
    morocco
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how can I play mp3 files from terminal ??

    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.

  4. #4
    Join Date
    Oct 2010
    Location
    Prague
    Beans
    263
    Distro
    Ubuntu UNR

    Re: how can I play mp3 files from terminal ??

    In your terminal just type

    Code:
    sudo apt-get install xmms2
    here's a tutorial for xmms2 http://www.dannybuntu.com/2009/02/ho...-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

    Code:
    man sox
    and it will tell you everything that's to be known about it.
    Debian rulz but Ubuntu it's alright either

  5. #5
    Join Date
    Dec 2009
    Location
    morocco
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how can I play mp3 files from terminal ??

    I'MGeorge

    .............

    thanks for helping , i really appreciate that

    i'll use just xmms. very useful

  6. #6
    Join Date
    Apr 2008
    Location
    England
    Beans
    603
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how can I play mp3 files from terminal ??

    MPlayer also has a terminal option.

    I have the following alias in my .bashrc

    Code:
    alias progmusic='mplayer -shuffle /$HOME/Music/Programming/*'

  7. #7
    Join Date
    Dec 2009
    Location
    morocco
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how can I play mp3 files from terminal ??

    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 >

  8. #8
    Join Date
    Dec 2010
    Location
    japan
    Beans
    18
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how can I play mp3 files from terminal ??

    hello try to install mpg321

    i've been using that for years.

    Code:
    sudo apt-get install mpg321
    Code:
    mpg321 mmusic.mp3
    Last edited by rx007; December 9th, 2010 at 01:01 AM.

  9. #9
    Join Date
    Dec 2009
    Location
    morocco
    Beans
    40
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how can I play mp3 files from terminal ??

    Quote Originally Posted by rx007 View Post
    hello try to install mpg321

    i've been using that for years.

    Code:
    sudo apt-get install mpg321
    Code:
    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

  10. #10
    Join Date
    Dec 2006
    Beans
    7,349

    Re: how can I play mp3 files from terminal ??

    Just to add some confusion there is also my personal favourite mpg123:

    Code:
    andrew@skamandros~/music/ftgws$ mpg123 --long-tag --control Revelation_21.mp3 
    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
    You think that's air you're breathing now?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •