Using the internal AAC encoder is of course possible, but my initial idea was to explicitly use one of the external libraries that can be used with Libav (when configured accordingly). Besides, using the internal encoder instead of the external one would only require three very small changes (changing the output encoder name, adding the strict option as you wrote and removing -lvo_aacenc from the Makefile), which could documented as such. Alternatively, the code could be copied and modified, but this would be quite ugly and harder to maintain. I really like the idea of a separate repository for examples.
Best regards Andreas
From: Luca Barbato <[email protected]> To: [email protected] Subject: Re: [libav-devel] [PATCH] New Libav API usage example with an external library Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 I'm exploring the idea of having more examples such as yours as part of a libav-examples stand alone repository and wanted at least Anton have a look at your example. While waiting, if you feel like would be nice having a variant using the internal aac encoder as well (so people could see how to use avoptions to set strict).
_______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
