1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: Add section about AviSynth support

Conflicts:
	doc/general.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-11 21:19:46 +01:00
commit 50a3c82302

View File

@ -162,6 +162,40 @@ libzvbi is licensed under the GNU General Public License Version 2 or later
you must upgrade FFmpeg's license to GPL in order to use it.
@end float
@section AviSynth
FFmpeg can read AviSynth scripts as input. To enable support you need a
suitable @file{avisynth_c.h} header to compile against. The header in
classic AviSynth's CVS repository is not compatible as it has not been
updated to support AviSynth 2.6. AviSynth 2.5 is not supported by FFmpeg.
Once you have the appropriate header, pass @code{--enable-avisynth} to
configure to enable AviSynth support.
For Windows, supported AviSynth variants are
@url{http://avisynth.nl, AviSynth 2.6} for 32-bit builds and
@url{http://avs-plus.net, AviSynth+ 0.1} for 32-bit and 64-bit builds.
The necessary @file{avisynth_c.h} header is the variant in the @file{extras/}
directory of the @url{https://www.videolan.org/developers/x264.html, x264}
source tree. For convenience, this header is also available from a
@url{https://github.com/qyot27/avisynth_headers, temporary repository}
along with an installation routine.
For Linux and OS X, the supported AviSynth variant is
@url{https://github.com/avxsynth/avxsynth, AvxSynth}.
@file{avxsynth_c.h} is installed as part of the normal
build routine, as illustrated on
@url{https://github.com/avxsynth/avxsynth/wiki/System-Setup, AvxSynth's wiki}.
(the instructions for compiling its prerequisites are outdated, as FFMS 2.18
or higher is now needed; the list of dependencies to be downloaded from the
repositories is still the same, though).
@float NOTE
AviSynth and AvxSynth are loaded dynamically. Distributors can build FFmpeg
with @code{--enable-avisynth}, and the binaries will work regardless of the
end user having AviSynth or AvxSynth installed - they'll only need to be
installed to use AviSynth scripts (obviously).
@end float
@chapter Supported File Formats, Codecs or Features