From VideoLAN Wiki
< Documentation:Modules
Revision as of 07:56, 21 March 2019 by DoesItReallyMatter (talk | contribs) (Change links from Wikipedia to OSS)
Jump to navigation Jump to search

oss and alsa audio capture support were removed from v4l and v4l2 in VLC 1.0.0, but accesses were provided as sub-modules. To emulate old behaviour, use --input-slave oss:// or --input-slave alsa://. The access module reads from /dev/dsp.

The audio output module has no shortcut. The access module has a shortcut of oss.


Audio output

Module: oss
Type Audio output
First VLC version -
Last VLC version -
Operating system(s) Linux
Description Open Sound System audio output
Shortcut(s) -
  • oss-audio-device <string> : OSS device node path default value: ""
  • oss-spdif <boolean> : S/PDIF can be used by default when your hardware supports it as well as the audio stream being played default value: disabled


Module: oss
Type Access
First VLC version 1.0.0
Last VLC version -
Operating system(s) Linux
Description OSS input
Shortcut(s) -
  • oss-stereo <boolean> : Capture the audio stream in stereo default value: enabled
  • oss-samplerate <integer> : Sample rate of the captured audio stream, in Hz (eg: 11025, 22050, 44100, 48000) default value: 48000

Source code

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.