Difference between revisions of "Multimedia Audio and Video in Linux"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m ([http://www.mplayerhq.hu/ MPlayer])
m
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
There are specialized Linux distributions centered around video editing, sound studio programs, and multimedia applications.  Although these distributions tend to come prepackaged with everything you will probably need to get started, most users are already setup with their favorite desktop distribution already installed and serving in productivity.  Here we focus on the individual programs and software that you can add to your already installed distribution.  The current section deals with both Redhat based CentOS and Debian based Ubuntu.  Desktop environments may be either Gnome or KDE centric in some cases. 
 +
 +
== Audio Players for X.Org ==
 +
=== Audacious ===
 +
Audacious is a GPL license Linux music player which looks like Winamp and XMMS.  It consumes very less computational resources and supports a variety of formats.  Its roots trace back to XMMS player, two forks back. 
 +
 +
sudo apt-get install audacious
 +
 +
=== Clementine ===
 +
Clementine is a port of Amarok 1.4 to the Qt 4 framework and the GStreamer multimedia framework.  Just like Rhythmbox, Clementine has the annoying habit of [[Mint_Linux_Distribution_Reference#Disable_Annoying_Sound_Menu_Integration|Sound Menu Integration]] on some distros like Ubuntu and Mint. 
 +
 +
Clementine is often recommended to users looking for software to create smart and dynamic playlists.  It handles tabbed playlists, import and export as M3U, XSPF, PLS, ASX and Cue sheets. 
 +
 +
Besides the annoying sound menu integration, Clementine uses up to twice the CPU than VLC and takes up about 180 MB of memory, plus additional memory for spawned processes (tag-readers), while VLC uses 80 MB with no other processes.  It comes with many Internet radio channels and plugins that are not removable, however they can be disabled. 
 +
 +
=== qmmp ===
 +
 +
qmmp is a Linux music player which looks like Winamp and XMMS.  It supports mpeg1 layer 1/2/3, ogg vorbis, native flac support, musepack and wavpack, modplug, wmpa, pcm wave, acc. audio cds, CUE sheet, WavPack embedded CUE and FLAC embedded CUE support. It can use ALSA, PulseAudio, Jack or OSS sound.
 +
 +
note:  It is not necessary to add the repository in Mint 18.  The package is available in Synaptic as 'qmmp'. 
 +
 +
sudo add-apt-repository ppa:forkotov02/ppa
 +
sudo apt-get update
 +
sudo apt-get install qmmp qmmp-plugin-pack
 +
 +
Update 2017: Current versions of Ubuntu such as 16 use Qt5- Qmmp 1.1.3 is Qt5 based and it’s available for Ubuntu 16.04 and Ubuntu 16.10 in PPA
 +
 +
Add the Ubuntu PPA at the command line as SUDO then perform the installation.
 +
sudo add-apt-repository ppa:forkotov02/ppa
 +
sudo apt update
 +
sudo apt install qmmp qmmp-plugin-pack
 +
 +
The default theme is very dark.  It is a theme that can be disabled.  You can a) disable the dark impossible to use theme or b) disable themes.  To disable themes:
 +
# click he edit menu
 +
# choose settings
 +
# choose plugins
 +
# in the list on the right scroll down and find USER INTERFACE at the bottom
 +
# change it from SKINNED to SIMPLE USER INTERFACE
 +
 +
=== xmms ===
 +
*xmms development is stagnant, consider qmmp (above)
 +
This program has been around a long time and was originally created to give a Winamp experience to the Linux user.  XMMS is a multimedia player for unix systems. XMMS stands for X MultiMedia System and can play media files such as MP3, MOD's, WAV and others with the use of Input plugins. XMMS is not a port of Winamp but was written from scratch by Mikael and Peter Alm.
 +
 +
To install xmms on Ubuntu 14.04 you need to add some repositories for apt-get.  See [[Adding Repositories in Ubuntu]] for details.
 +
 +
Add the following repositories:
 +
 +
deb http://www.pvv.ntnu.no/~knuta/xmms/ubuntu karmic main
 +
deb-src http://www.pvv.ntnu.no/~knuta/xmms/ubuntu karmic main
 +
deb http://ppa.launchpad.net/ibid-ag/oldgtk1/ubuntu lucid main
 +
deb-src http://ppa.launchpad.net/ibid-ag/oldgtk1/ubuntu lucid main
 +
 +
After refreshing the repositories you can use apt-get to install xmms and necessary plugins
 +
 +
sudo apt-get install xmms xmms-cueinfo xmms-mp4plugin xmms-wavpack
 +
 +
reference: [http://ubuntuforums.org/showthread.php?t=2267576 Ubuntu Forums: INSTALL xmms on 14.04]
 +
 +
=== xmms2 ===
 +
 +
You launch xmms2 from console with the following command:
 +
  xmms2 play
 +
Play from a directory of mp3 files
 +
xmms2 radd /home/nicole/mp3
 +
xmms2 play
 +
 +
To use as a GUI a front-end needs to be installed and configured.  There are multiple available.  Some are promoe, esperanza, abraca, gxmms2
 +
 +
==Console and Command Line Audio Players==
 +
==== [[CMus]] - C* Music Player ====
 +
Ncurses music player.
 +
:· FLAC
 +
:· Ogg/Vorbis
 +
:· MP3 (libmad)
 +
:· Wav
 +
:· Modules (libmodplug)
 +
 +
==== [[MOC]] — Console Audio Player for Linux ====
 +
Recommended! Ncurses audio player. [[MOC]] (short for Music on Console) is a dual-pane music player.  It has an interface that is like Midnight Commander.  The left pane lists the tracks in a folder, while the right pane contains the contents of a playlist file (if there is one in the folder).
 +
 +
MOC's keyboard shortcuts are quite intuitive.  ou press n to play the next track in your list or p to play the previous one, and press S to set MOC to shuffle tracks.
 +
 +
==Audio Record / Edit==
 +
===Audacity===
 +
 +
See: [[Audacity on Ubuntu Linux]]
 +
 +
===OcenAudio===
 +
 +
See: [[OcenAudio on Mint Linux]]
 +
 +
== Audio CD Rip and Encode ==
 +
=== [[Asunder]] ===
 +
This is tested on Linux Mint 18.3 and installed very easily with the Mint Software Manger from within Cinnamon.  In order to create MP3 rather than the less common ogg format it was also necessary to install "Lame MP3 encoding library (frontend)."
 +
#open Software Manager
 +
#in the search box enter "[[Asunder]]" and once located and selected choose to install.
 +
#in the search box now enter "Lame" and you will observe six different items appear, choose ""Lame MP3 encoding library (frontend)" and install.
 +
#open and use Asunder.
 +
Rips entire audio CD into MP3 files, uses online database to name and label, adjustable quality, output format options, and more.  Works great!
 +
 +
== Video Players ==
 +
 +
=== vlc ===
 +
 +
=== mplayer ===
 +
You can use mplayer to play audio and video.  It can be used to play audio files from console.
 +
 +
== Audio and Video Editing ==
 +
 +
=== lmms ===
 +
 +
LMMS (Linux MultiMedia Studio) is an open source and cross-platform project designed to act as a free alternative to those popular, yet commercial and closed-source music creation applications found on Microsoft Windows and Mac OS X operating systems, such as FruityLoops, Logic, and Cubase.  The application has been designed from the ground up to allow users to effortlessly produce professional music under Linux.
 +
 +
===Audacity===
 +
 +
Updated Feb 2017, the premier audio recording and editing software is called Audacity.  Learn how to install and use [[Audacity on Ubuntu Linux]].  Audacity is actually available for Windows, Mac OS X, GNU/Linux and other operating systems.
 +
 +
== LEGACY SECTION ==
 +
 +
XFree86 era documentation.
 +
 +
{{:Template:Aging Entry}}
 +
 
Most modern desktop Linux distributions offer all of the complete audio and video multimedia features available on the Macintosh and Windows PC.  Everything from DVD, Mpeg, Streaming, Mp3, DivX, and so on can be played, edited, and copied just the same as on the other two popular OS platforms.   
 
Most modern desktop Linux distributions offer all of the complete audio and video multimedia features available on the Macintosh and Windows PC.  Everything from DVD, Mpeg, Streaming, Mp3, DivX, and so on can be played, edited, and copied just the same as on the other two popular OS platforms.   
  
 
One great advantage to media on Linux is - no built-in DRM!
 
One great advantage to media on Linux is - no built-in DRM!
  
== XFree86, KDE, Gnome ==
+
=== XFree86, KDE, Gnome ===
  
=== Amarok ===
+
==== Amarok ====
 
:· KDE  
 
:· KDE  
  
=== Kaboodle ===
+
==== Kaboodle ====
 
kdemultimedia-kaboodle (deprecated)
 
kdemultimedia-kaboodle (deprecated)
 
:· KDE  
 
:· KDE  
  
=== [http://kmplayer.kde.org/ KMPlayer] ===
+
==== [http://kmplayer.kde.org/ KMPlayer] ====
 
Media player for KDE. The KMPlayer KPart plugin for Konqueror mimics QuickTime, MS Media Player and RealPlayer plugin browser plugins.
 
Media player for KDE. The KMPlayer KPart plugin for Konqueror mimics QuickTime, MS Media Player and RealPlayer plugin browser plugins.
 
:· KDE  
 
:· KDE  
  
=== [http://kplayer.sourceforge.net/ KPlayer] ===
+
==== [http://kplayer.sourceforge.net/ KPlayer] ====
 
:· KDE multimedia player.  
 
:· KDE multimedia player.  
 
:· video, audio and subtitle playback from file, URL, DVD, VCD, audio CD, TV, DVB, and KDE I/O Slaves;
 
:· video, audio and subtitle playback from file, URL, DVD, VCD, audio CD, TV, DVB, and KDE I/O Slaves;
Line 28: Line 151:
  
  
=== [http://www.mplayerhq.hu/ MPlayer] ===
+
==== [[MPlayer]] ====
Movie and video player.  You can start MPlayer as a command line program with mplayer. Invoke the GUI with as gmplayer.  
+
Movie and video player.  You can start [[MPlayer]] as a command line program with mplayer. Invoke the GUI with as gmplayer.  
 
:· MPEG 1/2/4, DivX 3/4/5
 
:· MPEG 1/2/4, DivX 3/4/5
 
:· Windows Media 7/8/9
 
:· Windows Media 7/8/9
Line 38: Line 161:
 
:· Console / Command Shell
 
:· Console / Command Shell
  
=== [http://rhythmbox.sourceforge.net/ Rhythmbox] ===
+
==== [http://rhythmbox.sourceforge.net/ Rhythmbox] ====
 
iTunes like music management application designed for Gnome.
 
iTunes like music management application designed for Gnome.
 
:· Internet Radio support
 
:· Internet Radio support
 
:· Gnome
 
:· Gnome
  
=== [http://www.gnome.org/projects/totem/ Totem] ===
+
==== [http://www.gnome.org/projects/totem/ Totem] ====
 
Video media player designed for Gnome.
 
Video media player designed for Gnome.
 
:· DVD, VCD, Video
 
:· DVD, VCD, Video
Line 49: Line 172:
 
:· Gnome
 
:· Gnome
  
=== [http://www.xmms.org/ XMMS] ===
+
==== [http://www.xmms.org/ XMMS] ====
 
XMMS stands for X MultiMedia System and can play media files such as MP3, MOD's, WAV and others with the use of Input plugins.  It was modeled after winamp from the Windows operating system.
 
XMMS stands for X MultiMedia System and can play media files such as MP3, MOD's, WAV and others with the use of Input plugins.  It was modeled after winamp from the Windows operating system.
 
:· MP3
 
:· MP3
Line 56: Line 179:
 
:· KDE & Gnome
 
:· KDE & Gnome
  
== Console ==
+
=== Console ===
 
Text mode audio and video players for the command shell.
 
Text mode audio and video players for the command shell.
  
=== CMus - C* Music Player ===
+
CMus and Moc moved into new section!
Ncurses music player.
+
:· FLAC
+
:· Ogg/Vorbis
+
:· MP3 (libmad)
+
:· Wav
+
:· Modules (libmodplug)
+
 
+
=== MOC — Console Audio Player for Linux ===
+
Ncurses audio player.
+
  
=== [http://mp3blaster.sourceforge.net/ Mp3blaster] ===
+
==== [http://mp3blaster.sourceforge.net/ Mp3blaster] ====
 
Ncurses all text audio player.
 
Ncurses all text audio player.
 
:· MP3
 
:· MP3
  
=== Orpheus ===
+
Mp3blaster is an audio player for the text console. It's been around since 1997 and runs on Mac and Linux. 
 +
 
 +
Mp3blaster is not in active development. Maintainers at Debian have provided patches over the years to keep mp3blaster alive. (Other than patches it has not changed in years but should still compile and work with a modern distribution)
 +
 
 +
==== Orpheus ====
 
Ncurses music player.
 
Ncurses music player.
 
:· CDs
 
:· CDs
Line 81: Line 199:
 
:· Stream broadcasts
 
:· Stream broadcasts
  
 
+
==== mpg123 and ogg123 ====
 +
 
 +
command line only
 +
 
  
 
 
  
 
[[Category:Computer_Technology]]
 
[[Category:Computer_Technology]]
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
[[Category:Digital Video]]
 +
[[Category:Linux_Sound]]

Latest revision as of 16:21, 25 March 2021

There are specialized Linux distributions centered around video editing, sound studio programs, and multimedia applications. Although these distributions tend to come prepackaged with everything you will probably need to get started, most users are already setup with their favorite desktop distribution already installed and serving in productivity. Here we focus on the individual programs and software that you can add to your already installed distribution. The current section deals with both Redhat based CentOS and Debian based Ubuntu. Desktop environments may be either Gnome or KDE centric in some cases.

Audio Players for X.Org

Audacious

Audacious is a GPL license Linux music player which looks like Winamp and XMMS. It consumes very less computational resources and supports a variety of formats. Its roots trace back to XMMS player, two forks back.

sudo apt-get install audacious

Clementine

Clementine is a port of Amarok 1.4 to the Qt 4 framework and the GStreamer multimedia framework. Just like Rhythmbox, Clementine has the annoying habit of Sound Menu Integration on some distros like Ubuntu and Mint.

Clementine is often recommended to users looking for software to create smart and dynamic playlists. It handles tabbed playlists, import and export as M3U, XSPF, PLS, ASX and Cue sheets.

Besides the annoying sound menu integration, Clementine uses up to twice the CPU than VLC and takes up about 180 MB of memory, plus additional memory for spawned processes (tag-readers), while VLC uses 80 MB with no other processes. It comes with many Internet radio channels and plugins that are not removable, however they can be disabled.

qmmp

qmmp is a Linux music player which looks like Winamp and XMMS. It supports mpeg1 layer 1/2/3, ogg vorbis, native flac support, musepack and wavpack, modplug, wmpa, pcm wave, acc. audio cds, CUE sheet, WavPack embedded CUE and FLAC embedded CUE support. It can use ALSA, PulseAudio, Jack or OSS sound.

note: It is not necessary to add the repository in Mint 18. The package is available in Synaptic as 'qmmp'.

sudo add-apt-repository ppa:forkotov02/ppa
sudo apt-get update
sudo apt-get install qmmp qmmp-plugin-pack

Update 2017: Current versions of Ubuntu such as 16 use Qt5- Qmmp 1.1.3 is Qt5 based and it’s available for Ubuntu 16.04 and Ubuntu 16.10 in PPA

Add the Ubuntu PPA at the command line as SUDO then perform the installation.

sudo add-apt-repository ppa:forkotov02/ppa
sudo apt update 
sudo apt install qmmp qmmp-plugin-pack

The default theme is very dark. It is a theme that can be disabled. You can a) disable the dark impossible to use theme or b) disable themes. To disable themes:

  1. click he edit menu
  2. choose settings
  3. choose plugins
  4. in the list on the right scroll down and find USER INTERFACE at the bottom
  5. change it from SKINNED to SIMPLE USER INTERFACE

xmms

  • xmms development is stagnant, consider qmmp (above)

This program has been around a long time and was originally created to give a Winamp experience to the Linux user. XMMS is a multimedia player for unix systems. XMMS stands for X MultiMedia System and can play media files such as MP3, MOD's, WAV and others with the use of Input plugins. XMMS is not a port of Winamp but was written from scratch by Mikael and Peter Alm.

To install xmms on Ubuntu 14.04 you need to add some repositories for apt-get. See Adding Repositories in Ubuntu for details.

Add the following repositories:

deb http://www.pvv.ntnu.no/~knuta/xmms/ubuntu karmic main
deb-src http://www.pvv.ntnu.no/~knuta/xmms/ubuntu karmic main
deb http://ppa.launchpad.net/ibid-ag/oldgtk1/ubuntu lucid main
deb-src http://ppa.launchpad.net/ibid-ag/oldgtk1/ubuntu lucid main 

After refreshing the repositories you can use apt-get to install xmms and necessary plugins

sudo apt-get install xmms xmms-cueinfo xmms-mp4plugin xmms-wavpack

reference: Ubuntu Forums: INSTALL xmms on 14.04

xmms2

You launch xmms2 from console with the following command:

 xmms2 play

Play from a directory of mp3 files

xmms2 radd /home/nicole/mp3
xmms2 play

To use as a GUI a front-end needs to be installed and configured. There are multiple available. Some are promoe, esperanza, abraca, gxmms2

Console and Command Line Audio Players

CMus - C* Music Player

Ncurses music player.

· FLAC
· Ogg/Vorbis
· MP3 (libmad)
· Wav
· Modules (libmodplug)

MOC — Console Audio Player for Linux

Recommended! Ncurses audio player. MOC (short for Music on Console) is a dual-pane music player. It has an interface that is like Midnight Commander. The left pane lists the tracks in a folder, while the right pane contains the contents of a playlist file (if there is one in the folder).

MOC's keyboard shortcuts are quite intuitive. ou press n to play the next track in your list or p to play the previous one, and press S to set MOC to shuffle tracks.

Audio Record / Edit

Audacity

See: Audacity on Ubuntu Linux

OcenAudio

See: OcenAudio on Mint Linux

Audio CD Rip and Encode

Asunder

This is tested on Linux Mint 18.3 and installed very easily with the Mint Software Manger from within Cinnamon. In order to create MP3 rather than the less common ogg format it was also necessary to install "Lame MP3 encoding library (frontend)."

  1. open Software Manager
  2. in the search box enter "Asunder" and once located and selected choose to install.
  3. in the search box now enter "Lame" and you will observe six different items appear, choose ""Lame MP3 encoding library (frontend)" and install.
  4. open and use Asunder.

Rips entire audio CD into MP3 files, uses online database to name and label, adjustable quality, output format options, and more. Works great!

Video Players

vlc

mplayer

You can use mplayer to play audio and video. It can be used to play audio files from console.

Audio and Video Editing

lmms

LMMS (Linux MultiMedia Studio) is an open source and cross-platform project designed to act as a free alternative to those popular, yet commercial and closed-source music creation applications found on Microsoft Windows and Mac OS X operating systems, such as FruityLoops, Logic, and Cubase. The application has been designed from the ground up to allow users to effortlessly produce professional music under Linux.

Audacity

Updated Feb 2017, the premier audio recording and editing software is called Audacity. Learn how to install and use Audacity on Ubuntu Linux. Audacity is actually available for Windows, Mac OS X, GNU/Linux and other operating systems.

LEGACY SECTION

XFree86 era documentation.

 

Deprecateduck176.gif
Note: Some information on this page may be out of date, or no longer applicable to current use. You can help. Please contribute by registering your email address and updating this page with current information. The D.U.C.K. wiki was created to be a free informative place that allows an open exchange of accurate information.
Learn more...

Most modern desktop Linux distributions offer all of the complete audio and video multimedia features available on the Macintosh and Windows PC. Everything from DVD, Mpeg, Streaming, Mp3, DivX, and so on can be played, edited, and copied just the same as on the other two popular OS platforms.

One great advantage to media on Linux is - no built-in DRM!

XFree86, KDE, Gnome

Amarok

· KDE

Kaboodle

kdemultimedia-kaboodle (deprecated)

· KDE

KMPlayer

Media player for KDE. The KMPlayer KPart plugin for Konqueror mimics QuickTime, MS Media Player and RealPlayer plugin browser plugins.

· KDE

KPlayer

· KDE multimedia player.
· video, audio and subtitle playback from file, URL, DVD, VCD, audio CD, TV, DVB, and KDE I/O Slaves;
· volume, contrast, brightness, hue and saturation controls;
· zooming, full screen and fixed aspect options;
· status and progress display and seeking;
· multimedia library to organize your media files and streams;
· configuration dialog;
· file properties for setting file specific options.
· KDE


MPlayer

Movie and video player. You can start MPlayer as a command line program with mplayer. Invoke the GUI with as gmplayer.

· MPEG 1/2/4, DivX 3/4/5
· Windows Media 7/8/9
· RealAudio/Video up to 9
· Quicktime 5/6
· VCD/DVD playback
· KDE & Gnome
· Console / Command Shell

Rhythmbox

iTunes like music management application designed for Gnome.

· Internet Radio support
· Gnome

Totem

Video media player designed for Gnome.

· DVD, VCD, Video
· Shoutcast, m3u, asx, SMIL and ra playlists
· Gnome

XMMS

XMMS stands for X MultiMedia System and can play media files such as MP3, MOD's, WAV and others with the use of Input plugins. It was modeled after winamp from the Windows operating system.

· MP3
· Wav
· Modules
· KDE & Gnome

Console

Text mode audio and video players for the command shell.

CMus and Moc moved into new section!

Mp3blaster

Ncurses all text audio player.

· MP3

Mp3blaster is an audio player for the text console. It's been around since 1997 and runs on Mac and Linux.

Mp3blaster is not in active development. Maintainers at Debian have provided patches over the years to keep mp3blaster alive. (Other than patches it has not changed in years but should still compile and work with a modern distribution)

Orpheus

Ncurses music player.

· CDs
· MP3
· Vorbis OGG
· Stream broadcasts

mpg123 and ogg123

command line only