[Ffmpeg-devel] avcodec_encode_audio help
rkmr.em at gmail.com
rkmr.em
Tue Apr 3 17:38:35 CEST 2007
This is what is in avcodec.h
I cant find any other info. Can you pl. tell how many bytes is read from
samples?
thanks a lot!
int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size,
const short *samples);
On 4/2/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> Hi
>
> On Mon, Apr 02, 2007 at 05:38:18PM -0700, rkmr.em at gmail.com wrote:
> > Hi
> > I really tried to google and looked at the documentation. But could not
> find
> > info.
> > This is how I encode audio.
> >
> > int out_size = avcodec_encode_audio( m_aEnc,
> > outbuf,
> > outbuf_size,
> > (const short
> > int*) m_audioSamples );
> >
> >
> > I want to know how many bytes of audio data is read from m_audioSamples?
> I
> > have to use that data else where. What is outbuf_size used for?
>
> see avcodec.h
>
> [...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> The greatest way to live with honor in this world is to be what we pretend
> to be. -- Socrates
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
>
More information about the ffmpeg-devel
mailing list