fmpeg</code> use the
command:
</p><div class="example">
<pre class="example">ffmpeg -f sndio -i /dev/audio0 /tmp/oss.wav
</pre></div>

<a name="Options-12"></a>
<h3 class="subsection"><a href="ffmpeg-devices.html#toc-Options-12">3.19.1 Options</a></h3>

<dl compact="compact">
<dt>&lsquo;<samp>sample_rate</samp>&rsquo;</dt>
<dd><p>Set the sample rate in Hz. Default is 48000.
</p>
</dd>
<dt>&lsquo;<samp>channels</samp>&rsquo;</dt>
<dd><p>Set the number of channels. Default is 2.
</p>
</dd>
</dl>

<a name="vid