Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Croaking sound after encoding. #45

Open
VicLo2020 opened this issue Feb 14, 2022 · 0 comments
Open

Croaking sound after encoding. #45

VicLo2020 opened this issue Feb 14, 2022 · 0 comments

Comments

@VicLo2020
Copy link

VicLo2020 commented Feb 14, 2022

Hello.
I am using libfaac.dll version 1.29.
Input data:
44100 Hz 16 bit stereo.
calling
faacEncOpen(44100, 2, &inputSamples, &maxOutputBytes);

Encoder setting:
faacEncConfiguration c = (faacEncConfiguration)cfg;
c.inputFormat = FAAC_INPUT.I_16BIT;
c.bitRate = 128000 / 2; // 128000
c.outputFormat = FAAC_OUTPUT.ADTS;
c.useLfe = 0;
c.aacObjectType = AAC_object_type.LOW;
c.bandWidth = 44100 / 2;
After encoding and writing to a data file, a "croak" sound is obtained.
https://disk.yandex.ru/d/1nyV0gmklqHMAw
Please tell me what am I doing wrong?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant