Date: Fri, 28 Mar 2014 03:08:31 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44367 - head/en_US.ISO8859-1/books/handbook/multimedia Message-ID: <201403280308.s2S38VBW033747@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Fri Mar 28 03:08:31 2014 New Revision: 44367 URL: http://svnweb.freebsd.org/changeset/doc/44367 Log: Recover lost <replaceable> tags. Modified: head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml Fri Mar 28 02:59:00 2014 (r44366) +++ head/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml Fri Mar 28 03:08:31 2014 (r44367) @@ -266,10 +266,10 @@ pcm2: <Conexant CX20590 (Analog 2.0+H <para>Another quick way to test the card is to send data to <filename>/dev/dsp</filename>:</para> - <screen>&prompt.user; <userinput>cat filename > /dev/dsp</userinput></screen> + <screen>&prompt.user; <userinput>cat <replaceable>filename</replaceable> > /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: <HDA Realtek ALC889 PCM #3 Digi <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: <HDA Realtek ALC889 PCM #3 Digi <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 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 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 <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 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></scr <procedure> <step> <para>Run <command>mpg123 -s - audio01.mp3 > - audio01.pcm</command></para> + <replaceable>audio01.mp3</replaceable> > + <replaceable>audio01.pcm</replaceable></command></para> </step> </procedure> @@ -703,7 +703,7 @@ audio01.wav audio01.mp3</userinput></scr 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</ <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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403280308.s2S38VBW033747>