|
From: salsaman <sal...@gm...> - 2008-10-06 23:01:53
|
On Mon, Sep 22, 2008 at 2:40 PM, Dan Dennedy <da...@de...> wrote: > On Mon, Sep 22, 2008 at 10:08 AM, salsaman <sal...@gm...> wrote: > > OK, thanks. Actually I already figured most of this out while I was > waiting > > for a reply ! > > > > Now I would like to know how to get the audio values (rate, channels, > sample > > size, signedness and endianness). > > Please see the source code of playdv, kino, MLT, gstreamer, or other > users of libdv. > Thanks for the advice, but I was hoping for a bit less cryptic answer ! What I found was generally: - read in a full frame - call dv_parse_audio_header() - use functions like dv_get_frequency() However, a couple of things: - dv_parse_audio_header() appears to be in libdv and working, however it is not defined in the header file. - there do not seem to be functions to get the signedness, endianess or interleaf (interleaved/non-interleaved) for the audio. Are these values fixed in the dv standard ? Thanks in advance for any help, it is much appreciated. Gabriel. http://lives.sourceforge.net |