Justin Ruggles
a903f8f087
Include libavutil/channel_layout.h instead of libavutil/audioconvert.h
...
Also reorder some other #include when applicable.
12 years ago
Dmitry Samonenko
f1c6a740fc
libspeexenc: Updated commentary to reflect recent changes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Dmitry Samonenko
978d5bd2a7
libspeexenc: Add an option for enabling DTX
...
Discontinuous transmission is an addition to VAD/VBR operation, that
allows to greatly reduce bitrate for silent chunks or stationary
noises.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Dmitry Samonenko
ad11681acd
libspeex: Add a private option for enabling VAD
...
Speex detects non-speech periods and encodes them with just enough bits
to reproduce the background noise, aka ``comfort noise generation''.
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ö
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
Anton Khirnov
9ee3334840
libspeexenc: add supported sample rates and channel layouts.
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Justin Ruggles
b03dcf07f6
libspeex: use AVCodec.encode2()
13 years ago
Justin Ruggles
ca300d938b
libspeexenc: export encoder delay through AVCodecContext.delay
13 years ago
Justin Ruggles
91a28b0e8e
avcodec: add ff_samples_to_time_base() convenience function to internal.h
13 years ago
Justin Ruggles
2c577155a7
libspeexenc: use AVSampleFormat instead of deprecated/removed SampleFormat
...
Fixes build with --enable-libspeex
13 years ago
Justin Ruggles
9785082c15
libspeexenc: fix pts calculations for more than 1 frame per packet
13 years ago
Justin Ruggles
b606a01759
libspeexenc: add libspeex encoder
13 years ago