diff options
author | wm4 <wm4@nowhere> | 2014-04-12 17:51:19 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-12 19:31:50 +0200 |
commit | 33f822b7154b8035984bd41607c0c2b1edd0c9fa (patch) | |
tree | 7392f47dd082c1eb51f29c7fac9c5a62ceda6b04 /old-configure | |
parent | 839c3ae64b184ba9d37621507d74cb6052582d0b (diff) | |
download | mpv-33f822b7154b8035984bd41607c0c2b1edd0c9fa.tar.bz2 mpv-33f822b7154b8035984bd41607c0c2b1edd0c9fa.tar.xz |
video: add VapourSynth filter bridge
Mainly meant to apply simple VapourSynth filters to video at runtime.
This has various restrictions, which are listed in the manpage.
Additionally, this actually copies video frames when converting frame
references from mpv to VapourSynth, and a second time when going from
VapourSynth to mpv. This is inefficient and could probably be easily
improved. But for now, this is simpler, and in fact I'm not sure if
we even can references VapourSynth frames after the core has been
destroyed.
Diffstat (limited to 'old-configure')
-rwxr-xr-x | old-configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/old-configure b/old-configure index d8e675b7dc..cf267f2e05 100755 --- a/old-configure +++ b/old-configure @@ -327,6 +327,7 @@ Optional features: --disable-libpostproc disable postprocess filter (vf_pp) [autodetect] --disable-libavdevice disable libavdevice demuxers [autodetect] --disable-libavfilter disable libavfilter [autodetect] + --disable-vapoursynth disable VapourSynth filter bridge [autodetect] Codecs: --enable-jpeg enable JPEG input/output support [autodetect] @@ -451,6 +452,7 @@ _bluray=auto _dvdread=auto _dvdnav=auto _lcms2=auto +_vapoursynth=auto _xinerama=auto _vm=auto _xf86keysym=auto @@ -639,6 +641,8 @@ for ac_option do --disable-dvdnav) _dvdnav=no ;; --enable-lcms2) _lcms2=yes ;; --disable-lcms2) _lcms2=no ;; + --enable-vapoursynth) _vapoursynth=yes ;; + --dsiable-vapoursynth)_vapoursynth=no ;; --enable-xinerama) _xinerama=yes ;; --disable-xinerama) _xinerama=no ;; --enable-vm) _vm=yes ;; @@ -2648,6 +2652,21 @@ fi echores "$_lcms2" +echocheck "VapurSynth support" +if test "$_vapoursynth" = auto ; then + _vapoursynth=no + if pkg_config_add 'vapoursynth >= 23 vapoursynth-script >= 23' ; then + _vapoursynth=yes + fi +fi +if test "$_vapoursynth" = yes ; then + def_vapoursynth="#define HAVE_VAPOURSYNTH 1" +else + def_vapoursynth="#define HAVE_VAPOURSYNTH 0" +fi +echores "$_vapoursynth" + + all_libav_libs="libavutil >= 52.48.101:libavcodec >= 55.34.1:libavformat >= 55.12.0:libswscale >= 2.1.2" echocheck "Libav ($all_libav_libs)" if test "$ffmpeg" = auto ; then @@ -3213,6 +3232,7 @@ DUMMY_OSD = $_dummy_osd LIBBLURAY = $_bluray LIBBS2B = $_libbs2b LCMS2 = $_lcms2 +VAPOURSYNTH = $_vapoursynth LUA = $lua LIBPOSTPROC = $libpostproc LIBAVDEVICE = $libavdevice @@ -3400,6 +3420,7 @@ $def_libquvi9 $def_libguess $def_lcms2 +$def_vapoursynth $def_lua |