Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th November 2008, 01:18   #1  |  Link
David1105
Registered User
 
Join Date: Nov 2006
Posts: 116
AAC audio and bitrate

Is it possible at all for an AAC audio file to be of Constant Bit Rate (CBR), instead of VBR or ABR? Reading info from various sources inidcates different things to me so far...

Why MediaInfo always displays output AAC audio file as VBR if using FFMPEG with libfaac codec?

If possible at all for to config libfaac to output CBR? Or does anyone have a build of libfaac codec which support CBR?

Last edited by David1105; 7th November 2008 at 01:21.
David1105 is offline   Reply With Quote
Old 7th November 2008, 01:31   #2  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by David1105 View Post
Is it possible at all for an AAC audio file to be of Constant Bit Rate (CBR), instead of VBR or ABR? Reading info from various sources inidcates different things to me so far...

Why MediaInfo always displays output AAC audio file as VBR if using FFMPEG with libfaac codec?

If possible at all for to config libfaac to output CBR? Or does anyone have a build of libfaac codec which support CBR?
Yes, it is possible for AAC to use CBR mode. Not all encoders support CBR mode though. One of which supports it is neroAacEnc through the -cbr option

MediaInfo displays VBR because FAAC only encodes in VBR. It does not support CBR encodings
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 7th November 2008, 01:51   #3  |  Link
David1105
Registered User
 
Join Date: Nov 2006
Posts: 116
Quote:
Originally Posted by froggy1 View Post
Yes, it is possible for AAC to use CBR mode. Not all encoders support CBR mode though. One of which supports it is neroAacEnc through the -cbr option
I tried also with neroAacEnc with the following

neroaacenc -br 1 -cbr 128000 -if input.wav -of output.m4a

But MediaInfo still says:

Bit rate mode : Variable
Bit rate : 128 Kbps
David1105 is offline   Reply With Quote
Old 7th November 2008, 01:56   #4  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by David1105 View Post
I tried also with neroAacEnc with the following

neroaacenc -br 1 -cbr 128000 -if input.wav -of output.m4a

But MediaInfo still says:

Bit rate mode : Variable
Bit rate : 128 Kbps
it should be neroAacEnc -cbr 128000 -if input.wav -of output.m4a

you cannot mix both -br and -cbr. You can either use quality-based encoding (-q), ABR-based encoding (-br) or CBR-based encoding (-cbr)

if MediaInfo still shows its VBR, then there's something wrong with it
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 7th November 2008, 02:07   #5  |  Link
David1105
Registered User
 
Join Date: Nov 2006
Posts: 116
Quote:
Originally Posted by froggy1 View Post
it should be neroAacEnc -cbr 128000 -if input.wav -of output.m4a

you cannot mix both -br and -cbr. You can either use quality-based encoding (-q), ABR-based encoding (-br) or CBR-based encoding (-cbr)

if MediaInfo still shows its VBR, then there's something wrong with it
I tried without -br again, and MediaInfo displays the same.

Wrong with what? MediaInfo or neroAacEnc?
David1105 is offline   Reply With Quote
Old 7th November 2008, 02:17   #6  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by David1105 View Post
I tried without -br again, and MediaInfo displays the same.

Wrong with what? MediaInfo or neroAacEnc?
MediaInfo
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 8th November 2008, 09:35   #7  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
IIRC cbr in aac is never truly cbr, but vbr with a very small buffer size. The nero guys discussed this on hydrogenaudio.org and if you search there I am sure you can find a good explaination.
nurbs is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.