FFmpeg git repo
Go to file
Rostislav Pehlivanov f3f6c6b928 aacenc_tns: rework coefficient quantization and filter application
This commit reworks the TNS implementation to a hybrid between what
the specifications say, what the decoder does and what's the best
thing to do.

The filter application function was copied from the decoder and
modified such that it applies the inverse AR filter to the
coefficients. The LPC coefficients themselves are fed into the
same quantization expression that the specifications say should
be used however further processing is not done, instead they're
converted to the form that the decoder expects them to be in
and are sent off to the compute_lpc_coeffs function exactly the
way the decoder does. This function does all conversions and will
return the exact coefficients that the decoder will generate, which
are then applied to the coefficients.
Having the exact same coefficients on both the encoder and decoder
is a must since otherwise the entire sfb's over which the filter
is applied will be attenuated.

Despite this major rework, TNS might not work fine on some audio
types at very low bitrates (e.g. sub 90kbps) as it can attenuate
some coefficients too much. Users are advised to experiment with
TNS at higher bitrates if they wish to use this tool or simply
wait for the implementation to be improved.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2015-09-01 06:44:07 +01:00
compat
doc doc/filters: mention all short names for vectorscope options 2015-08-30 08:35:02 +00:00
libavcodec aacenc_tns: rework coefficient quantization and filter application 2015-09-01 06:44:07 +01:00
libavdevice avdevice/libdc1394: Make dc1394_frame_format and dc1394_frame_rate, static 2015-08-30 13:10:11 +02:00
libavfilter Merge commit 'b1abd2aaf91be249f24cb74db9c205d9e4ca9da6' 2015-08-31 10:07:34 +02:00
libavformat mux: warn if the encoders bitexact flag is set, but not the muxers 2015-08-30 23:30:09 +02:00
libavresample
libavutil Merge commit 'e23f84d9652474353d8bbc42787a56ec1991908f' 2015-08-24 10:40:24 +02:00
libpostproc
libswresample swresample/swresample-test: Make layouts static const 2015-08-30 13:10:11 +02:00
libswscale swscale/utils: If cascaded contexts are used forward sws_setColorspaceDetails() to the first context 2015-08-31 02:00:55 +02:00
presets
tests tests: Renamed pix_fmts wording in ffv1 test target name to match pix_fmt parameter. 2015-08-31 16:14:38 +02:00
tools
.gitattributes
.gitignore
arch.mak
Changelog avfilter: add allrgb 2015-08-29 14:57:52 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c
cmdutils.c
cmdutils.h
common.mak
configure configure: Do not let the webm muxer suggest external libraries. 2015-08-28 06:03:58 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c Put remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE. 2015-08-28 14:40:59 -04:00
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffmpeg.c ffmpeg: force 128k default audio bitrate if nothing is specified and there is no specific default 2015-08-28 23:07:12 +02:00
ffmpeg.h
ffplay.c Put remaining pieces of CODEC_FLAG_EMU_EDGE under FF_API_EMU_EDGE. 2015-08-28 14:40:59 -04:00
ffprobe.c
ffserver_config.c ffserver: use -b instead of -ab for setting audio bitrate. 2015-08-28 14:59:58 -04:00
ffserver_config.h
ffserver.c
INSTALL.md
library.mak
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE
version.sh

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • ffserver is a multimedia streaming server for live broadcasts.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.