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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th August 2013, 03:18   #1  |  Link
abdamon
Registered User
 
Join Date: Jun 2013
Posts: 16
A question about using libaacplus encoder audio and checking it with vlc

I am learning HEAAC recently,and I make some try about it;Here is my problems:
I use libaacplus encode a audio,and check it with vlc;when I check the audio which is already encoded,the version of the audio is AAC+SBR V2;but when I check the audio that is encoding through the code stream,the version of the audio is AAC+SBR;
It is surprise that they are not the same!and i use logs to check what is different when the libaacplus encoding the audio.and the logs shows they are the same.
Could you help to tell me why they are different?thanks very much.
abdamon is offline   Reply With Quote
Old 12th August 2013, 04:09   #2  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Probably depends on bitrate and number of audio channels.
kieranrk is offline   Reply With Quote
Old 12th August 2013, 06:55   #3  |  Link
abdamon
Registered User
 
Join Date: Jun 2013
Posts: 16
reply

Quote:
Originally Posted by kieranrk View Post
Probably depends on bitrate and number of audio channels.
their bitrate are 32K.

before the bitrate judgement(if(nchannelsout==2 && bitrate<44001 && bitrate>16000)):
bitrate=32000,samplerate=48000,nchannelsout=2,useParamtricStereo=0;

after the bitrate judgement:
bitrate=32000,samplerate=48000,nchannelsout=1,useParamtricStereo=1;

during the process of two check ways,both audio channels and useParametricStereo are the same;
abdamon is offline   Reply With Quote
Old 12th August 2013, 06:58   #4  |  Link
abdamon
Registered User
 
Join Date: Jun 2013
Posts: 16
but all the samplerate turn to 24000 while encoding;
abdamon is offline   Reply With Quote
Old 12th August 2013, 07:10   #5  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,368
Quote:
Originally Posted by abdamon View Post
but all the samplerate turn to 24000 while encoding;
That would be SBR, it only codes half the sample rate and the SBR decoder can then restore the full sample rate.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 12th August 2013, 07:20   #6  |  Link
abdamon
Registered User
 
Join Date: Jun 2013
Posts: 16
reply

Quote:
Originally Posted by nevcairiel View Post
That would be SBR, it only codes half the sample rate and the SBR decoder can then restore the full sample rate.
Thanks for you to help me.
But the parametric Stereo is irrelevant to SBR,All audio who's bitrate lower than 96K will be encoded with SBR;and those bitrate lower than 44k will plus Parametric Stereo.
abdamon is offline   Reply With Quote
Reply

Tags
aac, audio encoding, heaac, libaacplus, vlc

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 04:46.


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