oss4src
This element lets you record sound using the Open Sound System (OSS) version 4.
Example pipelines
gst-launch-1.0 -v oss4src ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=mymusic.ogg
will record sound from your sound card using OSS4 and encode it to an Ogg/Vorbis file (this will only work if your mixer settings are right and the right inputs areenabled etc.)
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSrc ╰──GstPushSrc ╰──GstAudioBaseSrc ╰──GstAudioSrc ╰──oss4src
Factory details
Authors: – Tim-Philipp Müller
Classification: – Source/Audio
Rank – secondary + 1
Plugin – oss4
Package – GStreamer Good Plug-ins
Pad Templates
src
audio/x-alaw:
rate: [ 1, 192000 ]
channels: [ 1, 4096 ]
audio/x-mulaw:
rate: [ 1, 192000 ]
channels: [ 1, 4096 ]
audio/x-raw:
format: { S32LE, S32BE, S24_32LE, S24_32BE, S24LE, S16LE, S16BE, U16LE, U16BE, S8, U8 }
layout: interleaved
rate: [ 1, 192000 ]
channels: [ 1, 4096 ]
Properties
device
“device” gchararray
OSS4 device (e.g. /dev/oss/hdaudio0/pcm0 or /dev/dspN) (NULL = use first available device)
Flags : Read / Write
Default value : NULL
device-name
“device-name” gchararray
Human-readable name of the sound device
Flags : Read
Default value : NULL
The results of the search are