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

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