Commit Graph

102 Commits

Author SHA1 Message Date
nu774 11f6ac1665 add support for recent apple channel layout tags 2024-05-06 00:45:37 +09:00
nu774 f95566ee8e update help message regarding vbr mode 2023-03-14 00:24:51 +09:00
nu774 22dbf72491 fixes https://github.com/nu774/fdkaac/issues/55 2023-02-15 20:56:33 +09:00
nu774 0ce71d066a extrapolater: don't return more samples than required
fixes https://github.com/nu774/fdkaac/issues/54
2022-08-04 21:11:53 +09:00
nu774 ecddb7d633 wav/caf parser: add format checks
fixes https://github.com/nu774/fdkaac/issues/54
2022-08-04 21:06:10 +09:00
nu774 4ec1422bd9 wav/caf parser: ensure fmt/desc chunk
fixes https://github.com/nu774/fdkaac/issues/52
2022-07-13 20:56:49 +09:00
nu774 9d65d3b3bf m4af: fix mvhd/tkhd duration
According to 14496-12, duration of mvhd/tkhd shall be the sum of
duration of edits
2021-04-23 22:53:46 +09:00
nu774 c0919b049a fix indent 2019-09-27 21:05:12 +09:00
Dima 353e4fcd7a process 32-bit input if possible (i.e. respect aac:INT_PCM type)
switch AAC-FDK from pcm16 to pcm32:
    typedef LONG INT_PCM;
    #define SAMPLE_BITS 32
2019-09-27 12:10:30 +03:00
tico-tico 65ee26fb61 don't inject timestamp 2018-12-10 14:59:48 +03:00
nu774 836367a7fe Fix LD/ELD issue: priming samples are too short to be discarded
When discarded, cannot reconstruct the beginning.
Now we changed to activate smartpadding only for LC/HE/HEv2.
(padding is not nice for low delay codec anyway)

LD and ELD are two short
2018-09-04 01:30:08 +09:00
nu774 ca65cffdd3 FDKv2 API change: encoderDelay -> nDelay/nDelayCore 2018-09-03 22:59:24 +09:00
nu774 3f7b6abd20 fix: -L option was not working (resulted in segfault) 2018-09-03 20:25:28 +09:00
nu774 4682fe4961 address issue#26
try to link with libcharset when locale_charset() is not present in
libiconv
2017-01-16 15:20:09 +09:00
nu774 c8cc3fb57e Ticket #23: quit supporting MPEG-2 AOT
Macro definitions for those AOT have gone from FDK_audio.h
2016-08-26 21:19:03 +09:00
nu774 622e065bd8 fix libfdkaac encoder version check for SBR_RATIO availability 2016-08-25 21:22:33 +09:00
nu774 cf200f9563 Use our SBR signaling implementation on old libfdkaac 2016-08-25 21:02:41 +09:00
nu774 17799e39b9 fix indents 2015-09-21 15:24:02 +09:00
nu774 19a6b7f10c update compat layer, mainly for MSVC14 issue 2015-09-21 15:19:15 +09:00
nu774 e403976bf6 fix build issue on MSVC14 2015-07-22 22:14:00 +09:00
nu774 4080ab21e6 remove an unused variable decl 2015-06-12 21:07:59 +09:00
nu774 be991a6abe remove an unused variable decl 2015-06-12 21:06:45 +09:00
nu774 4c9167c1cb m4af: move internal struct m4af_itmf_entry_t from header 2015-06-12 21:04:49 +09:00
nu774 1703d1f8cf take stco->co64 switch due to mdat relocation into account on finalizing m4a 2015-02-14 19:32:00 +09:00
nu774 4140443408 fix incorrect iTunSMPB written when interrupted by signals 2015-02-14 19:31:59 +09:00
nu774 fcfed4cd0c write actual number of channels to mp4a box 2014-09-12 21:34:37 +09:00
nu774 b54538f79e apply limiter when input is float 2014-08-13 09:26:26 +09:00
nu774 a7e00a4219 refactor pcm reader framework 2014-08-12 23:43:19 +09:00
nu774 a79a11ef99 win32compat: fix aacenc_printf() not to write junk characters 2014-07-30 14:09:12 +09:00
nu774 57aa91419d fix: CAF chan chunk using channel bitmap was not correctly handled 2014-02-17 13:51:20 +09:00
nu774 209130e887 fix reading of caf file without chan chunk
Since channel map was not initialized, first channel was copied to every
other channel.
2014-01-18 17:41:57 +09:00
nu774 71e4764062 fix to use libFDKAAC signaling mode 1
It turned out that mode 1 is explicit, backward compatible signaling.
We don't have to implement it on our side.
2013-11-08 12:23:52 +09:00
nu774 ed646ccf79 fix gcc warnings 2013-11-03 22:40:26 +09:00
nu774 e1adc17835 add --sbr-ratio to support AACENC_SBR_RATIO appeared on libFDK 3.4.12 2013-11-03 18:09:56 +09:00
nu774 3c0f152d39 support 7.1 channel mode added on FDK 3.4.12 2013-11-03 18:08:46 +09:00
nu774 3de0e22dcc use tell() to obtain data chunk offset 2013-10-30 14:27:28 +09:00
nu774 d533c8e002 rename aacenc_result_t -> aacenc_frame_t, simplify write_sample() 2013-10-30 11:58:30 +09:00
nu774 c5eec15549 prepend 1 sample zero padding in case of SBR and enc_delay is odd
This is required because odd enc_delay cannot be exactly expressed in
downsampled scale, and HE-AACv2 FDK encoder actually has odd enc_delay.
2013-10-30 02:09:23 +09:00
nu774 3b518efd31 cleanup interface of aac_encode_frame() 2013-10-30 02:09:23 +09:00
nu774 556a3db11b add some copyright notice 2013-10-30 02:09:23 +09:00
nu774 4d48b091d4 smart padding for better gapless playback
Taken smart padding code using LPC extrapolation from vorbis/opus.
Padding is done on both beginning and ending, but enc_delay and padding
remains the same (we discard extra padding frame introduced on our side
after encoding).
2013-10-30 02:09:08 +09:00
nu774 d11b044131 fix unused variable warning 2013-10-29 19:36:22 +09:00
nu774 6709cf694c fix warning: cast size_t as sprintf() arg to int 2013-10-29 19:36:22 +09:00
nu774 3aa2787e34 fix pcm_seek() to inline 2013-10-29 19:24:29 +09:00
nu774 be234dc464 add --include-sbr-delay 2013-10-27 22:40:42 +09:00
nu774 c9ac59e8d3 fix help message: show -I as shorthand for --ignorelength 2013-10-27 21:32:42 +09:00
nu774 9b8f9915c2 remove --sbr-signaling
Instead, we always use explicit/backward compatible SBR signaling by
ASC extension in case of m4a, which is not supported by FDK library
(so we do it on our side).
For LOAS, we use explicit hierarchical signaling.
2013-10-27 21:15:12 +09:00
nu774 5ccbfaa710 re-fix #ifdef cond for lrint() 2013-10-26 11:29:30 +09:00
nu774 8f05e0751b tag mapping: add recorded date and tempo, remove performer->artist 2013-10-26 01:38:58 +09:00
nu774 053279541b fix MSVC12 build issue 2013-10-25 17:04:26 +09:00