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