website view en/doc/handbook/multimedia.html @ rev 332

en: Update sys-tools (Hdbk)
author Paul Issott <paul@slitaz.org>
date Wed Mar 25 17:40:15 2009 +0000 (2009-03-25)
parents 5e44cfe79756
children e8ceba26f899
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz Handbook (en) - Multimedia</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz English handbook" />
8 <meta name="expires" content="never" />
9 <meta name="modified" content="2008-07-17 16:00:00" />
10 <meta name="publisher" content="www.slitaz.org" />
11 <meta name="author" content="Christophe Lincoln"/>
12 <link rel="shortcut icon" href="favicon.ico" />
13 <link rel="stylesheet" type="text/css" href="book.css" />
14 </head>
15 <body bgcolor="#ffffff">
17 <!-- Header and quick navigation -->
18 <div id="header">
19 <div align="right" id="quicknav">
20 <a name="top"></a>
21 <a href="system-tools.html">System Tools</a> |
22 <a href="index.html">Table of contents</a>
23 </div>
24 <h1><font color="#3E1220">SliTaz Handbook (en)</font></h1>
25 </div>
27 <!-- Content. -->
28 <div id="content">
29 <div class="content-right"></div>
31 <h2><font color="#DF8F06">Multimedia</font></h2>
33 <ul>
34 <li><a href="#intro">SliTaz sound and video.</a></li>
35 <li><a href="#config">Configure the sound card.</a></li>
36 <li><a href="#alsamixer">Alsamixer</a> - Mixer.</li>
37 <li><a href="#alsaplayer">Alsaplayer</a> - Audio Player.</li>
38 <li><a href="#asunder">Asunder</a> - Audio CD Ripper.</li>
39 <li><a href="#mpd">MPD</a> - Music Player Daemon.</li>
40 <li><a href="#mpg123">mpg123</a> - Command line audio player.</li>
41 <li><a href="#mplayer">Mplayer</a> - Movie Player.</li>
42 <li><a href="#xine">Xine</a> - Multimedia Player.</li>
44 </ul>
46 <a name="intro"></a>
47 <h3>SliTaz sound and video</h3>
48 <p>
49 SliTaz LiveCD mode provides sound support, but no video player, however you can watch YouTube by installing
50 the <code>get-flash-plugin</code> package. To watch videos you can use Xine, it supports most formats such
51 as avi, mov, mpeg, etc. Note Xine can also act as an audio player. At the sound level, you have a mixer
52 (alsamixer) and audio player (alsaplayer), both installed by default on the standard LiveCD. SliTaz also
53 provides tools to configure your sound card.
54 </p>
56 <a name="config"></a>
57 <h3>Configure the sound card</h3>
58 <p>
59 In LiveCD mode SliTaz automatically configures the sound card by launching a dialog. In most cases the sound
60 card is instantly recognized and you just press ENTER to continue to login and have your sound working.
61 However, sometimes your card is not recognized at startup or simply not supported. Before throwing in the
62 towel, you can try to manually configure your card by asking for help on the discussion list or on the
63 hardware support forum.
64 </p>
65 <h4>Soundconf</h4>
66 <p>
67 To configure or reconfigure a sound card, SliTaz provides a script (<code>soundconf</code>), this utility
68 is used at startup and doesn't pose any questions, supports the right modules and automatically configures
69 <code>/etc/rsS.conf</code> so that the right driver is loaded on each start. Soundconf will also
70 automatically adjust volume levels, you can change the settings later through the mixer and
71 <code>alsactl</code>. To start the sound configuration interface, you must have administrator priviledges
72 and type:
73 </p>
74 <pre>
75 # soundconf
76 </pre>
77 <h4>Alsactl</h4>
78 <p>
79 Alsactl controls <code>alsa</code> and can store settings or restore sound for example, to retain
80 preferences for each start. When configuring sound with soundconf, volumes are automatically adjusted. You
81 can use <code>alsamixer</code> as <em>root</em> to change the values and then launch <code>alsactl</code>
82 to store the configuration:
83 </p>
84 <pre>
85 # alsactl store
86 </pre>
87 <p>
88 To restore the configuration, you can use the <code>alsactl restore</code> command or to restore your
89 preferences at each system startup you can edit /etc/init.d/local.sh with your favorite text editor or simply
90 'echo' the changes:
91 </p>
92 <pre>
93 # echo 'alsactl restore' > /etc/init.d/local.sh
94 </pre>
96 <a name="alsamixer"></a>
97 <h3>Alsamixer</h3>
98 <p>
99 Alsamixer is the official mixer of the Alsa project. It is simple and effective and can be run from the
100 menu or directly from a terminal. The volumes can be regulated with the up/down arrows or muted using
101 the <code>m</code> key. To start from a Linux terminal:
102 </p>
103 <pre>
104 $ alsamixer
105 </pre>
107 <a name="alsaplayer"></a>
108 <h3>Alsaplayer</h3>
109 <p>
110 The audio player Alsaplayer is designed to be simple, clean and intuitive. Alsaplayer on SliTaz provides
111 support for ogg, mp3 (via libmad) and wav files, playlists and viewers to accompany sound and the ability
112 to adjust pitch and volume. Once launched from the menu just click the play button or load a playlist to
113 start.
114 </p>
116 <a name="asunder"></a>
117 <h3>Asunder - Audio CD Ripper</h3>
118 <p>
119 Asunder retrieves and encodes audio tracks from a CD. The toolkit is simple and easy to use, encoding
120 songs into wav, ogg or mp3 (via <code>lame</code> package). It can search CDDB, create playlists and
121 edit file names. You will find Asunder in the Multimedia category on the menu.
122 </p>
124 <a name="mpd"></a>
125 <h3>MPD - Music Player Daemon</h3>
126 <p>
127 MPD is a great little music player that uses the server/client architecture, this means it can be even
128 run remotely without a X server operating. To install MPD on SliTaz: <code>tazpkg get-install mpd</code>.
129 MPD on SliTaz drops root priviledges, so to start the server, just run:
130 </p>
131 <pre> $ mpd
132 </pre>
133 <p>
134 And to stop it:
135 </p>
136 <pre> $ mpd --kill
137 </pre>
138 <p>
139 Simply drag your music files into the ~/music folder (or create a link) and then run <code>mpd --create-db</code> as <code>root</code> to update the database
140 and you're ready to use one of the many clients. The <code>mpd --version</code> command lets you have a full list of available formats and outputs.
141 </p>
143 <h4>MPC - Music Player Client</h4>
144 <p>
145 MPC is a popular client for MPD, to load all the files into MPC from the MPD database
146 and start to play them, simply install: <code>tazpkg get-install mpc</code> and run:
147 </p>
148 <pre> $ mpc add /
149 $ mpc play
150 </pre>
151 <p>
152 The command <code>mpc --help</code> gives you a full list of all the available options that allow you to edit the playlist, enable crossfade,
153 adjust the volume and shuffle tracks, etc.
154 </p>
156 <a name="mpg123"></a>
157 <h3><font color="#6c0023">mpg123</font></h3>
158 <p>
159 Mpg123 is a command line audio player and file converter. This means that you can listen to music or
160 convert files from a terminal. To display help, use the <code>--help</code> option.
161 To play a mp3 file, just launch <code>mpg123</code> followed by the name of the audio file:
162 </p>
163 <pre>
164 $ mpg123 sound.mp3
165 </pre>
166 <p>
167 Mpg123 can also encode a file into another format, for example you can convert
168 a wav file into a mp3 file. Example:
169 </p>
170 <pre>
171 $ mpg123 -w sound.mp3 sound.wav
172 </pre>
174 <a name="mplayer"></a>
175 <h3>Mplayer</h3>
176 <p>
177 Mplayer is a popular movie player for Linux suppporting many formats including, DVD, VCD, mpeg, wmv, realvideo, etc.
178 It can also play various audio codecs such as aac, wma, realaudio, as well as ogg, flac, etc. Mplayer is configurable
179 via a right click menu and customizable using various skins and GUIs that easily enable you to configure your own video
180 drivers, output devices and so on.
181 </p>
183 <a name="xine"></a>
184 <h3>Xine</h3>
185 <p>
186 Xine is a multimedia project providing various video viewers and audio players. SliTaz provides libraries
187 and a media player contained in the package <code>xine-ui</code>. Xine uses a Xlib interface, a control
188 panel, a right click configuration menu and various plugins. It can play ogg, mp3 and flac audio codecs,
189 and mov, avi or mpg video formats. To install xine and its dependancies:
190 </p>
191 <pre>
192 # tazpkg get-install xine-ui
193 </pre>
194 <p>Official Xine <a href="http://xinehq.de/index.php/home">website</a>
195 </p>
197 <!-- End of content -->
198 </div>
200 <!-- Footer. -->
201 <div id="footer">
202 <div class="footer-right"></div>
203 <a href="#top">Top of the page</a> |
204 <a href="index.html">Table of contents</a>
205 </div>
207 <div id="copy">
208 Copyright &copy; 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
209 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
210 Documentation is under
211 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
212 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
213 </div>
215 </body>
216 </html>