[Ffmpeg-devel] avcodec_encode_audio help

rkmr.em at gmail.com rkmr.em
Tue Apr 3 02:38:18 CEST 2007


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?
thanks a lot
mark




More information about the ffmpeg-devel mailing list