Hi Sebastian, 2016-09-24 21:56 GMT+02:00 Sebastian Ramacher <sramac...@debian.org>: > Hi > > On 2016-09-07 03:33:38, Bálint Réczey wrote: >> Control: tags -1 confirmed patch >> >> Hi Jan, >> >> 2016-04-25 12:43 GMT+02:00 Jan Gerber <j...@mailb.org>: >> > Package: ffmpeg >> > Version: 7:3.0.1-3 >> > Severity: wishlist >> > >> > Dear Maintainer, >> > >> > FFmpeg 3.0 introduced a new ocr filter that depends on libtesseract. >> > Would be nice to see this enabled in Debian. >> >> I have prepared a patch which may be enough. >> It needs testing however. Sebastian, what do you think? > > I'm not a huge fan of adding more -extra flavors [1], but the patch looks > okayish. > The dh_auto_build-arch override may need to be updated, though.
It seems to still work well since libavfilter is recompiled properly. The package also works, it performs OCR. I have tested it using the image and script from here: http://ffmpeg-users.933282.n4.nabble.com/How-to-use-ocr-filter-td4672454.html ffprobe -show_entries frame_tags=lavfi.ocr.text -f lavfi -i "movie=img.png,ocr" One also need to install tesseract-ocr-eng to make it work. Pushing the commit to ffmpeg.git. Cheers, Balint