No description
Find a file
Avi Halachmi (:avih) 58b81ac621 configure: speed up flatten_extralibs_wrapper()
x50 - x200 faster.

Currently configure spends 50-70% of its runtime inside a single
function: flatten_extralibs[_wrapper] - which does string processing.

During its run, nearly 20K command substitutions (subshells) are used,
including its callees unique() and resolve(), which is the reason
for its lengthy run.

This commit avoids all subshells during its execution, speeding it up
by about two orders of magnitude, and reducing the overall configure
runtime by 50-70% .

resolve() is rewritten to avoid subshells, and in unique() and
flatten_extralibs() we "inline" the filter[_out] functionality.

Note that logically, "unique" functionality has more than one possible
output (depending on which of the recurring items is kept). As it
turns out, other parts expect the last recurring item to be kept
(which was the original behavior of uniqie()). This patch preservs
its output order.

Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Tested-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
Tested-by: Dave Yeo <daveryeo@telus.net>
Tested-by: Reino Wijnsma <rwijnsma@xs4all.nl>
Signed-off-by: James Almer <jamrial@gmail.com>
2018-08-27 11:34:09 -03:00
compat compat: remove in-tree NVidia headers 2018-02-27 16:22:12 +01:00
doc doc/examples/vaapi_transcode: re-licensed to MIT-license. 2018-08-25 22:09:44 +08:00
ffbuild Merge commit '17b6c7efb4' 2017-11-12 01:02:02 -03:00
fftools ffmpeg: simplify refcounting packets for the muxing queue 2018-08-07 18:42:35 -03:00
libavcodec lavc/encode: fix frame_number double-counted 2018-08-27 16:54:40 +08:00
libavdevice avdevice/decklink_enc: print preroll and buffer size 2018-08-24 10:15:32 +05:30
libavfilter lavfi/avf_concat: switch to activate. 2018-08-26 12:16:48 +02:00
libavformat avformat/mpegts: add missing null pointer checks in ff_parse_mpeg2_descriptor() 2018-08-25 21:50:17 +02:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil avutil/encryption_info: Fix size calculation. 2018-08-15 01:33:45 +02:00
libpostproc Bump minor versions after release/4.0 branching 2018-04-16 12:35:12 +02:00
libswresample swresample/swresample: Fix input channel count in resample_first computation 2018-07-26 02:42:42 +02:00
libswscale swscale/swscale : small cosmetic 2018-08-22 11:36:15 +02:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests avformat/movenc: implicitly enable negative CTS offsets for ismv 2018-08-24 21:00:05 +03:00
tools tools/qt-faststart: Allow free atoms after moov atom. 2018-08-01 00:49:54 +02:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore Remove the ffserver program 2018-01-06 18:31:37 +00:00
.travis.yml Merge commit '4809781586' 2017-10-28 15:08:31 -03:00
Changelog avcodec: add Brooktree ProSumer Video decoder 2018-08-24 21:07:01 +02:00
configure configure: speed up flatten_extralibs_wrapper() 2018-08-27 11:34:09 -03:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md INSTALL: add markdown syntax 2014-05-28 22:38:38 +02:00
LICENSE.md Merge commit '4fef648d10' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: add myself to MIPS section 2018-08-08 01:00:10 +02:00
Makefile avcodec/parser: move parsers list and related API to its own file 2018-07-21 16:08:29 -03:00
README.md Remove the ffserver program 2018-01-06 18:31:37 +00:00
RELEASE RELEASE: update for git after 3.4 branchpoint 2017-10-11 02:46:23 +02:00

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.
  • 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.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.