Skip to content

qaac 2.85 failed on encoding flac/wav with a sample rate of 96000Hz to HE-AAC (AudioConverterFillComplexBuffer returns -50) #120

@ssh-buanshishi

Description

@ssh-buanshishi

OS:Windows 10.0.19045.2486
All binary files are in 64bit.

`D:\test>qaac --check
qaac 2.85, CoreAudioToolbox 7.10.9.0
libsoxconvolver 0.1.0
libsoxr-0.1.3
libFLAC 1.4.3

D:\test>qaac --he "【96kHz、24bit】.flac"
qaac 2.85, CoreAudioToolbox 7.10.9.0

【96kHz、24bit】.m4a
AAC-HE Encoder, CVBR 320kbps, Quality 96

ERROR: AudioConverterFillComplexBuffer(m_converter, staticInputDataProc, this, &npackets, abl, aspd): -50

D:\test>qaac --adts --he "【96kHz、24bit】.flac"
qaac 2.85, CoreAudioToolbox 7.10.9.0

【96kHz、24bit】.aac
AAC-HE Encoder, CVBR 320kbps, Quality 96

ERROR: AudioConverterFillComplexBuffer(m_converter, staticInputDataProc, this, &npackets, abl, aspd): -50

D:\test>qaac --adts --he "【96kHz、24bit】.wav"
qaac 2.85, CoreAudioToolbox 7.10.9.0

【96kHz、24bit】.aac
AAC-HE Encoder, CVBR 320kbps, Quality 96

ERROR: AudioConverterFillComplexBuffer(m_converter, staticInputDataProc, this, &npackets, abl, aspd): -50

D:\test>qaac --he "【96kHz、24bit】.wav"
qaac 2.85, CoreAudioToolbox 7.10.9.0

【96kHz、24bit】.m4a
AAC-HE Encoder, CVBR 320kbps, Quality 96

ERROR: AudioConverterFillComplexBuffer(m_converter, staticInputDataProc, this, &npackets, abl, aspd): -50

D:\test>`

`General
Complete name : D:\test\【96kHz、24bit】.flac
Format : FLAC
Format/Info : Free Lossless Audio Codec
File size : 101 MiB
Duration : 4 min 17 s
Overall bit rate mode : Variable
Overall bit rate : 3 303 kb/s
Writing application : Lavf61.7.100

Audio
Format : FLAC
Format/Info : Free Lossless Audio Codec
Duration : 4 min 17 s
Bit rate mode : Variable
Bit rate : 3 303 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 96.0 kHz
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 101 MiB (100%)
Writing library : Lavf61.7.100
MD5 of the unencoded conten : C86B92784FE67E092466BBCC78779960`

`General
Complete name : D:\test\【96kHz、24bit】.wav
Format : Wave
Format settings : WaveFormatExtensible
File size : 141 MiB
Duration : 4 min 17 s
Overall bit rate mode : Constant
Overall bit rate : 4 608 kb/s

Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 00000001-0000-0010-8000-00AA00389B71
Duration : 4 min 17 s
Bit rate mode : Constant
Bit rate : 4 608 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 96.0 kHz
Bit depth : 24 bits
Stream size : 141 MiB (100%)`

I also tried two other flac file with “44.1kHz、16bit” and "48kHz、24bit", they works fine with "HE-AAC" output mode (both "adts" and "m4a" output mode) and no problem occurred.
It seems that audio files which have a samlpe rate below 96000Hz are not affected by this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions