[Libav-user] Need help with transcoding to AAC example

Hendrik Leppkes h.leppkes at gmail.com
Thu Mar 31 12:18:50 CEST 2016

On Thu, Mar 31, 2016 at 11:55 AM, Przemysław Sobala
<przemyslaw.sobala at gmail.com> wrote:
> Hello
>    I've altered doc/examples/transcoding.c to encode using aac codec:

The transcoding example isn't all the powerful, its specifically
designed to transcode to the same format for demo purposes, which
assumes the frame size of the input is the same as the frame size of
the output.
If you use another codec, thats not guaranteed anymore, and there
would need to be a audio fifo to deliver appropriate frames to the
audio encode API.

There is another example, transcode_aac, which handles this audio fifo.

- Hendrik

More information about the Libav-user mailing list