[Kwiver-users] KWIVER Docker Usage: KWIVER_PLUGIN_PATH

Matt Leotta matt.leotta at kitware.com
Fri Sep 4 12:56:11 EDT 2020


Dave,

That all makes sense to me.  The FFMPEG arrow is now stable and the
preferred way to access video, so it should certainly be enabled by default
if FFMPEG is available.

I think Docker is an increasingly important way of distributing and
integrating KWIVER into other systems.  I'm in favor of more regular builds.

There have been several important bug fixes in KWIVER since the last
release.  I'm thinking we should make a new patch release soon from the
release branch.  I would argue that missing FFMPEG in Docker is a bug that
we should back port to the release branch so that the next release of
KWIVER has working tools.

--Matt

On Fri, Sep 4, 2020 at 12:45 PM David Stoup <david.stoup at kitware.com> wrote:

> I think you're right Matt, we should update the Docker images. Also,
> FFmpeg is one of the few arrows that doesn't enable automatically when the
> package is found. I always need to explicitly turn that one on. I would
> argue that for consistency, that should be fixed as well.
>
> I don't know that anyone is responsible/tasked for updating Docker
> containers per se, but Taylor has often done it for releases. We might
> consider a nightly 'master' flavor that gets pushed from a successful
> nightly dashboard run. I can look into making that happen as well if it
> makes sense to you.
>
> On Fri, Sep 4, 2020 at 11:07 AM Matt Leotta via Kwiver-users <
> kwiver-users at public.kitware.com> wrote:
>
>> Bane,
>>
>> Based on the fact that your error message is showing a list of alternate
>> implementations, and "ffmpeg" is not in the list, I would say that the
>> environment is probably set correctly.  Other plugins are being found.  The
>> problem is mostly likely that the ffmpeg arrow is missing for some reason.
>>
>> Can anyone who knows more about the Docker container comment on this?  It
>> looks like maybe FFMPEG was only enabled in the Dockerfile in a commit that
>> was merged to master a month ago.  Who is responsible for updating the
>> Docker build?  Maybe we just need to rebuild it.
>>
>> --Matt
>>
>> On Fri, Sep 4, 2020 at 10:51 AM Bane Sullivan via Kwiver-users <
>> kwiver-users at public.kitware.com> wrote:
>>
>>> Hi all, I am attempting to use the KWIVER Docker image published here
>>> <https://hub.docker.com/r/kitware/kwiver/tags> to extract KLV meta data
>>> from the public VIRAT FMV data set hosted here
>>> <https://data.kitware.com/#collection/56f56db28d777f753209ba9f/folder/56f57fa48d777f753209c713>.
>>> I’m attempting to use the `kwiver dump-klv` command line tool with these
>>> videos but I am running into an issue where the ffmpeg video reader plugin
>>> isn’t found.
>>>
>>> Does anyone have tips on how to configure this Docker image so that
>>> `KWIVER_PLUGIN_PATH` is set and ffmpeg is available? Perhaps there is
>>> larger issue with the Docker image since `KWIVER_PLUGIN_PATH` is not set
>>> and `kwiver/build/bin` is not in the PATH on start?
>>>
>>> Here is the error I get when running `kwiver dump-klv
>>> 09152008flight2tape1_1.mpg” (the first video
>>> <https://data.kitware.com/#item/56f57fa48d777f753209c714> in that data
>>> folder):
>>>
>>> INFO: Could not load default logger factory. Using built-in logger.
>>>
>>> 2020-09-04 14:33:28.58 WARN registration.cxx(123): Ignore Python
>>> Exception:
>>>
>>> 2020-09-04 14:33:28.58 WARN registration.cxx(123): ModuleNotFoundError:
>>> No module named 'vital'
>>>
>>> 2020-09-04 14:33:28.136 WARN registration.cxx(123): Ignore Python
>>> Exception:
>>>
>>> 2020-09-04 14:33:28.136 WARN registration.cxx(123): ModuleNotFoundError:
>>> No module named 'vital'
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(189): Could not find
>>> implementation "ffmpeg" for "video_input"
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Implementation 'ffmpeg'
>>> for algorithm type video_reader:type could not be found.
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): Make sure
>>> KWIVER_PLUGIN_PATH is set correctly. Available implementations are:
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): vidl_ffmpeg
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): filter
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): image_list
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): pos
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): splice
>>>
>>> 2020-09-04 14:33:28.139 WARN algorithm.cxx(250): split
>>>
>>> Invalid video_reader config
>>>
>>>
>>> *Bane Sullivan*
>>> *R&D Engineer*
>>> *Kitware Inc.*
>>> *https://www.kitware.com/bane-sullivan/*
>>> <https://www.kitware.com/bane-sullivan/>
>>> _______________________________________________
>>> Kwiver-users mailing list
>>> Kwiver-users at public.kitware.com
>>> https://public.kitware.com/mailman/listinfo/kwiver-users
>>>
>> _______________________________________________
>> Kwiver-users mailing list
>> Kwiver-users at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/kwiver-users
>>
>
>
> --
> David Stoup
> Principal Engineer
>
> Kitware, Inc.
>
> 1712 Route 9, Suite 300
> Clifton Park, NY 12065-3104
> 518-881-4949 (W)
> 518-312-3946 (M)
> 518-371-4573 (F)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/kwiver-users/attachments/20200904/e69321f7/attachment-0001.htm>


More information about the Kwiver-users mailing list