[FFmpeg-user] Installing the ocv filter
Moritz Barsnick
barsnick at gmx.net
Thu Jul 25 11:03:46 EEST 2019
On Thu, Jul 25, 2019 at 03:34:59 -0400, Ted Park wrote:
> > 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.
Interestingly, the Ubuntu build is apparently built with
"—enable-libopencv", but they managed not to get the "ocv" filter in.
> > 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.
And the development package as well (so perhaps libopencv-dev and
libopencv-core-dev).
Moritz
More information about the ffmpeg-user
mailing list