[gst-devel] raw audio stream
Tim-Philipp Müller
t.i.m at zen.co.uk
Sun Oct 18 13:38:49 CEST 2009
On Sun, 2009-10-18 at 00:29 +0100, Stanisław Pitucha wrote:
> I'm completely new to gstreamer... could someone tell me how to
> configure the pipeline to get audio from a specified (already open) fd
> assuming it doesn't have any header and is a raw 8kHz 16 bit signed 1
> channel stream?
> I know I should use the fdsrc, but how to force a format afterwards?
>
> From what I understood so far, I'll need:
> fdsrc fd=3 ! [XXX] ! audioconvert ! audioresample ! vader name=vad
> auto-threshold=true ....
>
> What goes in the [XXX] place?
The audioparse element from gst-plugins-bad should do the job here (and
will also ensure correct chunking/buffer sizes).
Cheers
-Tim
More information about the gstreamer-devel
mailing list