On Wed Mar 13 05:48:59 2024 +0000, Torge Matthies wrote:
We can get gstreamer (or rather the plugin gstreamer uses for AAC encoding) to generate the codec data for us by initializing an aac encoding element and setting the sink pad caps. I just need to think a bit about how I want to integrate this into Wine. Sadly, there's no public function in gstreamer that just generates AAC codec data, even though they have some basic codec data generators in some places that are plugin-internal.
Correction to this: Seems like just setting the sink pad caps and reading the src pad caps doesn't work, I need to at least encode a 0-sized buffer and have an aacparse element parse the output.