[Ffmpeg-devel] avcodec_encode_audio help
Michael Niedermayer
michaelni
Tue Apr 3 03:13:05 CEST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070403/7cabd193/attachment.pgp>
More information about the ffmpeg-devel
mailing list