[FFmpeg-devel] [PATCH] Description of avcodec_encode_audio()
Michael Niedermayer
michaelni
Fri Apr 3 16:42:18 CEST 2009
On Fri, Apr 03, 2009 at 10:05:52AM +0100, John Fletcher wrote:
> Michael,
>
> You really seem to be missing my point here. Let me give you an example.
>
> I wish to encode 1920 samples of audio to a 16-bit PCM format, say for example using CODEC_ID_PCM_S16BE.
>
> I need to set the size of the output buffer, buf_size, to 1920 * 2 = 3840 to achieve that.
no, you need to set it to 3840 or a larger value
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090403/53a6efaa/attachment.pgp>
More information about the ffmpeg-devel
mailing list