LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-27-2011, 03:36 PM   #1
sosthy
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, 03:55 PM   #2
MS3FGX
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, 09:20 AM   #3
bsat
Member
 
Registered: Feb 2009
Posts: 347

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

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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, 12:04 PM   #5
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Rep: Reputation: 17
Mplayer

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

Original Poster
Rep: Reputation: 0
Cool

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, 03:21 PM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
As said before
Code:
vlc foo.avi
mplayer foo.avi
mpg321 foo.mp3
Kind regards
 
1 members found this post helpful.
Old 03-28-2011, 03:23 PM   #8
EricTRA
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
Hi,

Here are some howtos:

http://www.go2linux.org/mplayer-comm...c-video-player
http://www.go2linux.org/mpg123-linux...play-mp3-files
http://www.linux.com/archive/feed/53095
All found in very short time on Google.com. Hope they help.

Kind regards,

Eric
 
  


Reply


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 09:39 AM
MPlayer slave mode question: how to know when song is done playing? Dspike Linux - Software 0 12-01-2009 12:20 AM
command to download the files in command mode. bruse Solaris / OpenSolaris 3 01-12-2006 09:10 AM
sleep mode command? uv1 Linux - Newbie 1 09-15-2004 11:38 AM
command mode to GUI ? mexujan Red Hat 4 10-29-2003 04:54 PM


All times are GMT -5. The time now is 06:33 AM.

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