[Ffmpeg-devel] avcodec_encode_audio help
Wed Apr 4 10:11:59 CEST 2007
rkmr.em at gmail.com wrote:
Please dont top-post.
> This is what is in avcodec.h
> I cant find any other info. Can you pl. tell how many bytes is read from
> thanks a lot!
> int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size,
> const short *samples);
There should be doxygen comments just above that. If not, then you need
to svn update.
> On 4/2/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>> 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
>> > info.
>> > This is how I encode audio.
>> > int out_size = avcodec_encode_audio( m_aEnc,
>> > outbuf,
>> > outbuf_size,
>> > (const
>> > int*) m_audioSamples );
>> > I want to know how many bytes of audio data is read from
>> > have to use that data else where. What is outbuf_size used for?
>> see avcodec.h
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel