<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.occupyboston.org/wiki/index.php?action=history&amp;feed=atom&amp;title=WG%2FOBIT%2FIces2</id>
	<title>WG/OBIT/Ices2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.occupyboston.org/wiki/index.php?action=history&amp;feed=atom&amp;title=WG%2FOBIT%2FIces2"/>
	<link rel="alternate" type="text/html" href="https://wiki.occupyboston.org/wiki/index.php?title=WG/OBIT/Ices2&amp;action=history"/>
	<updated>2026-04-08T20:15:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.occupyboston.org/wiki/index.php?title=WG/OBIT/Ices2&amp;diff=6934&amp;oldid=prev</id>
		<title>Farmerbob: /* Under Debian/Ubuntu */</title>
		<link rel="alternate" type="text/html" href="https://wiki.occupyboston.org/wiki/index.php?title=WG/OBIT/Ices2&amp;diff=6934&amp;oldid=prev"/>
		<updated>2011-11-21T04:34:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Under Debian/Ubuntu&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:34, 21 November 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l108&quot;&gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;/stream&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;/stream&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/ices&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;/nowiki&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Stick the above in a file named something like &quot;mystream.xml&quot; and run Ices2 with it as follows:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;pre&amp;gt;ices2 mystream.xml&amp;lt;/pre&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Farmerbob</name></author>
	</entry>
	<entry>
		<id>https://wiki.occupyboston.org/wiki/index.php?title=WG/OBIT/Ices2&amp;diff=6933&amp;oldid=prev</id>
		<title>Farmerbob: Created page with &quot;== Under Debian/Ubuntu == === Finding Your Audio Device === &lt;pre&gt; arecord -l &lt;/pre&gt;  Output: &lt;pre&gt; **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0:...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.occupyboston.org/wiki/index.php?title=WG/OBIT/Ices2&amp;diff=6933&amp;oldid=prev"/>
		<updated>2011-11-21T04:31:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Under Debian/Ubuntu == === Finding Your Audio Device === &amp;lt;pre&amp;gt; arecord -l &amp;lt;/pre&amp;gt;  Output: &amp;lt;pre&amp;gt; **** List of CAPTURE Hardware Devices **** card 0: Intel [HDA Intel], device 0:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Under Debian/Ubuntu ==&lt;br /&gt;
=== Finding Your Audio Device ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
arecord -l&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
**** List of CAPTURE Hardware Devices ****&lt;br /&gt;
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]&lt;br /&gt;
  Subdevices: 1/1&lt;br /&gt;
  Subdevice #0: subdevice #0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Device from above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
hw:0,0&lt;br /&gt;
   ^card,device&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Ices2 Config XML ===&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;ices&amp;gt;&lt;br /&gt;
    &amp;lt;!-- run in background  --&amp;gt;&lt;br /&gt;
    &amp;lt;background&amp;gt;0&amp;lt;/background&amp;gt;&lt;br /&gt;
    &amp;lt;!-- where logs go. --&amp;gt;&lt;br /&gt;
    &amp;lt;logpath&amp;gt;./&amp;lt;/logpath&amp;gt;&lt;br /&gt;
    &amp;lt;logfile&amp;gt;ices.log&amp;lt;/logfile&amp;gt;&lt;br /&gt;
    &amp;lt;!-- size in kilobytes --&amp;gt;&lt;br /&gt;
    &amp;lt;logsize&amp;gt;2048&amp;lt;/logsize&amp;gt;&lt;br /&gt;
    &amp;lt;!-- 1=error, 2=warn, 3=infoa ,4=debug --&amp;gt;&lt;br /&gt;
    &amp;lt;loglevel&amp;gt;4&amp;lt;/loglevel&amp;gt;&lt;br /&gt;
    &amp;lt;!-- logfile is ignored if this is set to 1 --&amp;gt;&lt;br /&gt;
    &amp;lt;consolelog&amp;gt;0&amp;lt;/consolelog&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;!-- optional filename to write process id to --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- &amp;lt;pidfile&amp;gt;/home/ices/ices.pid&amp;lt;/pidfile&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;stream&amp;gt;&lt;br /&gt;
        &amp;lt;!-- metadata used for stream listing --&amp;gt;&lt;br /&gt;
        &amp;lt;metadata&amp;gt;&lt;br /&gt;
            &amp;lt;name&amp;gt;My Stream&amp;lt;/name&amp;gt;&lt;br /&gt;
            &amp;lt;genre&amp;gt;Occupy&amp;lt;/genre&amp;gt;&lt;br /&gt;
            &amp;lt;description&amp;gt;Occupy Radio&amp;lt;/description&amp;gt;&lt;br /&gt;
            &amp;lt;url&amp;gt;http://occupyboston.org&amp;lt;/url&amp;gt;&lt;br /&gt;
        &amp;lt;/metadata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;!--    Input module.&lt;br /&gt;
