aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-09 13:43:35 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-12 02:14:44 +0000
commit1bf7bd194bc084309abbdd0b412e70ed1961b851 (patch)
treeef7694034e1bfbec3d64f30515bb8e7e0e4fd303 /configure
parent494b792441622b9a3530b3cdf0a6609228a8945f (diff)
downloadffmpeg-1bf7bd194bc084309abbdd0b412e70ed1961b851.tar.gz
avfilter: add ocr filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 7c808c27f3..da18e7008f 100755
--- a/configure
+++ b/configure
@@ -246,6 +246,7 @@ External library support:
--enable-libspeex enable Speex de/encoding via libspeex [no]
--enable-libssh enable SFTP protocol via libssh [no]
--enable-libstagefright-h264 enable H.264 decoding via libstagefright [no]
+ --enable-libtesseract enable Tesseract, needed for ocr filter [no]
--enable-libtheora enable Theora encoding via libtheora [no]
--enable-libtwolame enable MP2 encoding via libtwolame [no]
--enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no]
@@ -1409,6 +1410,7 @@ EXTERNAL_LIBRARY_LIST="
libspeex
libssh
libstagefright_h264
+ libtesseract
libtheora
libtwolame
libutvideo
@@ -2774,6 +2776,7 @@ mptestsrc_filter_deps="gpl"
negate_filter_deps="lut_filter"
perspective_filter_deps="gpl"
pp7_filter_deps="gpl"
+ocr_filter_deps="libtesseract"
ocv_filter_deps="libopencv"
owdenoise_filter_deps="gpl"
pan_filter_deps="swresample"
@@ -5275,6 +5278,7 @@ enabled libspeex && require_pkg_config speex speex/speex.h speex_decode
enabled libstagefright_h264 && require_cpp libstagefright_h264 "binder/ProcessState.h media/stagefright/MetaData.h
media/stagefright/MediaBufferGroup.h media/stagefright/MediaDebug.h media/stagefright/MediaDefs.h
media/stagefright/OMXClient.h media/stagefright/OMXCodec.h" android::OMXClient -lstagefright -lmedia -lutils -lbinder -lgnustl_static
+enabled libtesseract && require_pkg_config tesseract tesseract/capi.h TessBaseAPICreate
enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame &&
{ check_lib twolame.h twolame_encode_buffer_float32_interleaved -ltwolame ||