Live data from Hacker News

FFmpeg 9.1's new AAC encoder

hydrogenaudio.org

121–130 of 162 posts

Re: FFmpeg 9.1's new AAC encoder

#121

> The encoder was mainly optimized for 48Khz audio. Get over it. It's 2026, resampling is free, 48Khz is the standard. 44.1Khz will work, and so will 96Khz but use 48Khz if you want the best quality. Is 48kHz really the standard nowadays?

Pretty much all DACs run at 48Khz by default due to operating systems picking it as a sane default.

Even if it reports 44.1 it resamples internally to 48 in all hardware I've seen.

Re: FFmpeg 9.1's new AAC encoder

#122

Man what a showcase for Opus this is. Don't get me wrong, this sort of thing is a valuable exercise and we are better off with better encoders for these older codecs. But look at the numbers for Opus on this benchmark. It simply blows all the AAC encoders out of the water even at 64 kbps.

> Man what a showcase for Opus this is. I take it you mean this Opus ( https://en.wikipedia.org/wiki/Opus_(audio_format) ) not that Opus ( https://en.wikipedia.org/wiki/Claude_(AI) ). I read almost all the way through your comment thinking there was a decent probability you were saying this new AAC encoder was written with Claude Opus.

Opus, the codec, has been a thing looong time before Claude.

Re: FFmpeg 9.1's new AAC encoder

#123

Man what a showcase for Opus this is. Don't get me wrong, this sort of thing is a valuable exercise and we are better off with better encoders for these older codecs. But look at the numbers for Opus on this benchmark. It simply blows all the AAC encoders out of the water even at 64 kbps.

Definitely thought you meant claude opus but now from reading a couple other comments it sounds like you mean something else called opus?

Re: FFmpeg 9.1's new AAC encoder

#124
post #76
post #20

Earlier quoted context omitted.

The biggest advantage for having a good AAC encoder isn't efficiency, it's that for nearly the past 2 decades the de facto standard for live streamed video has been RTMP with H.264 video and AAC audio. There is basically no support for any other codecs. If you want to send a video stream to Youtube or Twitch, you will be sending H.264 and AAC. If you want an idea of how ubiquitous this is, I just checked in OBS and i…

YouTube actually supports H.265 and VP9 ingest, depending on the streaming protocol. I can actually stream 4K@60 H.265 from my Mac Studio with https://developers.google.com/youtube/v3/live/guides/ingesti...

yeah I use vp9 with opus for uploads by choice, it's great!

YouTube serves vp9 but it always re-encodes my videos as AV1. Annoying.

(I would upload as AV1 but the encoder is slooooooooow.)

Re: FFmpeg 9.1's new AAC encoder

#125

Man what a showcase for Opus this is. Don't get me wrong, this sort of thing is a valuable exercise and we are better off with better encoders for these older codecs. But look at the numbers for Opus on this benchmark. It simply blows all the AAC encoders out of the water even at 64 kbps.

> Man what a showcase for Opus this is. I take it you mean this Opus ( https://en.wikipedia.org/wiki/Opus_(audio_format) ) not that Opus ( https://en.wikipedia.org/wiki/Claude_(AI) ). I read almost all the way through your comment thinking there was a decent probability you were saying this new AAC encoder was written with Claude Opus.

why is this downvoted? for people who aren't in audio codec dev space, parent comment reads exactly as 'Opus 4.8 rewrote the codec and blew out all competitors'

Re: FFmpeg 9.1's new AAC encoder

#126
post #38

Earlier quoted context omitted.

I think the biggest issue with Opus is the problem with its specification being lacking, see: https://nothings.org/stb/stb_opus.html This essentially causes opus to never be used in games or in things in stores that may have issues with specific licenses.

That’s going a bit far. I’m in the games industry and have used opus regularly, it’s a great codec for games, often the hardware decoding is so restricted that we’re using software regardless so we might as well use something like opus. The licensing restriction is unfortunate, but only restrictive for those with very specific goals, under normal conditions BSD is a wonderful license for game devs since you’re free t…

The game doesn’t have to be publicly licensed, the issue is for a library used by this game - or their engine. This remark is what blocks anyone from Valve making their own opus compatible library to use on their engines and supported libraries from what I could tell.

Re: FFmpeg 9.1's new AAC encoder

#127

Man what a showcase for Opus this is. Don't get me wrong, this sort of thing is a valuable exercise and we are better off with better encoders for these older codecs. But look at the numbers for Opus on this benchmark. It simply blows all the AAC encoders out of the water even at 64 kbps.

Definitely thought you meant claude opus but now from reading a couple other comments it sounds like you mean something else called opus?

The open source codec opus https://opus-codec.org/comparison/

Re: FFmpeg 9.1's new AAC encoder

#128

Man what a showcase for Opus this is. Don't get me wrong, this sort of thing is a valuable exercise and we are better off with better encoders for these older codecs. But look at the numbers for Opus on this benchmark. It simply blows all the AAC encoders out of the water even at 64 kbps.

Definitely thought you meant claude opus but now from reading a couple other comments it sounds like you mean something else called opus?

https://opus-codec.org/

Been around a lot longer than Claude Opus.

Re: FFmpeg 9.1's new AAC encoder

#129

Earlier quoted context omitted.

On a microcontroller doing nothing else sure. But on a phone, a tablet, a laptop, you absolutely want hardware decode to preserve your battery life.

That's their point though. Basically no modern phone/laptop/tablet other than Apple offloads audio decoding (of any codec) to hardware. You can check this on Android phones by installing the Codec Info app.

Snapdragon chips do (used in many/most androids), Samsung own exynos also does iirc.

If the OS/platform doesn't use it that could be another thing, but those chips do offer audio coded decoding, including aac

Re: FFmpeg 9.1's new AAC encoder

#130

Earlier quoted context omitted.

Sample accurate editing is with AAC is a pain though. Especially if you also have video, because frame rates are usually incompatible. If you want flexibility without fully transcoding both audio and video, Opus is your friend

Editing with any playback-only format like AAC or H.264/5 is a pain. Everyone I've seen complaining about slow choppy playback in DaVinci Resolve appears to be using long-GOP codecs which require a massive amount of processing to decode. It's something like playing out two seconds of video to access every single frame.

[deleted]
Post reply on HN