alsasrc
This element reads data from an audio card using the ALSA API.
Example pipelines
gst-launch-1.0 -v alsasrc ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink location=alsasrc.ogg
Record from a sound card using ALSA and encode to Ogg/Vorbis.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSrc ╰──GstPushSrc ╰──GstAudioBaseSrc ╰──GstAudioSrc ╰──alsasrc
Factory details
Authors: – Wim Taymans
Classification: – Source/Audio
Rank – primary
Plugin – alsa
Package – GStreamer Base Plug-ins
Pad Templates
src
audio/x-raw:
format: { F64LE, F64BE, F32LE, F32BE, S32LE, S32BE, U32LE, U32BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, S16LE, S16BE, U16LE, U16BE, S8, U8 }
layout: interleaved
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
Properties
device
“device” gchararray
ALSA device, as defined in an asound configuration file
Flags : Read / Write
Default value : default
device-name
“device-name” gchararray
Human-readable name of the sound device
Flags : Read
Default value : NULL
use-driver-timestamps
“use-driver-timestamps” gboolean
Use driver timestamps or the pipeline clock timestamps
Flags : Read / Write
Default value : true
The results of the search are