[FFmpeg-cvslog] avisynth: update documentation about the avisynth_c.h header
Stephen Hutchinson
git at videolan.org
Tue Mar 24 12:04:32 CET 2015
ffmpeg | branch: master | Stephen Hutchinson <qyot27 at gmail.com> | Thu Mar 12 22:52:30 2015 -0400| [1188119624e42c1b2ce5be6137d2e6c6f4f03328] | committer: Luca Barbato
avisynth: update documentation about the avisynth_c.h header
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1188119624e42c1b2ce5be6137d2e6c6f4f03328
---
doc/general.texi | 25 +++++++++++++++----------
libavformat/avisynth.c | 11 +----------
2 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/doc/general.texi b/doc/general.texi
index 3ea8e60..3fa4377 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -145,20 +145,25 @@ enable it.
@section AviSynth
Libav 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 Libav.
-Once you have the appropriate header, pass @code{--enable-avisynth} to
-configure to enable AviSynth support.
+suitable @file{avisynth_c.h} header to compile against. The header as
+provided by AviSynth+ is fully compatible. AviSynth 2.5 is not supported
+by Libav. Once you have the appropriate header, pass
+ at 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
- at url{https://github.com/qyot27/avisynth_headers, temporary repository}
-along with an installation routine.
+ at url{https://github.com/AviSynth/AviSynthPlus, AviSynth+'s git repository}
+provides a GNU-style Makefile which can install just the headers using
+ at code{make install PREFIX=/install/prefix}.
+
+ at float NOTE
+When using AviSynth+'s installed headers, the user must also pass
+the avisynth/ include directory to @code{--extra-cflags}. For example,
+if the PREFIX given to AviSynth+'s Makefile was /usr/i686-w64-mingw32,
+then the correct command would be
+ at code{--extra-cflags="-I/usr/i686-w64-mingw32/include/avisynth"}.
+ at end float
For Linux and OS X, the supported AviSynth variant is
@url{https://github.com/avxsynth/avxsynth, AvxSynth}.
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 604afdd..fb7441c 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -27,16 +27,7 @@
/* Enable function pointer definitions for runtime loading. */
#define AVSC_NO_DECLSPEC
-/* Platform-specific directives for AviSynth vs AvxSynth.
- *
- * avisynth_c.h needs to be the one provided with x264, as
- * the one in AviSynth's CVS hasn't been updated to support
- * 2.6's extra colorspaces. A temporary source of that header,
- * installable from a GNU-style Makefile is available from
- * github.com/qyot27/avisynth_headers -- AvxSynth doesn't
- * require this kind of special treatment because like any
- * standard *nix application, it installs its headers
- * alongside its libs. */
+/* Platform-specific directives for AviSynth vs AvxSynth. */
#ifdef _WIN32
#include <windows.h>
#undef EXTERN_C
More information about the ffmpeg-cvslog
mailing list