[gst-devel] Can't find documentation

Stefan Kost ensonic at hora-obscura.de
Fri Apr 3 21:13:33 CEST 2009


Ali Hamdi schrieb:
> Hi,
> 
> I was just wondering where I could find documentation about the data packing used in the raw-audio (specifically 32-bits stereo raw-int). I want to be able to extract data to external software to analyze, meaning I want to be able to parse a binary file to proper waveforms, which is why I need to know how to put the bytes together again to proper quantization samples. Been doing some trial and error, with no luck so far..

Channels are interleaved. for stereo you'll get one left, one right (hopefully I
got the order right). Are you sure you want 32bit int audio? Thats quite unusual
 and most elements won't output that. You can always use audioconvert and a caps
filter to request this format though. If you ask for "audio/x-raw-int, depth=32,
width=32, channels=2, signed=true" then you get a gint32 for each sample value.

Stefan

> 
> Thank you in advance.
> 
> Best regards
> Ali
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list