Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-27-2011, 02:36 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Smile song in command mode

Plz i just wanna know how to plays song n videos from command mode in linux
i m using ubuntu 10.10
Old 03-27-2011, 02:55 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
What format are we talking about? I assume MP3?

There are a number of command line audio players available, with different levels of complexity and features. A simple example is mpg123.

For video in the terminal, the only thing that comes to mind is MPlayer on the frame buffer. MPlayer can also play audio files, though it isn't particularly well suited for it.
Old 03-28-2011, 08:20 AM   #3
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
you can try cmus too
 sudo apt-get install cmus
then you can launch it in terminal by running the command "cmus"
Old 03-28-2011, 08:26 AM   #4
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
For CLI music I use:

mpd + ncmpcpp

In the past I used mp3blaster.

To play videos from the command line you could use mplayer, eg.

mplayer title_of_the_video.avi

Mind you, you have to be running the X system to play videos.
Old 03-28-2011, 11:04 AM   #5
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Rep: Reputation: 17

Try can manage your songs and playlists with cool bash scpipting.
Old 03-28-2011, 02:16 PM   #6
LQ Newbie
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0

hello everybody
thnx for your answers,but i need more information about how to play videos or mp3 song in command mode,
i already installed vlc media player,just need step by step command to use and play video n mp3 song from my desktop
i remind you that i m using ubuntu 10.10
thank you,
Old 03-28-2011, 02:21 PM   #7
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
As said before
vlc foo.avi
mplayer foo.avi
mpg321 foo.mp3
Kind regards
1 members found this post helpful.
Old 03-28-2011, 02:23 PM   #8
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295

Here are some howtos:
All found in very short time on Hope they help.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop song on the laptop -> start playing same song on the PC van_Zeller Linux - General 6 10-15-2010 08:39 AM
MPlayer slave mode question: how to know when song is done playing? Dspike Linux - Software 0 11-30-2009 11:20 PM
command to download the files in command mode. bruse Solaris / OpenSolaris 3 01-12-2006 08:10 AM
sleep mode command? uv1 Linux - Newbie 1 09-15-2004 10:38 AM
command mode to GUI ? mexujan Red Hat 4 10-29-2003 03:54 PM

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration