[gst-devel] Can't find documentation

Ali Hamdi alha02 at kth.se
Sat Apr 4 11:56:43 CEST 2009


First of all, thank you alot for your help :)

One question though: Are they interleaved in total, meaning that the whole sample are sequential in bytes or are they split up bytewise in some order? The reason I'm asking is that they seem to be split in some way judging by the results, and by this reference (which is referring to 24-bit pcm though): http://wiki.multimedia.cx/index.php?title=PCM

Regarding the format, this is what the output is from decodebin2 according to one instance of typefind, is this not correct?

And a big thanks again for your reply.

/Ali

________________________________________
Från: Stefan Kost [ensonic at hora-obscura.de]
Skickat: den 3 april 2009 21:13
Till: Discussion of the development of GStreamer
Ämne: Re: [gst-devel] Can't find documentation

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


------------------------------------------------------------------------------
_______________________________________________
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