&lt;br /&gt;
            This example uses the 'oss' module. It takes input from the&lt;br /&gt;
            OSS audio device (e.g. line-in), and processes it for live&lt;br /&gt;
            encoding.  --&amp;gt;&lt;br /&gt;
        &amp;lt;input&amp;gt;&lt;br /&gt;
            &amp;lt;module&amp;gt;alsa&amp;lt;/module&amp;gt;&lt;br /&gt;
            &amp;lt;param name=&amp;quot;rate&amp;quot;&amp;gt;44100&amp;lt;/param&amp;gt;&lt;br /&gt;
            &amp;lt;param name=&amp;quot;channels&amp;quot;&amp;gt;2&amp;lt;/param&amp;gt;&lt;br /&gt;
            &amp;lt;param name=&amp;quot;device&amp;quot;&amp;gt;hw:0,0&amp;lt;/param&amp;gt;&lt;br /&gt;
            &amp;lt;!-- Read metadata (from stdin by default, or --&amp;gt;&lt;br /&gt;
            &amp;lt;!-- filename defined below (if the latter, only on SIGUSR1) --&amp;gt;&lt;br /&gt;
            &amp;lt;param name=&amp;quot;metadata&amp;quot;&amp;gt;1&amp;lt;/param&amp;gt;&lt;br /&gt;
            &amp;lt;param name=&amp;quot;metadatafilename&amp;quot;&amp;gt;test&amp;lt;/param&amp;gt;&lt;br /&gt;
        &amp;lt;/input&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;!--    Stream instance.&lt;br /&gt;
&lt;br /&gt;
            You may have one or more instances here.  This allows you to&lt;br /&gt;
            send the same input data to one or more servers (or to different&lt;br /&gt;
            mountpoints on the same server). Each of them can have different&lt;br /&gt;
            parameters. This is primarily useful for a) relaying to multiple&lt;br /&gt;
            independent servers, and b) encoding/reencoding to multiple&lt;br /&gt;
            bitrates.&lt;br /&gt;
&lt;br /&gt;
            If one instance fails (for example, the associated server goes&lt;br /&gt;
            down, etc), the others will continue to function correctly.&lt;br /&gt;
            This example defines a single instance doing live encoding at&lt;br /&gt;
            low bitrate.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        &amp;lt;instance&amp;gt;&lt;br /&gt;
            &amp;lt;!--    Server details.&lt;br /&gt;
&lt;br /&gt;
                You define hostname and port for the server here, along&lt;br /&gt;
                with the source password and mountpoint.  --&amp;gt;&lt;br /&gt;
            &amp;lt;hostname&amp;gt;a.stream.mayfirst.org&amp;lt;/hostname&amp;gt;&lt;br /&gt;
            &amp;lt;port&amp;gt;8000&amp;lt;/port&amp;gt;&lt;br /&gt;
            &amp;lt;password&amp;gt;mypassword&amp;lt;/password&amp;gt;&lt;br /&gt;
            &amp;lt;mount&amp;gt;/mystreamname.ogg&amp;lt;/mount&amp;gt;&lt;br /&gt;
            &amp;lt;yp&amp;gt;1&amp;lt;/yp&amp;gt;   &amp;lt;!-- allow stream to be advertised on YP, default 0 --&amp;gt;&lt;br /&gt;
            &amp;lt;!--    Live encoding/reencoding:&lt;br /&gt;
&lt;br /&gt;
                channels and samplerate currently MUST match the channels&lt;br /&gt;
                and samplerate given in the parameters to the oss input&lt;br /&gt;
                module above or the remsaple/downmix section below.  --&amp;gt;&lt;br /&gt;
            &amp;lt;encode&amp;gt;  &lt;br /&gt;
                &amp;lt;quality&amp;gt;0&amp;lt;/quality&amp;gt;&lt;br /&gt;
                &amp;lt;samplerate&amp;gt;22050&amp;lt;/samplerate&amp;gt;&lt;br /&gt;
                &amp;lt;channels&amp;gt;1&amp;lt;/channels&amp;gt;&lt;br /&gt;
            &amp;lt;/encode&amp;gt;&lt;br /&gt;
            &amp;lt;!-- stereo-&amp;gt;mono downmixing, enabled by setting this to 1 --&amp;gt;&lt;br /&gt;
            &amp;lt;downmix&amp;gt;1&amp;lt;/downmix&amp;gt;&lt;br /&gt;
            &amp;lt;!-- resampling.&lt;br /&gt;
                Set to the frequency (in Hz) you wish to resample to, --&amp;gt;&lt;br /&gt;
            &amp;lt;resample&amp;gt;&lt;br /&gt;
                &amp;lt;in-rate&amp;gt;44100&amp;lt;/in-rate&amp;gt;&lt;br /&gt;
                &amp;lt;out-rate&amp;gt;44100&amp;lt;/out-rate&amp;gt;&lt;br /&gt;
            &amp;lt;/resample&amp;gt;&lt;br /&gt;
        &amp;lt;/instance&amp;gt;&lt;br /&gt;
    &amp;lt;/stream&amp;gt;&lt;br /&gt;
&amp;lt;/ices&amp;gt;&lt;/div&gt;</summary>
		<author><name>Farmerbob</name></author>
	</entry>
</feed>