[FFmpeg-user] Installing the ocv filter

Ted Park kumowoon1025 at gmail.com
Thu Jul 25 10:34:59 EEST 2019


> I want to use the ocv filer for ffmpeg. The documentation says:
> 
> "To enable this filter, install the libopencv library and headers and configure FFmpeg with --enable-libopencv .”

Do what the documentation says?

> I use ffmpeg from Ubuntu repos. 

You need to “configure FFmpeg with —enable-libopencv” after installing the library, then compile yourself, or find a ffmpeg with the library enabled. The ffmpeg from the Ubuntu repo is old.

> $ ffmpeg -filters | grep 'ocv'
> ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers


> How do I make this filter available? What packages should I install in Ubuntu 18.04 (it has many packages called libopencv*) and should I build ffmpeg from source?

Try installing the core library then configuring.



More information about the ffmpeg-user mailing list