Fork of FFmpeg for xenia's usage. Branched from latest release. On changes use a git rebase strategy when applicable!
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 use a wrapper script to call MS link.exe to avoid mixing with /usr/bin/link.exe 2015-07-24 20:02:32 +02:00
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 x86inc: Drop SECTION_TEXT macro 2015-08-04 20:13:09 +02:00
libavutil Merge commit 'e23f84d9652474353d8bbc42787a56ec1991908f' 2015-08-24 10:40:24 +02:00
libpostproc avutil/x86/asm: rename REG_SP to REG_sp 2015-08-22 02:56:53 +02:00
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 graph2dot: use avfilter_pad_get_name accessor function 2015-08-20 22:38:01 +02:00
.gitattributes
.gitignore doc/examples: rename avio_list_dir -> avio_dir_cmd 2015-08-16 02:16:47 +02:00
arch.mak use mmi instead of loongson3 as simd-optimization flag 2015-07-07 03:46:57 +02:00
Changelog avfilter: add allrgb 2015-08-29 14:57:52 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c 2015-04-28 12:18:23 +02:00
cmdutils.c ffmpeg: replace deprecated av_log_ask_for_sample with av_log 2015-08-12 00:14:13 +02:00
cmdutils.h cmdutils: remove sws_opts usage, simplify code 2015-08-08 16:51:25 +02:00
common.mak Merge commit '3ae0e721c7b6e0483801b9039b3d140e3b68b7f5' 2015-07-22 16:30:37 +02:00
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_dxva2: call GetDesktopWindow() in place of GetShellWindow() 2015-06-03 16:25:08 +02:00
ffmpeg_filter.c lavfi: fix compilation with FF_API_OLD_FILTER_OPTS=0. 2015-08-18 22:22:49 -04:00
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_vdpau: Ignore decoder's max supported level 2015-08-16 15:02:33 -07:00
ffmpeg_videotoolbox.c avcodec: add new Videotoolbox hwaccel. 2015-08-03 10:12:10 +02:00
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 ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
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 ffprobe: check av_asprintf() for failure 2015-06-13 01:45:27 +02:00
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: Use singlejpeg muxer for jpeg 2015-06-08 03:36:22 +02:00
ffserver.c ffserver: cast PID to int64_t before printing 2015-08-21 15:47:54 +02:00
INSTALL.md
library.mak build: add LDLIBFLAGS 2015-07-08 14:35:02 +02:00
LICENSE.md avfilter/vf_removegrain: add x86 and x86_64 SSE2 functions 2015-07-14 23:50:50 +00:00
MAINTAINERS MAINTAINERS: add myself as an AAC encoder maintainer 2015-08-21 19:44:15 +01:00
Makefile avcodec: add new Videotoolbox hwaccel. 2015-08-03 10:12:10 +02:00
README.md README: add ffserver 2015-02-12 11:59:22 +01:00
RELEASE RELEASE: update to 2.7.git 2015-07-19 17:52:31 -03:00
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.