aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
diff options
context:
space:
mode:
authorWarren Block <wblock@FreeBSD.org>2014-03-28 03:08:31 +0000
committerWarren Block <wblock@FreeBSD.org>2014-03-28 03:08:31 +0000
commitcc56c76d503e861e968c79abd02882cfde6ab522 (patch)
tree80c779268cd627b22b97f3b17906089f118e3124 /en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
parent100f3ff8ef9be60d2f7e4fcaac6280bc82145eba (diff)
downloaddoc-cc56c76d503e861e968c79abd02882cfde6ab522.tar.gz
doc-cc56c76d503e861e968c79abd02882cfde6ab522.zip
Recover lost <replaceable> tags.
Notes
Notes: svn path=/head/; revision=44367
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/multimedia/chapter.xml')
-rw-r--r--en_US.ISO8859-1/books/handbook/multimedia/chapter.xml76
1 files changed, 38 insertions, 38 deletions
diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
index fc1b285374..78582ed213 100644
--- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
+++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml
@@ -266,10 +266,10 @@ pcm2: &lt;Conexant CX20590 (Analog 2.0+HP/2.0)&gt; (play/rec) default</screen>
<para>Another quick way to test the card is to send data to
<filename>/dev/dsp</filename>:</para>
- <screen>&prompt.user; <userinput>cat filename &gt; /dev/dsp</userinput></screen>
+ <screen>&prompt.user; <userinput>cat <replaceable>filename</replaceable> &gt; /dev/dsp</userinput></screen>
<para>where
- <filename>filename</filename> can
+ <filename><replaceable>filename</replaceable></filename> can
be any type of file. This command should produce some noise,
confirming that the sound card is working.</para>
@@ -373,7 +373,7 @@ pcm7: &lt;HDA Realtek ALC889 PCM #3 Digital&gt; at cad 2 nid 1 on hdac1
<varname>hw.snd.default_unit</varname> to the unit that should
be used for playback:</para>
- <screen>&prompt.root; <userinput>sysctl hw.snd.default_unit=n</userinput></screen>
+ <screen>&prompt.root; <userinput>sysctl hw.snd.default_unit=<replaceable>n</replaceable></userinput></screen>
<para>where <literal>n</literal> is the number of the sound
device to use. In this example, it should be
@@ -518,7 +518,7 @@ pcm7: &lt;HDA Realtek ALC889 PCM #3 Digital&gt; at cad 2 nid 1 on hdac1
<replaceable>Foobar-GreatestHits.mp3</replaceable>, enter the
following to play the file:</para>
- <screen>&prompt.root; <userinput>mpg123 -a /dev/dsp1.0 Foobar-GreatestHits.mp3</userinput>
+ <screen>&prompt.root; <userinput>mpg123 -a /dev/dsp1.0 <replaceable>Foobar-GreatestHits.mp3</replaceable></userinput>
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
@@ -551,7 +551,7 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
into individual (per track) <acronym>WAV</acronym>
files:</para>
- <screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -B</userinput></screen>
+ <screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -B</userinput></screen>
<para>The <option>-D <replaceable>0,1,0</replaceable></option>
indicates the SCSI device <filename>0,1,0</filename>,
@@ -563,18 +563,18 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
device name in place of the SCSI unit numbers. For example,
to rip track 7 from an IDE drive:</para>
- <screen>&prompt.root; <userinput>cdda2wav -D /dev/acd0 -t 7</userinput></screen>
+ <screen>&prompt.root; <userinput>cdda2wav -D <replaceable>/dev/acd0</replaceable> -t 7</userinput></screen>
<para>To rip individual tracks, make use of the
<option>-t</option> as shown:</para>
- <screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -t 7</userinput></screen>
+ <screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -t 7</userinput></screen>
<para>This example rips track seven of the audio CDROM. To rip
a range of tracks, such as track one to seven, specify a
range:</para>
- <screen>&prompt.root; <userinput>cdda2wav -D 0,1,0 -t 1+7</userinput></screen>
+ <screen>&prompt.root; <userinput>cdda2wav -D <replaceable>0,1,0</replaceable> -t 1+7</userinput></screen>
<para>&man.dd.1; can also be used to extract audio tracks on
ATAPI drives, as described in <xref linkend="duplicating-audiocds"/>.</para>
@@ -592,18 +592,18 @@ MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo</screen>
<para>The following command will convert the ripped
<acronym>WAV</acronym> files
- <filename>audio01.wav</filename>
+ <filename><replaceable>audio01.wav</replaceable></filename>
to
- <filename>audio01.mp3</filename>:</para>
+ <filename><replaceable>audio01.mp3</replaceable></filename>:</para>
- <screen>&prompt.root; <userinput>lame -h -b 128 \
---tt "Foo Song Title" \
---ta "FooBar Artist" \
---tl "FooBar Album" \
---ty "2001" \
---tc "Ripped and encoded by Foo" \
---tg "Genre" \
-audio01.wav audio01.mp3</userinput></screen>
+ <screen>&prompt.root; <userinput>lame -h -b <replaceable>128</replaceable> \
+--tt "<replaceable>Foo Song Title</replaceable>" \
+--ta "<replaceable>FooBar Artist</replaceable>" \
+--tl "<replaceable>FooBar Album</replaceable>" \
+--ty "<replaceable>2001</replaceable>" \
+--tc "<replaceable>Ripped and encoded by Foo</replaceable>" \
+--tg "<replaceable>Genre</replaceable>" \
+<replaceable>audio01.wav audio01.mp3</replaceable></userinput></screen>
<para>128&nbsp;kbits is a standard <acronym>MP3</acronym>
bitrate. The 160 and 192 bitrates provide higher quality.
@@ -685,8 +685,8 @@ audio01.wav audio01.mp3</userinput></screen>
<procedure>
<step>
<para>Run <command>mpg123 -s
- audio01.mp3 &gt;
- audio01.pcm</command></para>
+ <replaceable>audio01.mp3</replaceable> &gt;
+ <replaceable>audio01.pcm</replaceable></command></para>
</step>
</procedure>
@@ -703,7 +703,7 @@ audio01.wav audio01.mp3</userinput></screen>
header with <application>SoX</application>, which can be
installed from the <package>audio/sox</package> port or package:</para>
- <screen>&prompt.user; <userinput>sox -t wav -r 44100 -s -w -c 2 track.wav track.raw</userinput></screen>
+ <screen>&prompt.user; <userinput>sox -t wav -r 44100 -s -w -c 2 <replaceable>track.wav track.raw</replaceable></userinput></screen>
<para>Refer to <xref linkend="creating-cds"/> for more
information on using a CD burner in &os;.</para>
@@ -974,26 +974,26 @@ no adaptors present</screen>
options.</para>
<para>To play the file
- <filename>testfile.avi</filename>,
+ <filename><replaceable>testfile.avi</replaceable></filename>,
specify the video interfaces with <option>-vo</option>, as
seen in the following examples:</para>
- <screen>&prompt.user; <userinput>mplayer -vo xv testfile.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>mplayer -vo xv <replaceable>testfile.avi</replaceable></userinput></screen>
- <screen>&prompt.user; <userinput>mplayer -vo sdl testfile.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>mplayer -vo sdl <replaceable>testfile.avi</replaceable></userinput></screen>
- <screen>&prompt.user; <userinput>mplayer -vo x11 testfile.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>mplayer -vo x11 <replaceable>testfile.avi</replaceable></userinput></screen>
- <screen>&prompt.root; <userinput>mplayer -vo dga testfile.avi</userinput></screen>
+ <screen>&prompt.root; <userinput>mplayer -vo dga <replaceable>testfile.avi</replaceable></userinput></screen>
- <screen>&prompt.root; <userinput>mplayer -vo 'sdl:dga' testfile.avi</userinput></screen>
+ <screen>&prompt.root; <userinput>mplayer -vo 'sdl:dga' <replaceable>testfile.avi</replaceable></userinput></screen>
<para>It is worth trying all of these options, as their
relative performance depends on many factors and will vary
significantly with hardware.</para>
<para>To play a <acronym>DVD</acronym>, replace
- <filename>testfile.avi</filename>
+ <filename><replaceable>testfile.avi</replaceable></filename>
with <option>dvd://<replaceable>N</replaceable> -dvd-device
<replaceable>DEVICE</replaceable></option>, where
<replaceable>N</replaceable> is the title number to play and
@@ -1058,25 +1058,25 @@ zoom=yes</programlisting>
<para>Here is an example of a simple copy:</para>
- <screen>&prompt.user; <userinput>mencoder input.avi -oac copy -ovc copy -o output.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>mencoder <replaceable>input.avi</replaceable> -oac copy -ovc copy -o <replaceable>output.avi</replaceable></userinput></screen>
<para>To rip to a file, use <option>-dumpfile</option> with
<command>mplayer</command>.</para>
<para>To convert
- <filename>input.avi</filename> to
+ <filename><replaceable>input.avi</replaceable></filename> to
the MPEG4 codec with MPEG3 audio encoding, first install the
<package>audio/lame</package> port. Due to
licensing restrictions, a package is not available. Once
installed, type:</para>
- <screen>&prompt.user; <userinput>mencoder input.avi -oac mp3lame -lameopts br=192 \
- -ovc lavc -lavcopts vcodec=mpeg4:vhq -o output.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>mencoder <replaceable>input.avi</replaceable> -oac mp3lame -lameopts br=192 \
+ -ovc lavc -lavcopts vcodec=mpeg4:vhq -o <replaceable>output.avi</replaceable></userinput></screen>
<para>This will produce output playable by applications such as
<command>mplayer</command> and <command>xine</command>.</para>
- <para><filename>input.avi</filename>
+ <para><filename><replaceable>input.avi</replaceable></filename>
can be replaced with <option>dvd://1 -dvd-device
/dev/dvd</option> and run as <systemitem class="username">root</systemitem> to
re-encode a <acronym>DVD</acronym> title directly. Since it
@@ -1107,7 +1107,7 @@ zoom=yes</programlisting>
invoked from the command line
by specifying the name of the file to play:</para>
- <screen>&prompt.user; <userinput>xine -g -p mymovie.avi</userinput></screen>
+ <screen>&prompt.user; <userinput>xine -g -p <replaceable>mymovie.avi</replaceable></userinput></screen>
<para>Refer to <link xlink:href="http://www.xine-project.org/faq">
xine-project.org/faq</link> for more information and
@@ -1140,11 +1140,11 @@ zoom=yes</programlisting>
a PAL MPEG-1 file (PAL VCD):</para>
<screen>&prompt.user; <userinput>transcode -i
-input.avi -V --export_prof vcd-pal -o output_vcd</userinput>
-&prompt.user; <userinput>mplex -f 1 -o output_vcd.mpg output_vcd.m1v output_vcd.mpa</userinput></screen>
+<replaceable>input.avi</replaceable> -V --export_prof vcd-pal -o output_vcd</userinput>
+&prompt.user; <userinput>mplex -f 1 -o <replaceable>output_vcd.mpg output_vcd.m1v output_vcd.mpa</replaceable></userinput></screen>
<para>The resulting <acronym>MPEG</acronym> file,
- <filename>output_vcd.mpg</filename>,
+ <filename><replaceable>output_vcd.mpg</replaceable></filename>,
is ready to be played with <application>MPlayer</application>.
The file can be burned on a <acronym>CD</acronym> media to
create a video <acronym>CD</acronym> using a utility such as
@@ -1629,7 +1629,7 @@ add path usb/0.2.0 mode 0666 group usb</programlisting>
<systemitem class="groupname"><replaceable>usb</replaceable></systemitem> in order
to allow access to the scanner:</para>
- <screen>&prompt.root; <userinput>pw groupmod usb -m joe</userinput></screen>
+ <screen>&prompt.root; <userinput>pw groupmod usb -m <replaceable>joe</replaceable></userinput></screen>
<para>For more details refer to &man.pw.8;.</para>
</sect2>