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@64
|
39 <li><a href="#xine">Xine</a> - Multimedia Player.</li>
|
paul@64
|
40 <li><a href="#mpg123">mpg123</a> - Command line audio player.</li>
|
paul@64
|
41 </ul>
|
paul@64
|
42
|
paul@64
|
43 <a name="intro"></a>
|
paul@64
|
44 <h3>SliTaz sound and video</h3>
|
paul@64
|
45 <p>
|
paul@64
|
46 SliTaz LiveCD mode provides sound support, but no video player, however you can watch YouTube by installing
|
paul@64
|
47 the <code>get-flash-plugin</code> package. To watch videos you can use Xine, it supports most formats such
|
paul@156
|
48 as avi, mov, mpeg, etc. Note Xine can also act as an audio player. At the sound level, you have a mixer
|
MikeDSmith25@117
|
49 (alsamixer) and audio player (alsaplayer), both installed by default on the standard LiveCD. SliTaz also
|
MikeDSmith25@117
|
50 provides tools to configure your sound card.
|
paul@64
|
51 </p>
|
paul@64
|
52
|
paul@64
|
53 <a name="config"></a>
|
paul@64
|
54 <h3>Configure the sound card</h3>
|
paul@64
|
55 <p>
|
MikeDSmith25@117
|
56 In LiveCD mode SliTaz automatically configures the sound card by launching a dialog. In most cases the sound
|
paul@64
|
57 card is instantly recognized and you just press ENTER to continue to login and have your sound working.
|
paul@64
|
58 However, sometimes your card is not recognized at startup or simply not supported. Before throwing in the
|
paul@64
|
59 towel, you can try to manually configure your card by asking for help on the discussion list or on the
|
paul@64
|
60 hardware support forum.
|
paul@64
|
61 </p>
|
paul@64
|
62 <h4>Soundconf</h4>
|
paul@64
|
63 <p>
|
paul@64
|
64 To configure or reconfigure a sound card, SliTaz provides a script (<code>soundconf</code>), this utility
|
paul@64
|
65 is used at startup and doesn't pose any questions, supports the right modules and automatically configures
|
paul@64
|
66 <code>/etc/rsS.conf</code> so that the right driver is loaded on each start. Soundconf will also
|
paul@64
|
67 automatically adjust volume levels, you can change the settings later through the mixer and
|
paul@64
|
68 <code>alsactl</code>. To start the sound configuration interface, you must have administrator priviledges
|
paul@64
|
69 and type:
|
paul@64
|
70 </p>
|
paul@64
|
71 <pre>
|
paul@64
|
72 # soundconf
|
paul@64
|
73 </pre>
|
paul@64
|
74 <h4>Alsactl</h4>
|
paul@64
|
75 <p>
|
paul@64
|
76 Alsactl controls <code>alsa</code> and can store settings or restore sound for example, to retain
|
MikeDSmith25@117
|
77 preferences for each start. When configuring sound with soundconf, volumes are automatically adjusted. You
|
paul@64
|
78 can use <code>alsamixer</code> as <em>root</em> to change the values and then launch <code>alsactl</code>
|
paul@64
|
79 to store the configuration:
|
paul@64
|
80 </p>
|
paul@64
|
81 <pre>
|
paul@64
|
82 # alsactl store
|
paul@64
|
83 </pre>
|
paul@64
|
84 <p>
|
paul@64
|
85 To restore the configuration, you can use the <code>alsactl restore</code> command or to restore your
|
paul@128
|
86 preferences at each system startup you can edit /etc/init.d/local.sh with your favorite text editor or simply
|
paul@64
|
87 'echo' the changes:
|
paul@64
|
88 </p>
|
paul@64
|
89 <pre>
|
paul@64
|
90 # echo 'alsactl restore' > /etc/init.d/local.sh
|
paul@64
|
91 </pre>
|
paul@64
|
92
|
paul@64
|
93 <a name="alsamixer"></a>
|
paul@64
|
94 <h3>Alsamixer</h3>
|
paul@64
|
95 <p>
|
paul@64
|
96 Alsamixer is the official mixer of the Alsa project. It is simple and effective and can be run from the
|
paul@64
|
97 menu or directly from a terminal. The volumes can be regulated with the up/down arrows or muted using
|
paul@64
|
98 the <code>m</code> key. To start from a Linux terminal:
|
paul@64
|
99 </p>
|
paul@64
|
100 <pre>
|
paul@64
|
101 $ alsamixer
|
paul@64
|
102 </pre>
|
paul@64
|
103
|
paul@64
|
104 <a name="alsaplayer"></a>
|
paul@64
|
105 <h3>Alsaplayer</h3>
|
paul@64
|
106 <p>
|
paul@64
|
107 The audio player Alsaplayer is designed to be simple, clean and intuitive. Alsaplayer on SliTaz provides
|
paul@64
|
108 support for ogg, mp3 (via libmad) and wav files, playlists and viewers to accompany sound and the ability
|
paul@64
|
109 to adjust pitch and volume. Once launched from the menu just click the play button or load a playlist to
|
paul@64
|
110 start.
|
paul@64
|
111 </p>
|
paul@64
|
112
|
paul@64
|
113 <a name="asunder"></a>
|
MikeDSmith25@117
|
114 <h3>Asunder - Audio CD Ripper</h3>
|
paul@64
|
115 <p>
|
MikeDSmith25@117
|
116 Asunder retrieves and encodes audio tracks from a CD. The toolkit is simple and easy to use, encoding
|
MikeDSmith25@117
|
117 songs into wav, ogg or mp3 (via <code>lame</code> package). It can search CDDB, create playlists and
|
paul@64
|
118 edit file names. You will find Asunder in the Multimedia category on the menu.
|
paul@64
|
119 </p>
|
paul@64
|
120
|
paul@64
|
121 <a name="xine"></a>
|
paul@64
|
122 <h3>Xine</h3>
|
paul@64
|
123 <p>
|
paul@64
|
124 Xine is a multimedia project providing various video viewers and audio players. SliTaz provides libraries
|
paul@64
|
125 and a media player contained in the package <code>xine-ui</code>. Xine uses a Xlib interface, a control
|
paul@64
|
126 panel, a right click configuration menu and various plugins. It can play ogg, mp3 and flac audio codecs
|
MikeDSmith25@117
|
127 and mov, avi or mpg video formats. To install xine and its dependancies:
|
paul@64
|
128 </p>
|
paul@64
|
129 <pre>
|
paul@64
|
130 # tazpkg get-install xine-ui
|
paul@64
|
131 </pre>
|
paul@64
|
132 <p>Official Xine <a href="http://xinehq.de/index.php/home">website</a>
|
paul@64
|
133 </p>
|
paul@64
|
134
|
paul@64
|
135 <a name="mpg123"></a>
|
paul@64
|
136 <h3><font color="#6c0023">mpg123</font></h3>
|
paul@64
|
137 <p>
|
paul@64
|
138 Mpg123 is a command line audio player and file converter. This means that you can listen to music or
|
MikeDSmith25@117
|
139 convert files from a terminal. To display help, use the <code>--help</code> option.
|
paul@64
|
140 To play a mp3 file, just launch <code>mpg123</code> followed by the name of the audio file:
|
paul@64
|
141 </p>
|
paul@64
|
142 <pre>
|
paul@64
|
143 $ mpg123 sound.mp3
|
paul@64
|
144 </pre>
|
paul@64
|
145 <p>
|
paul@64
|
146 Mpg123 can also encode a file into another format, for example you can convert
|
paul@64
|
147 a wav file into a mp3 file. Example:
|
paul@64
|
148 </p>
|
paul@64
|
149 <pre>
|
paul@64
|
150 $ mpg123 -w sound.mp3 sound.wav
|
paul@64
|
151 </pre>
|
paul@64
|
152
|
paul@64
|
153 <!-- End of content -->
|
paul@64
|
154 </div>
|
paul@64
|
155
|
paul@64
|
156 <!-- Footer. -->
|
paul@64
|
157 <div id="footer">
|
paul@64
|
158 <div class="footer-right"></div>
|
paul@64
|
159 <a href="#top">Top of the page</a> |
|
paul@64
|
160 <a href="index.html">Table of contents</a>
|
paul@64
|
161 </div>
|
paul@64
|
162
|
paul@64
|
163 <div id="copy">
|
paul@64
|
164 Copyright © 2008 <a href="http://www.slitaz.org/en/">SliTaz</a> -
|
paul@64
|
165 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>;<br />
|
paul@64
|
166 Documentation is under
|
paul@64
|
167 <a href="http://www.gnu.org/copyleft/fdl.html">GNU Free Documentation License</a>
|
paul@64
|
168 and code is <a href="http://validator.w3.org/">valid xHTML 1.0</a>.
|
paul@64
|
169 </div>
|
paul@64
|
170
|
paul@64
|
171 </body>
|
paul@64
|
172 </html>
|
paul@64
|
173
|