|
From: Roman S. <rv...@su...> - 2004-07-15 02:37:33
|
On Tue, Jul 06, 2004 at 08:21:44PM -0400, Dan Dennedy wrote:
> I do not know off hand, as I have not worked much in the audio code. I
> forwarded to the libdv mailing list. Please use it.
See ffmpeg's libavformat/dv.c dv_extract_audio() for details, but in short
in each audio block you have dv_audio_source pack and it tells you how
many *extra* samples there are. So
#samples == (min. number of samples for the particular sampling rate) +
dv_audio_source_pack[1] & 0x3f;
Thanks,
Roman.
> -----Forwarded Message-----
> > From: Lo"ic Gatineau <l_g...@ya...>
> > To: Dan Dennedy <da...@de...>
> > Subject: samples...
> > Date: Tue, 06 Jul 2004 14:41:35 +0200
> >
> > I have a problem about audio samples... In fact, in
> > dv_decode_audio_block() in audio.c, I don't know how
> > locate the moment where it is the end of the samples
> > and the bigining of the unused space at the end of
> > each frame... (SMPTE 314 M, SS4.6.2.1.5 p.14). I will
> > be very happy if you can help me ! ;o)
> >
> > Thank you...
> >
> > Lo"ic Gatineau.
> >
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> libdv-dev mailing list
> lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libdv-dev
|