Kieran Kunhya
95d5246454
lavc: Add option to encode MPEG-2 AAC with libfdk-aac
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Anton Khirnov
f073b1500e
lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruft
12 years ago
James Zern
bcaf64b605
normalize calls to ff_alloc_packet2
...
- check ret < 0
- remove excessive error log
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
c177f2ec4a
libfdk-aacenc: Actually check for upper bounds of cutoff
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
375ef6528c
libfdk-aacenc: Actually check for upper bounds of cutoff
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Michael Niedermayer
1d7ffd06e4
lavc: Fix assignments in if() when calling ff_af_queue_add
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
9302ad1ac8
libfdk-aacenc: Fix assignments in if()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
511cf612ac
miscellaneous typo fixes
12 years ago
Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Martin Storsjö
375bff7084
libfdk-aac: Allow setting VBR modes via a private option
...
This avoids using the global_quality field and QSCALE flag for
passing the VBR modes, since the value range of the global_quality
field doesn't really map cleanly to this codec's VBR modes.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
a10190dcd8
libfdk-aac: Warn the user that the VBR modes are unsupported
...
These modes were not originally exposed by the library at all.
In practice, only a few of them work for each sample rate/profile
combination, and they don't work at all for the more uncommon
sample rates.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Nathan Caldwell
c8ba8be27e
libfdk-aac: reindent after last commit
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Nathan Caldwell
94a69dee64
libfdk-aac: Limit to supported sample rates.
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Kieran Kunhya
160a27c590
libfdk-aacenc: add LATM/LOAS encapsulation support
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mohammad Alsaleh
c37c383e59
libfdk-aac: Check if cutoff value is valid
...
Passing a cutoff value < sample_rate/256 will cause a crash.
Also, values >20000 will have no effect and 20000 will be used anyway.
Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Paul B Mahol
a8f6df8a4f
libfdk-aacenc: remove redundant log message if ff_alloc_packet2 fails
...
The whole point of ff_alloc_packet2 is to not bloat code with
duplicated error messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Derek Buitenhuis
7ff318e2dd
libfdk-aac: Port to ff_alloc_packet2
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Martin Storsjö
7548831c5e
libfdk-aac: Allow setting the encoder bandwidth/cutoff frequency
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
37eeb5e273
Support AAC encoding via the external library fdk-aac
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago